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
|
CodecService(Index
|
CodecService(Index
|
| Modifier and Type | Method and Description |
|---|---|
String |
availableCodecs()
Returns all registered available codec names
|
org |
codec(String
|
DocValuesFormatService |
docValuesFormatService()
|
MapperService |
mapperService()
|
PostingsFormatService |
postingsFormatService()
|
index, nodeNamepublic static final StringDEFAULT_CODEC
public CodecService(Indexindex)
public CodecService(Indexindex, @IndexSettings Settings indexSettings)
@Inject public CodecService(Indexindex, @IndexSettings Settings indexSettings, PostingsFormatService postingsFormatService, DocValuesFormatService docValuesFormatService, MapperService mapperService)
public PostingsFormatServicepostingsFormatService()
public DocValuesFormatServicedocValuesFormatService()
public MapperServicemapperService()
public org.apache .lucene .codecs .Codec codec(String name) throws ElasticsearchIllegalArgumentException
public String[] availableCodecs()