elasticsearch - Exclude some characters from asciifolding conversion -
i have setup analyzer asciifolding filter.
this filter replaces letter ç=>c , ñ=>n. need keep original ç , ñ in token.
is there way setup exception in asciifolding filter? if not, can use char_filter asciifolding filter accents , not ç , ñ or there better approach?
i didn't find configuration exceptions in asciifolding, have setup char_filter mappings need , apply in analyzer (without asciifolding):
char_filter: { my_map: { type: "mapping", mappings: [ "á" => "a", "à" => "a" .... ] } }
Comments
Post a Comment