[
https://issues.apache.org/jira/browse/LUCENE-4378?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13453599#comment-13453599
]
Yonik Seeley commented on LUCENE-4378:
--------------------------------------
bq. Dismissing my opinion isn't productive.
If you don't like negative boosts, then don't use them.
You're again trying to enforce your opinion on everyone else. Allowing
negative boosts gives people a choice.
In my opinion, we should add negative boosts to the grammar and give people the
choice. I've seen plenty of people ask for them, and I don't think they were
all misguided. If they are normally better avoided, that can be handled with
documentation.
> 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: [email protected]
For additional commands, e-mail: [email protected]