public static class Engine.Searcher extends java.lang.Object implements Releasable
Constructor and Description |
---|
Searcher(java.lang.String source,
org.apache.lucene.search.IndexSearcher searcher) |
Modifier and Type | Method and Description |
---|---|
void |
close() |
org.apache.lucene.index.DirectoryReader |
getDirectoryReader() |
org.apache.lucene.index.IndexReader |
reader() |
org.apache.lucene.search.IndexSearcher |
searcher() |
java.lang.String |
source()
The source that caused this searcher to be acquired.
|
public Searcher(java.lang.String source, org.apache.lucene.search.IndexSearcher searcher)
public java.lang.String source()
public org.apache.lucene.index.IndexReader reader()
public org.apache.lucene.index.DirectoryReader getDirectoryReader()
public org.apache.lucene.search.IndexSearcher searcher()
public void close()
close
in interface java.io.Closeable
close
in interface java.lang.AutoCloseable
close
in interface Releasable