Setting lowercaseOperators=false for the request handler defaults fixes this. 
Probably also fixes some relevance anomalies.

Thanks!

wunder
Walter Underwood
wun...@wunderwood.org
http://observer.wunderwood.org/  (my blog)


> On Jun 29, 2017, at 6:38 AM, Shawn Heisey <apa...@elyograg.org> wrote:
> 
> On 6/28/2017 10:46 PM, Walter Underwood wrote:
>> Hmm, “and” is missing from the individual terms but present in the phrase.
>> 
>>    "rawquerystring":"once and again",
>>    "querystring":"once and again",
>>    
>> "parsedquery":"(+(+DisjunctionMaxQuery(((concept_ai_concepts_names_default:once)^2.0
>>  | (question:once)^2.0 | subjectNames:once | (bookTitle_text:once)^4.0)) 
>> +DisjunctionMaxQuery(((concept_ai_concepts_names_default:again)^2.0 | 
>> (question:again)^2.0 | subjectNames:again | (bookTitle_text:again)^4.0))) 
>> DisjunctionMaxQuery(((bookTitle_text:\"once and again\")^8.0 | 
>> (question:\"once and again\")^4.0 | 
>> (concept_ai_concepts_names_default:\"once and again\")^4.0 | 
>> (subjectNames:\"once and again\")^2.0)))/no_coord",
>>    "parsedquery_toString":"+(+((concept_ai_concepts_names_default:once)^2.0 
>> | (question:once)^2.0 | subjectNames:once | (bookTitle_text:once)^4.0) 
>> +((concept_ai_concepts_names_default:again)^2.0 | (question:again)^2.0 | 
>> subjectNames:again | (bookTitle_text:again)^4.0)) ((bookTitle_text:\"once 
>> and again\")^8.0 | (question:\"once and again\")^4.0 | 
>> (concept_ai_concepts_names_default:\"once and again\")^4.0 | 
>> (subjectNames:\"once and again\")^2.0)",
>>    "QParser":"ExtendedDismaxQParser",
> 
> I would guess that "and" is being interpreted as an operator, because
> lowercaseOperators defaults to true with edismax.  This is changing in 7.0.
> 
> https://issues.apache.org/jira/browse/SOLR-4646
> 
> Thanks,
> Shawn
> 

Reply via email to