So, while asciifolding would turn è into e it won’t filter out a single accent like `, right? So how can I get rid of them? For example I want to index O`Learys and be able to search for any variation of olearys, O learys, o`learys.
So, while asciifolding would turn è into e it won’t filter out a single
Share
I don’t think it’s possible to make
O`Learysto match botholearysandO learysat the same time using analyzers, tokenizers or filters that come with elasticsearch. It would require to detect presence of`and indexingO`Learystwice: first as one tokenolearysand then as two tokensolearys. It can be done by writing only with a custom token filter though.As a workaround, you can make both
olearysando`learysto matchO`Learysby removing character`from the input using Mapping Char Filter.