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

Alan Woodward commented on LUCENE-7722:
---------------------------------------

Looking closer at BoostingQuery, I think the same effect could be had by using 
a BooleanQuery and wrapping the 'suppressing' subquery with a negative-valued 
BoostQuery?  In addition, BoostingQuery has no tests that actually run the 
query...

On reader-dependent DoubleValuesSource implementations, I think we need to add 
something like a rewrite() function to make the dependancy explicit.  Otherwise 
you could have odd interactions with things like the QueryCache.

> Remove BoostedQuery
> -------------------
>
>                 Key: LUCENE-7722
>                 URL: https://issues.apache.org/jira/browse/LUCENE-7722
>             Project: Lucene - Core
>          Issue Type: Task
>            Reporter: Adrien Grand
>            Priority: Minor
>
> We already  have FunctionScoreQuery, which is more flexible than BoostedQuery 
> as it can combine scores in arbitrary ways and only requests scores on the 
> underlying scorer if they are needed. So let's remove BoostedQuery?



--
This message was sent by Atlassian JIRA
(v6.3.15#6346)

---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]

Reply via email to