Hello,
I am trying to define a pattern/rule in Elasticsearch which creates 2tokens out of 1token with a special character.
Example:
"Servicekaufmann/-frau"
should generate the following 2 tokens:
"Servicekaufmann"
"Servicekauffrau"
The pattern/rule should convert:
"*kaufmann/-frau"
into
"*kaufmann"
"*kauffrau"
so that not only "Servicekaufmann/-frau" would be converted but also other expressions e.g.
"Industrykaufmann/-frau" or in general any other "*kaufmann/-frau".
So far I have tried many different tokenfilters and workarounds but couldn't get the expected output and having right now a hard time (blocker).
Thank you in advance!