Package org.elasticsearch.index.engine
Class Engine.SearcherSupplier
org.elasticsearch.index.engine.Engine.SearcherSupplier
- All Implemented Interfaces:
,
,
org.elasticsearch.core.Releasable
- Enclosing class:
- Engine
public abstract static class Engine.SearcherSupplier
extends
implements org.elasticsearch.core.Releasable
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionsource)
protected abstract Engine.Searcher
source)
void
close()
protected abstract void
doClose()
Returns an id associated with this searcher if exists.Methods inherited from class java.lang.
, , , , , , , , , ,
-
Constructor Details
-
SearcherSupplier
-
-
Method Details
-
acquireSearcher
public final source) -
close
public final void close()- Specified by:
in interface
- Specified by:
in interface
- Specified by:
close
in interfaceorg.elasticsearch.core.Releasable
-
doClose
protected abstract void doClose() -
acquireSearcherInternal
protected abstract source) -
getSearcherId
@Nullable public getSearcherId()Returns an id associated with this searcher if exists. Two searchers with the same searcher id must have identical Lucene level indices (i.e., identical segments with same docs using same doc-ids).
-