When synonym overlapped with another synonym

Hi, I'm currently trying to setting up the synonyms and I noticed if a word overlapped with another word in the synonym dic, the token I got will only include one of them.

For example, If I have an analyzer using the following synonyms:
when I use this analyzer to some text fields contains a sentence "apple sauce is great"
the tokens i got are
apple sauce(type:SYNONYM), is (type:ALPHANUM), great(type:ALPHANUM).
Thus my query will only return this document if I search for apple sauce or cooking sauce.

But I want to get this document even when people search for FRUIT SAUCE.

Is there anyway to do this? adding more synonyms could work but I can't do this since the file are extremly large

Any help will be appreciated

any suggestions?

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