Seeking advice on custom analyzer to catenate word with following letters

I would like catenate two words if one of word is very short, say just 1 letter.

For example, "direct x" to "directx"

I checked word delimiter token filter, but cannot resolve this case.

Any good approaches?

I suspect you would have to either build synonyms for the special cases that you encounter like this one, or build your own token filter (note: it is not easy).

This topic was automatically closed 28 days after the last reply. New replies are no longer allowed.