Multi-term synonyms and preserving original term in elasticsearch

Hi ,
I am trying to implement the synonym query where a user can search for:
"admin group","common group"
which are synonyms of one another.

What i want is when a user searches with "admin group" the result retrieved must be from both the word i.e "admin group" and "common group" and individual term of the word i.e "admin" or "group".
But when he searches for "admin" the result related to "common" or "group" must not come.

Any tips on how i can get it to behave as i want?

Thanks in advance

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