We need help deploying SOLR to work with EXACT MATCH search capabilities.
In particular, we have a text field in the scheme, and we want to apply the search for exact matches with phrases and Boolean searches.
For instance:
User enters:
DIRECTOR AND (FINANCE OR CONTROLLER OR ACCOUNTANT)
..... But, unfortunately, the results return records with words like:
SCORE
CONTROLLING
Etc.
So, SOLR, in fact, is looking inside the word - which, of course, we do not want. (Yes, this will at least prioritize these results at the very END of the result set ... but nevertheless, our users want to get the exact matches that the Exact Match must fulfill.
We thought about changing the field to STRING instead of the TEXT type, but STRING does not work very well with phrases and logical searches.
source share