Package org.elasticsearch.index.engine
Class Engine.Searcher
java.lang.Object
org.apache.lucene.search.IndexSearcher
org.elasticsearch.index.engine.Engine.Searcher
- All Implemented Interfaces:
Closeable
,AutoCloseable
,org.elasticsearch.core.Releasable
- Enclosing class:
- Engine
public static final class Engine.Searcher
extends org.apache.lucene.search.IndexSearcher
implements org.elasticsearch.core.Releasable
-
Nested Class Summary
Nested classes/interfaces inherited from class org.apache.lucene.search.IndexSearcher
org.apache.lucene.search.IndexSearcher.LeafSlice
-
Field Summary
Fields inherited from class org.apache.lucene.search.IndexSearcher
leafContexts, readerContext
-
Constructor Summary
-
Method Summary
Methods inherited from class org.apache.lucene.search.IndexSearcher
collectionStatistics, count, createWeight, doc, doc, doc, explain, explain, getDefaultQueryCache, getDefaultQueryCachingPolicy, getDefaultSimilarity, getExecutor, getIndexReader, getQueryCache, getQueryCachingPolicy, getSimilarity, getSlices, getTopReaderContext, rewrite, search, search, search, search, search, search, searchAfter, searchAfter, searchAfter, setDefaultQueryCache, setDefaultQueryCachingPolicy, setQueryCache, setQueryCachingPolicy, setSimilarity, slices, termStatistics, termStatistics, toString
-
Constructor Details
-
Searcher
-
-
Method Details
-
source
The source that caused this searcher to be acquired. -
getDirectoryReader
public org.apache.lucene.index.DirectoryReader getDirectoryReader() -
close
public void close()- Specified by:
close
in interfaceAutoCloseable
- Specified by:
close
in interfaceCloseable
- Specified by:
close
in interfaceorg.elasticsearch.core.Releasable
-