Package org.elasticsearch.index.engine
Class InternalEngine.IndexingStrategy
- java.lang.Object
-
- org.elasticsearch.index.engine.InternalEngine.IndexingStrategy
-
- Enclosing class:
- InternalEngine
protected static final class InternalEngine.IndexingStrategy extends java.lang.Object
-
-
Method Summary
Modifier and Type Method Description static InternalEngine.IndexingStrategy
optimizedAppendOnly(long seqNoForIndexing, long versionForIndexing)
static InternalEngine.IndexingStrategy
processButSkipLucene(boolean currentNotFoundOrDeleted, long seqNoForIndexing, long versionForIndexing)
static InternalEngine.IndexingStrategy
skipDueToVersionConflict(VersionConflictEngineException e, boolean currentNotFoundOrDeleted, long currentVersion, long term)
-
-
-
Method Detail
-
optimizedAppendOnly
public static InternalEngine.IndexingStrategy optimizedAppendOnly(long seqNoForIndexing, long versionForIndexing)
-
skipDueToVersionConflict
public static InternalEngine.IndexingStrategy skipDueToVersionConflict(VersionConflictEngineException e, boolean currentNotFoundOrDeleted, long currentVersion, long term)
-
processButSkipLucene
public static InternalEngine.IndexingStrategy processButSkipLucene(boolean currentNotFoundOrDeleted, long seqNoForIndexing, long versionForIndexing)
-
-