WARNING: Version 1.7 of Elasticsearch has passed its EOL date.
This documentation is no longer being maintained and may be removed. If you are running this version, we strongly advise you to upgrade. For the latest information, see the current release documentation.
Mapping Char Filter
editMapping Char Filter
editA char filter of type mapping
replacing characters of an analyzed text
with given mapping.
Here is a sample configuration:
{ "index" : { "analysis" : { "char_filter" : { "my_mapping" : { "type" : "mapping", "mappings" : ["ph=>f", "qu=>k"] } }, "analyzer" : { "custom_with_char_filter" : { "tokenizer" : "standard", "char_filter" : ["my_mapping"] } } } } }
Otherwise the setting mappings_path
can specify a file where you can
put the list of char mapping :
ph => f qu => k