[ 
https://issues.apache.org/jira/browse/SOLR-4646?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13620879#comment-13620879
 ] 

Jan Høydahl commented on SOLR-4646:
-----------------------------------

That's what luceneMatchVersion is for - if you upgrade solr.war without bumbing 
version in solrconfig, you get the "old" behavior. If you start from scratch or 
migrate your config bumping luceneMatchVersion, you do a conscious choice, and 
can adjust according to CHANGES.TXT.

Thus if the community feels this is a bad default we should not be afraid to 
rectify that now. Google.com enforces uppercase operators - probably because of 
user confusion and wrong results with lowercase - so why should we set the bar 
lower?

+1 to change the default from true to false (don't care which version, 4.3 or 
5.0)

This issue also touches SOLR-3580 which proposes to replace the 
lowercaseOperators param with a more flexible variant.
                
> lowercaseOperators is enabled by default for edismax query parser
> -----------------------------------------------------------------
>
>                 Key: SOLR-4646
>                 URL: https://issues.apache.org/jira/browse/SOLR-4646
>             Project: Solr
>          Issue Type: Bug
>          Components: query parsers
>    Affects Versions: 4.1, 4.2
>            Reporter: Alexander Koval
>
> [Documentation|http://wiki.apache.org/solr/ExtendedDisMax#lowercaseOperators] 
> says:
> *lowercaseOperators*
> This param controls whether to try to interpret lowercase words as boolean 
> operators such as "and", "not" and "or". Set {{&lowercaseOperators=true}} to 
> allow this. Default is {{"*false*"}}.
> But in fact {{lowercaseOperators=true}} by default.
> And if one of boolean operators in lowercase is present in query it turns off 
> {{mm}} parameter:
> * {{q=Young+6+or+Ariston&defType=edismax&qf=name&mm=100%25&debugQuery=true}}
>   {{"parsedquery_toString": "+((name:young) (name:6) (name:ariston))"}}
> * 
> {{q=Young+6+or+Ariston&defType=edismax&qf=name&mm=100%25&lowercaseOperators=false&debugQuery=true}}
>   {{"parsedquery_toString": "+(((name:young) (name:6) (name:ariston))~3)"}}

--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators
For more information on JIRA, see: http://www.atlassian.com/software/jira

---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]

Reply via email to