We can search for ALL words in a specific document.field like this:
{ \"query\" : { \"match\" : { \"title\": { \"query\" : \"Black Nike Mens\", \"operator\"
The Percolate query should help here. You'd register your documents as queries, making "Nike Free Sparq Mens White" a match query with an AND operator.
Then your query can become a document like one having "Nike Free Sparq 09 - Mens - White/Black/Varsity Red" as content. You should get "Nike Free Sparq Mens White" back, because it matches all terms.
Unfortunately, this won't scale well (e.g. if you have millions of documents, it might get slow).
I finally got it to work but not with a direct method!
This is what I do:
This worked for me well enough!
Unless someone has a direct method from elasticsearch query language.