Hey
Trying to figure out how to use the default_operator using a URI request.
I'm searching for words / phrases in two different keys:
- Search for firstName contains "John"
AND - Search for note contains "Some testnotes"
See query below:
/contacts/_search?q=+firstName:John+note:some%20testnotes&default_operator=AND
However, elasticsearch returns records where "some" and "testnotes" are found separately in the "note" key.
How can I solve this?
TIA