public class PerFieldMappingPostingFormatCodec
extends org.apache.lucene.codecs.lucene60.Lucene60Codec
This postings format is the default
PostingsFormat for Elasticsearch. It utilizes the
MapperService to lookup a PostingsFormat per field. This
allows users to change the low level postings format for individual fields
per index in real time via the mapping API. If no specific postings format is
configured for a specific field the default postings format is used.| Constructor and Description |
|---|
PerFieldMappingPostingFormatCodec(org.apache.lucene.codecs.lucene50.Lucene50StoredFieldsFormat.Mode compressionMode,
MapperService mapperService,
ESLogger logger) |
| Modifier and Type | Method and Description |
|---|---|
org.apache.lucene.codecs.PostingsFormat |
getPostingsFormatForField(java.lang.String field) |
compoundFormat, docValuesFormat, fieldInfosFormat, getDocValuesFormatForField, liveDocsFormat, normsFormat, pointsFormat, postingsFormat, segmentInfoFormat, storedFieldsFormat, termVectorsFormatpublic PerFieldMappingPostingFormatCodec(org.apache.lucene.codecs.lucene50.Lucene50StoredFieldsFormat.Mode compressionMode,
MapperService mapperService,
ESLogger logger)