I want to use an Elasticsearch's Token filter that act like word_delimiter_graph but split tokens on specific delimiter only (if I am not wrong, default word_delimiter_graph does not allow to use custom delimiters list).
For example, I only want to split tokens on - delimiter only:
i-pod -> [i-pod, i, pod]
i_pod -> [i_pod] (since I only want to split on - only and not any other characters.)
How can I archive that?
Thank you!
I used some parameter type_table.
Tests:
i-pad
Tokens:
i_pad
Tokens: