[
https://issues.apache.org/jira/browse/LUCENE-7722?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=15890358#comment-15890358
]
Alan Woodward commented on LUCENE-7722:
---------------------------------------
bq. BoostedQuery vs. BoostQuery is confusing anyways!
Don't forget BoostingQuery! Which I think we may be able to remove as well, by
creating a DoubleValuesSource that wraps a Weight and returns scores as values.
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.
> 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]