Class VersionBlockTreeTermsWriter

  • All Implemented Interfaces:
    Closeable, AutoCloseable

    public final class VersionBlockTreeTermsWriter
    extends FieldsConsumer
    This is just like Lucene90BlockTreeTermsWriter, 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.
    WARNING: This API is experimental and might change in incompatible ways in the next release.