Package org.opensearch.common.lucene.uid
Class Versions
java.lang.Object
org.opensearch.common.lucene.uid.Versions
UID versions.
- Opensearch.internal:
-
Field Summary
FieldsModifier and TypeFieldDescriptionstatic final long
used to indicate the write operation should succeed regardless of current versionstatic final 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 final long
indicates that the current document was not found in lucene and in the version map -
Constructor Summary
Constructors -
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:
-
NOT_FOUND
public static final long NOT_FOUNDindicates that the current document was not found in lucene and in the version map- See Also:
-
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:
-
-
Constructor Details
-
Versions
public Versions()
-