org.apache.lucene.codecs.blocktreeords

Class OrdsBlockTreeTermsWriter

  • All Implemented Interfaces:
    Closeable, AutoCloseable


    public final class OrdsBlockTreeTermsWriter
    extends FieldsConsumer
    This is just like BlockTreeTermsWriter, except it also stores a version per term, and adds a method to its TermsEnum implementation to seekExact only if the version is >= the specified version. The version is added to the terms index to avoid seeking if no term in the block has a high enough version. The term blocks file is .tiv and the terms index extension is .tipv.