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

Adrien Grand commented on LUCENE-7722:
--------------------------------------

bq. There's a bit of an interface mismatch here, though, as DoubleValuesSource 
is always IndexReader-independant, so you need to make sure that the passed in 
Weight was generated against the same IndexReader as the FunctionScoreQuery is 
being run against.

I don't think that would be much of an issue if it is documented properly? It's 
appealing that it would allow us to remove all these custom-score queries.

> 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: dev-unsubscr...@lucene.apache.org
For additional commands, e-mail: dev-h...@lucene.apache.org

Reply via email to