Class Versions
java.lang.Object
org.elasticsearch.common.lucene.uid.Versions
-
Field Summary
Modifier and TypeFieldDescriptionstatic long
used to indicate the write operation should succeed regardless of current versionstatic long
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
indicates that the current document was not found in lucene and in the version map -
Constructor Summary
-
Method Summary
-
Field Details
-
MATCH_ANY
public static final long MATCH_ANYused to indicate the write operation should succeed regardless of current version- See Also:
- Constant Field Values
-
NOT_FOUND
public static final long NOT_FOUNDindicates 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_DELETEDused 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
-
-
Constructor Details
-
Versions
public Versions()
-