Return-Path: X-Original-To: apmail-lucene-dev-archive@www.apache.org Delivered-To: apmail-lucene-dev-archive@www.apache.org Received: from mail.apache.org (hermes.apache.org [140.211.11.3]) by minotaur.apache.org (Postfix) with SMTP id CE244F525 for ; Wed, 3 Apr 2013 10:21:17 +0000 (UTC) Received: (qmail 31245 invoked by uid 500); 3 Apr 2013 10:21:16 -0000 Delivered-To: apmail-lucene-dev-archive@lucene.apache.org Received: (qmail 31191 invoked by uid 500); 3 Apr 2013 10:21:16 -0000 Mailing-List: contact dev-help@lucene.apache.org; run by ezmlm Precedence: bulk List-Help: List-Unsubscribe: List-Post: List-Id: Reply-To: dev@lucene.apache.org Delivered-To: mailing list dev@lucene.apache.org Received: (qmail 31155 invoked by uid 99); 3 Apr 2013 10:21:15 -0000 Received: from arcas.apache.org (HELO arcas.apache.org) (140.211.11.28) by apache.org (qpsmtpd/0.29) with ESMTP; Wed, 03 Apr 2013 10:21:15 +0000 Date: Wed, 3 Apr 2013 10:21:15 +0000 (UTC) From: =?utf-8?Q?Jan_H=C3=B8ydahl_=28JIRA=29?= To: dev@lucene.apache.org Message-ID: In-Reply-To: References: Subject: [jira] [Commented] (SOLR-4646) lowercaseOperators is enabled by default for edismax query parser MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: quoted-printable X-JIRA-FingerPrint: 30527f35849b9dde25b450d4833f0394 [ https://issues.apache.org/jira/browse/SOLR-4646?page=3Dcom.atlassian.= jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=3D13620= 814#comment-13620814 ]=20 Jan H=C3=B8ydahl commented on SOLR-4646: ----------------------------------- Tested this with Solr3.5 and it seems the default has been "true" all the w= ay. Although I have not hit concrete problems due to this I always thought = it defaulted to false. Anyone else in favor of changing the default to "false" from v4.3? We could= check luceneMatchVersion to keep old default for pre-4.3 solrconfigs... =20 > 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#lowercaseOperat= ors] says: > *lowercaseOperators* > This param controls whether to try to interpret lowercase words as boolea= n operators such as "and", "not" and "or". Set {{&lowercaseOperators=3Dtrue= }} to allow this. Default is {{"*false*"}}. > But in fact {{lowercaseOperators=3Dtrue}} by default. > And if one of boolean operators in lowercase is present in query it turns= off {{mm}} parameter: > * {{q=3DYoung+6+or+Ariston&defType=3Dedismax&qf=3Dname&mm=3D100%25&debugQ= uery=3Dtrue}} > {{"parsedquery_toString": "+((name:young) (name:6) (name:ariston))"}} > * {{q=3DYoung+6+or+Ariston&defType=3Dedismax&qf=3Dname&mm=3D100%25&lowerc= aseOperators=3Dtrue&debugQuery=3Dtrue}} > {{"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 administrato= rs For more information on JIRA, see: http://www.atlassian.com/software/jira --------------------------------------------------------------------- To unsubscribe, e-mail: dev-unsubscribe@lucene.apache.org For additional commands, e-mail: dev-help@lucene.apache.org