I have a document some thing like { "name": "abc", "age": "20", "attributes": [{ "city": "NEW YORK" }, { "city": "NEW JERSEY" } ] }
and i want a query to return NO record if i search with YORK JERSEY. i have used the "and" operator and it doesnt work since am searching on the same field and not multiple fields since york and jersey is present in both places , its giving me back 2 records , any thoughts ? and i also read about Nested fields but it requires reindexing of data , so any solution with out reindexing the data ?