You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@lucene.apache.org by "Endymion Dylan (JIRA)" <ji...@apache.org> on 2014/12/02 23:44:12 UTC

[jira] [Commented] (LUCENE-4378) QueryParsers do not support negative boosts

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

Endymion Dylan commented on LUCENE-4378:
----------------------------------------

I +1 this feature. It's very very very useful to the project I'm currently developing...

> 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 was sent by Atlassian JIRA
(v6.3.4#6332)

---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@lucene.apache.org
For additional commands, e-mail: dev-help@lucene.apache.org