abstract Engine.IndexCommitRef |
Engine.acquireLastIndexCommit(boolean flushFirst) |
Snapshots the most recent index and returns a handle to it.
|
Engine.IndexCommitRef |
InternalEngine.acquireLastIndexCommit(boolean flushFirst) |
|
abstract Engine.IndexCommitRef |
Engine.acquireSafeIndexCommit() |
Snapshots the most recent safe index commit from the engine.
|
Engine.IndexCommitRef |
InternalEngine.acquireSafeIndexCommit() |
|
Engine.Searcher |
Engine.acquireSearcher(String source) |
Returns a new searcher instance.
|
Engine.Searcher |
Engine.acquireSearcher(String source,
Engine.SearcherScope scope) |
Returns a new searcher instance.
|
Engine.CommitId |
Engine.flush() |
Flushes the state of the engine including the transaction log, clearing memory and persisting
documents in the lucene index to disk including a potentially heavy and durable fsync operation.
|
abstract Engine.CommitId |
Engine.flush(boolean force,
boolean waitIfOngoing) |
Flushes the state of the engine including the transaction log, clearing memory.
|
Engine.CommitId |
InternalEngine.flush(boolean force,
boolean waitIfOngoing) |
|
Engine.CommitId |
ReadOnlyEngine.flush(boolean force,
boolean waitIfOngoing) |
|
abstract void |
Engine.forceMerge(boolean flush,
int maxNumSegments,
boolean onlyExpungeDeletes,
boolean upgrade,
boolean upgradeOnlyAncientSegments) |
Triggers a forced merge on this engine
|
void |
InternalEngine.forceMerge(boolean flush,
int maxNumSegments,
boolean onlyExpungeDeletes,
boolean upgrade,
boolean upgradeOnlyAncientSegments) |
|
abstract Engine.GetResult |
Engine.get(Engine.Get get,
BiFunction<String,Engine.SearcherScope,Engine.Searcher> searcherFactory) |
|
Engine.GetResult |
InternalEngine.get(Engine.Get get,
BiFunction<String,Engine.SearcherScope,Engine.Searcher> searcherFactory) |
|
Engine.GetResult |
ReadOnlyEngine.get(Engine.Get get,
BiFunction<String,Engine.SearcherScope,Engine.Searcher> searcherFactory) |
|
protected Engine.GetResult |
Engine.getFromSearcher(Engine.Get get,
BiFunction<String,Engine.SearcherScope,Engine.Searcher> searcherFactory,
Engine.SearcherScope scope) |
|
abstract boolean |
Engine.maybeRefresh(String source) |
Synchronously refreshes the engine for new search operations to reflect the latest
changes unless another thread is already refreshing the engine concurrently.
|
boolean |
InternalEngine.maybeRefresh(String source) |
|
boolean |
ReadOnlyEngine.maybeRefresh(String source) |
|
abstract void |
Engine.refresh(String source) |
Synchronously refreshes the engine for new search operations to reflect the latest
changes.
|
void |
InternalEngine.refresh(String source) |
|
abstract void |
Engine.rollTranslogGeneration() |
Rolls the translog generation and cleans unneeded.
|
void |
InternalEngine.rollTranslogGeneration() |
|
abstract Engine.SyncedFlushResult |
Engine.syncFlush(String syncId,
Engine.CommitId expectedCommitId) |
Attempts to do a special commit where the given syncID is put into the commit data.
|
Engine.SyncedFlushResult |
InternalEngine.syncFlush(String syncId,
Engine.CommitId expectedCommitId) |
|
abstract void |
Engine.trimOperationsFromTranslog(long belowTerm,
long aboveSeqNo) |
Trims translog for terms below belowTerm and seq# above aboveSeqNo
|
void |
InternalEngine.trimOperationsFromTranslog(long belowTerm,
long aboveSeqNo) |
|
abstract void |
Engine.trimUnreferencedTranslogFiles() |
checks and removes translog files that no longer need to be retained.
|
void |
InternalEngine.trimUnreferencedTranslogFiles() |
|
abstract void |
Engine.writeIndexingBuffer() |
Called when our engine is using too much heap and should move buffered indexed/deleted documents to disk.
|
void |
InternalEngine.writeIndexingBuffer() |
|
void |
ReadOnlyEngine.writeIndexingBuffer() |
|