Multi words synonyms and query syntax

(Nikolay Eryomin) #1

By previous topyc I understend why search query doesn't work with multi words synonym.
But why I cann't use easily qury syntax (AND, OR, NOT, "") and multi words synonyms together?
Do I really need parse query before send to ES?
Or can ES do it without my help?

For example
United States => usa
United Kingdom => uk
(United States) AND (United Kingdom)

I need that the query is worked true.
Query after synonyms: usa AND uk

is this problem for ES?

(system) #2