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 76D18D28F for ; Wed, 12 Sep 2012 01:11:10 +0000 (UTC) Received: (qmail 40241 invoked by uid 500); 12 Sep 2012 01:11:08 -0000 Delivered-To: apmail-lucene-dev-archive@lucene.apache.org Received: (qmail 40186 invoked by uid 500); 12 Sep 2012 01:11:08 -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 40178 invoked by uid 99); 12 Sep 2012 01:11:07 -0000 Received: from arcas.apache.org (HELO arcas.apache.org) (140.211.11.28) by apache.org (qpsmtpd/0.29) with ESMTP; Wed, 12 Sep 2012 01:11:07 +0000 Date: Wed, 12 Sep 2012 12:11:07 +1100 (NCT) From: "Yonik Seeley (JIRA)" To: dev@lucene.apache.org Message-ID: <603560111.66912.1347412267973.JavaMail.jiratomcat@arcas> In-Reply-To: <995972127.66764.1347409147565.JavaMail.jiratomcat@arcas> Subject: [jira] [Commented] (LUCENE-4378) QueryParsers do not support negative boosts MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 7bit X-JIRA-FingerPrint: 30527f35849b9dde25b450d4833f0394 [ https://issues.apache.org/jira/browse/LUCENE-4378?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13453607#comment-13453607 ] Yonik Seeley commented on LUCENE-4378: -------------------------------------- bq. I'm saying I disagree with them being in the general purpose QP that we ship as "QueryParser". What about those of us who want it? Will you veto a patch that implements this optional functionality because you believe that those who want it are misguided? > QueryParsers do not support negative boosts > ------------------------------------------- > > Key: LUCENE-4378 > URL: https://issues.apache.org/jira/browse/LUCENE-4378 > Project: Lucene - Core > Issue Type: Improvement > Reporter: Hoss Man > Attachments: LUCENE-4378-test.patch > > > Negative query boosts have been supported at the "Query" object level for a long time (resulting in negative scores for matching documents), but evidently we never updated the QueryParsers to know about this - attempting to specify a negative boost in the query string results in a parse error. > we should probably add this to the parser grammer(s) -- 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-unsubscribe@lucene.apache.org For additional commands, e-mail: dev-help@lucene.apache.org