Are you sure your original description is not a reverse of your use-case? Now, it seems like you just want mm=100 which means "samsung" will match all entries, but "samsung 32G" will only match 3 of them.
https://wiki.apache.org/solr/DisMaxQParserPlugin#mm_.28Minimum_.27Should.27_Match.29 ---- Solr Analyzers, Tokenizers, Filters, URPs and even a newsletter: http://www.solr-start.com/ On 17 November 2015 at 10:28, superjim <m...@tevel.info> wrote: > Thank you so match for answer! > > I'm check Luwak solution. > > By business case is very common and simple. > > 1) user search for products. > sample real query: smartphone samsung s3 black 32G > > 2) i have really big database of products. > I want return to user all products from my database: > "Samsung s3 32g BLACK" > "Samsung s3 BLACK" > "Samsung s3 32G" > > I also have products like (must not be in result!): > "Smartphone Samsung s5" > "Samsung s6 black" > "Samsung s6 32G black" > > so i want: ALL PRODUCTS HAS ALL WORDS IN USER QUERY > > Are you sure that this is not impossible to do with SOLR? > I am already using solr for suggestions and it works perfect! > > > > > > -- > View this message in context: > http://lucene.472066.n3.nabble.com/search-for-documents-where-all-words-of-field-present-in-the-query-tp4240564p4240569.html > Sent from the Solr - User mailing list archive at Nabble.com.