Module org.elasticsearch.server
Package org.elasticsearch.index.engine
package org.elasticsearch.index.engine
-
ClassDescriptionAn
IndexDeletionPolicy
that coordinates between Lucene's commits and the retention of translog generation files, making sure that all translog files that are needed to recover from the Lucene commit are not deleted.a class the returns dynamic information with respect to the last commit point of this shardUtility class to safely shareElasticsearchDirectoryReader
instances across multiple threads, while periodically reopening.A throttling class that can be activated, causing theacquireThrottle
method to block on a lock when throttling is enabledA Lock implementation that always allows the lock to be acquiredtype of operation (index, delete), subclasses use static typesCaptures the result of a refresh operation on the index shard.Base class for index and delete operation results Holds result meta data (e.g.Called for each new opened engine reader to warm new segmentsAn exception indicating that anEngine
creation failed.Simple Engine FactoryThis is a modified version ofSoftDeletesDirectoryReaderWrapper
that materializes the liveDocs bitset lazily.Maps _uid value to its version information.Keeps track of the old map of a LiveVersionMap that gets evacuated on a refreshException indicating that not all requested operations fromLuceneChangesSnapshot
are available.NoOpEngine is an engine implementation that does nothing but the bare minimum required in order to have an engine.A basic read-only engine that allows switching a shard to be true read-only temporarily or permanently.Information about the safe commit, for making decisions about recoveries.AFilterMergePolicy
that interleaves eldest and newest segments picked byMergePolicy.findForcedMerges(org.apache.lucene.index.SegmentInfos, int, java.util.Map<org.apache.lucene.index.SegmentCommitInfo, java.lang.Boolean>, org.apache.lucene.index.MergePolicy.MergeContext)
andMergePolicy.findForcedDeletesMerges(org.apache.lucene.index.SegmentInfos, org.apache.lucene.index.MergePolicy.MergeContext)
.