public class CodecService extends AbstractIndexComponent
Codec
capabilities through this CodecService
.Modifier and Type | Field and Description |
---|---|
static String |
BEST_COMPRESSION_CODEC |
static String |
DEFAULT_CODEC |
static String |
LUCENE_DEFAULT_CODEC
the raw unfiltered lucene default.
|
deprecationLogger, index, indexSettings, logger
Constructor and Description |
---|
CodecService(Index index) |
CodecService(Index index,
IndexSettingsService indexSettingsService,
MapperService mapperService) |
CodecService(Index index,
Settings indexSettings) |
Modifier and Type | Method and Description |
---|---|
String[] |
availableCodecs()
Returns all registered available codec names
|
org.apache.lucene.codecs.Codec |
codec(String name) |
MapperService |
mapperService() |
index, indexSettings
public static final String DEFAULT_CODEC
public static final String BEST_COMPRESSION_CODEC
public static final String LUCENE_DEFAULT_CODEC
public CodecService(Index index)
@Inject public CodecService(Index index, IndexSettingsService indexSettingsService, MapperService mapperService)
public MapperService mapperService()
public org.apache.lucene.codecs.Codec codec(String name)
public String[] availableCodecs()
Copyright © 2009–2016. All rights reserved.