Class Lucene87Codec

  • All Implemented Interfaces:
    NamedSPILoader.NamedSPI

    public class Lucene87Codec
    extends Codec
    Implements the Lucene 8.6 index format, with configurable per-field postings and docvalues formats.

    If you want to reuse functionality of this codec in another codec, extend FilterCodec.

    WARNING: This API is experimental and might change in incompatible ways in the next release.
    • Constructor Detail

      • Lucene87Codec

        public Lucene87Codec()
        Instantiates a new codec.
      • Lucene87Codec

        public Lucene87Codec​(Lucene87Codec.Mode mode)
        Instantiates a new codec, specifying the compression mode to use.
        Parameters:
        mode - compression mode to use for newly flushed/merged segments.