Georgy Nevsky
Georgy Nevsky

Reputation: 129

Match document if all terms in field present in search string

I have following documents:

{ "id": 1, "city": "New York" },
{ "id": 2, "city": "New Orleans" },
{ "id": 3, "city": "Old York" }

When I search for "Pizza in New York", I wish to get only document with id:1.

How to create such a query?

Upvotes: -1

Views: 45

Answers (0)

Related Questions