regex - proximity search in elasticsearch -


how can use proximity search in elasticsearch query string

example query :

(a or b) **near2** (c or d) 

i dont want use

"a c"~2 

i want query translated

( near c ) or ( near d ) or ( b near c ) or ( b near d ) 

i can use query string.


Comments

Popular posts from this blog

python - Operations inside variables -

Generic Map Parameter java -

arrays - What causes a java.lang.ArrayIndexOutOfBoundsException and how do I prevent it? -