[ https://issues.apache.org/jira/browse/SOLR-4646?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13620836#comment-13620836 ]
Tomás Fernández Löbbe commented on SOLR-4646: --------------------------------------------- I think the documentation was wrong because it says that Solr does something when in reality it does a different thing, and it's not due to a bug. That's why I think the fix was to change the docs to reflects what Solr really does. That said, I'm OK with changing the default for future versions, your comment on Norwegian language makes sense to me. If we do so, we should make sure that the documentation clearly says that up to 4.2 you get one behavior, and after that you get a different one. > 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=true&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: dev-unsubscr...@lucene.apache.org For additional commands, e-mail: dev-h...@lucene.apache.org