Class Lucene62Codec

  • All Implemented Interfaces:
    NamedSPILoader.NamedSPI

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

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

    See Also:
    package documentation for file format details.
    WARNING: This API is experimental and might change in incompatible ways in the next release.
    • Constructor Detail

      • Lucene62Codec

        public Lucene62Codec()
        Instantiates a new codec.
      • Lucene62Codec

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