public class CodecService extends AbstractIndexComponent
Codec
capabilities through this CodecService
.PostingsFormatService
,
DocValuesFormatService
Modifier and Type | Field and Description |
---|---|
static String |
DEFAULT_CODEC |
componentSettings, index, indexSettings, logger
Constructor and Description |
---|
CodecService(Index index) |
CodecService(Index index,
Settings indexSettings) |
CodecService(Index index,
Settings indexSettings,
PostingsFormatService postingsFormatService,
DocValuesFormatService docValuesFormatService,
MapperService mapperService) |
Modifier and Type | Method and Description |
---|---|
String[] |
availableCodecs()
Returns all registered available codec names
|
org.apache.lucene.codecs.Codec |
codec(String name) |
DocValuesFormatService |
docValuesFormatService() |
MapperService |
mapperService() |
PostingsFormatService |
postingsFormatService() |
index, nodeName
public static final String DEFAULT_CODEC
public CodecService(Index index)
public CodecService(Index index, @IndexSettings Settings indexSettings)
@Inject public CodecService(Index index, @IndexSettings Settings indexSettings, PostingsFormatService postingsFormatService, DocValuesFormatService docValuesFormatService, MapperService mapperService)
public PostingsFormatService postingsFormatService()
public DocValuesFormatService docValuesFormatService()
public MapperService mapperService()
public org.apache.lucene.codecs.Codec codec(String name) throws ElasticsearchIllegalArgumentException
public String[] availableCodecs()
Copyright © 2009–2015. All rights reserved.