Class CodecService

java.lang.Object
org.elasticsearch.index.codec.CodecService

public class CodecService extends Object
Since Lucene 4.0 low level index segments are read and written through a codec layer that allows to use use-case specific file formats & data-structures per field. Elasticsearch exposes the full Codec capabilities through this CodecService.
  • Field Details

  • Constructor Details

    • CodecService

      public CodecService(@Nullable MapperService mapperService)
  • Method Details

    • codec

      public org.apache.lucene.codecs.Codec codec(String name)
    • availableCodecs

      public String[] availableCodecs()
      Returns all registered available codec names