Scenario: Document should be matched/returned ONLY IF user entered search
text is having ALL the terms of single indexed field in any order.

Ex.
Document has got only 2 fields. Id and title.

Below document is indexed.
{"id":"1", "title": "refrigerator water filter"}

Below search text should NOT return the document as search text is subset of
the indexed field value.
1) water filter
2) refrigerator

Below search texts should return the document as all indexed terms of title
field are present in the search term.
 
1) ABC refrigerator water filter
2) water filter ABC refrigerator
3) water filter refrigerator

Please advise how to model this scenario in SOLR?



--
View this message in context: 
http://lucene.472066.n3.nabble.com/Match-All-terms-in-indexed-field-value-tp4243895.html
Sent from the Solr - User mailing list archive at Nabble.com.

Reply via email to