I want to make a query where I need crocodile
to be near to luffy
or crocodile
near to robin
. But the query crocodile AND (luffy OR robin)
is not exactly what I want because the maximum distance need to be 3, so I tried something like it(the default operator is set to AND):
"crocodile (luffy OR robin)"~3
But it not work. How can I achieve this purpose using these operators? I dont want to use something like:
"crocodile AND luffy "~3 OR "crocodile AND robin "~3
Because It will turn my queries too long.
ES documentations talks about avoid mixing fuzzines with wildcards, but I don't found nothin about proximity with parentheses.