Class IDVersionSegmentTermsEnum

java.lang.Object
org.apache.lucene.index.TermsEnum
org.apache.lucene.index.BaseTermsEnum
org.apache.lucene.sandbox.codecs.idversion.IDVersionSegmentTermsEnum
All Implemented Interfaces:
BytesRefIterator

public final class IDVersionSegmentTermsEnum extends BaseTermsEnum
Iterates through terms in this field; this class is public so users can cast it to call seekExact(BytesRef, long) for optimistic-concurrency, and also getVersion() to get the version of the currently seek'd term.