On 1/10/2020 5:30 PM, chester wrote:
I'm using solr 6.3 and am having an issue with a certain search phrase.

When I search for the phrase "Perkins AND Will", the parsed query does not
include "Will". See debug info below.

select?q=firmname:(Perkins%20AND%20Will)

"debug":{
     "rawquerystring":"firmname:(Perkins AND Will)",
     "querystring":"firmname:(Perkins AND Will)",
     "parsedquery":"firmname:perkin",
     "parsedquery_toString":"firmname:perkin",
     "QParser":"LuceneQParser",

Best guess is that you have an analysis step that removes stopwords, and that "will" is one of them. That word is found in many stopword lists that are available.

It is my opinion, shared by many here, that stopwords should not be removed. It made sense in the distant past when system capacities were a lot smaller than they are today ... the speedup was enough to make it worth dealing with the downsides. These days, system capacities are much larger and there is usually no need to remove common stopwords.

Thanks,
Shawn

Reply via email to