Each {@link PostingsFormatProvider} must provide a unique name for itspostings format in order to map the postings format to a specific field via the mapping API. The name provided via {@link #name()} is used to lookup thepostings format in {@link PostingsFormatService#get(String)} and should beidentical to the values used in the field mappings.
{@link PostingsFormatProvider} instances are initialized with a{@link Settings} subset below the{@value PostingsFormatProvider#POSTINGS_FORMAT_SETTINGS_PREFIX} prefix andwill only see the sub-tree below their mapping name. For instance a postings format ElasticFantastic will see settings below index.codec.postings_format.elastic_fantastic given that the postings format is exposed via index.codec.postings_format.elastic_fantastic.type : "ElasticFantastic".
@see CodecModule
|
|
|
|