I'm having a field called "QUERY_TERMS" which consists of words separated by a space.
Example: "QUERY_TERMS": "chet swaroop"
This record/document should be returned as a result only when the query contains both the terms included in the list say "chet" and "swaroop"
Example: Instances when the record/document is returned in Solr, i.) "chet swaroop" ii.) "swaroop chet: iii.) "chet blah blah swaroop" iv.) "swaroop blah blah chet"
Instances when the record/document should not be returned in Solr, i.) "chet" ii.)"swaroop" iii.)" chet blah blah" iv.) "blha blah swaroop"
Could anyone suggest the query to match the above requirements.