lucene-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Yonik Seeley (JIRA)" <>
Subject [jira] [Commented] (LUCENE-4378) QueryParsers do not support negative boosts
Date Wed, 12 Sep 2012 01:11:07 GMT


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:
>             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:

To unsubscribe, e-mail:
For additional commands, e-mail:

View raw message