Is there a way to form the query which will ensure the position of the word while matching ?
Example:
Indexed phrase is "Dark of the moon" (Standard analyzed, no stopword filter)
I should have a query where in i should be able to match below:
"Dark x y z"
"Dark x y moon"
"x y z moon"
Summing it up: I should be able to check position of the word given any input.