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

Popular posts from this blog

Why does Ruby on Rails generate add a blank line to the end of a file? -

keyboard - Smiles and long press feature in Android -

node.js - Bad Request - node js ajax post -