Class Versions
- java.lang.Object
-
- org.elasticsearch.common.lucene.uid.Versions
-
public final class Versions extends java.lang.Object
-
-
Field Summary
Fields Modifier and Type Field Description static long
MATCH_ANY
used to indicate the write operation should succeed regardless of current versionstatic long
MATCH_DELETED
used to indicate that the write operation should be executed if the document is currently deleted i.e., not found in the index and/or found as deleted (with version) in the version mapstatic long
NOT_FOUND
indicates that the current document was not found in lucene and in the version map
-
Constructor Summary
Constructors Constructor Description Versions()
-
-
-
Field Detail
-
MATCH_ANY
public static final long MATCH_ANY
used to indicate the write operation should succeed regardless of current version- See Also:
- Constant Field Values
-
NOT_FOUND
public static final long NOT_FOUND
indicates that the current document was not found in lucene and in the version map- See Also:
- Constant Field Values
-
MATCH_DELETED
public static final long MATCH_DELETED
used to indicate that the write operation should be executed if the document is currently deleted i.e., not found in the index and/or found as deleted (with version) in the version map- See Also:
- Constant Field Values
-
-