Module org.elasticsearch.server
Package org.elasticsearch.index.mapper
Class SeqNoFieldMapper.SequenceIDFields
java.lang.Object
org.elasticsearch.index.mapper.SeqNoFieldMapper.SequenceIDFields
- Enclosing class:
SeqNoFieldMapper
A sequence ID, which is made up of a sequence number (both the searchable
and doc_value version of the field) and the primary term.
-
Method Summary
Modifier and TypeMethodDescriptionvoidaddFields(LuceneDocument document) Build and empty sequence ID who's values can be assigned later by callingset(long, long).voidset(long seqNo, long primaryTerm) Update the values of the_seq_noandprimary_termfields to the specified value.
-
Method Details
-
addFields
-
set
public void set(long seqNo, long primaryTerm) Update the values of the_seq_noandprimary_termfields to the specified value. Called in the engine long after parsing. -
emptySeqID
Build and empty sequence ID who's values can be assigned later by callingset(long, long). -
tombstone
-