I have a column named title. I want to search this column. There is no problem when I use single word like title:'sport' OR title:"sport". Both giving same number of record.
My problem is when I search with 2 or more words without double quotes(with double quotes giving exact result ex: title:"sport education").
title:'sport education' - returning irrelevant records(more title's don't have sport or education word)
+title:'sport education' - returns the same number of record for the search oftitle:'sport' / title:"sport".
what should I do to get atleast any one search word must match in the column?
Note: Solr version 6.3.0
Thank you in advance!
I bet what you are looking for is the following chain of parameters:
Let me decipher it for you:
$qwill be tokenized according to$dffieldType and the clauses will be joined via OR like this:title:sport OR title:educationFor more information you can follow Common Query Parameters or Local Parameters in Queries.