[
https://issues.apache.org/jira/browse/LUCENE-8099?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=16313443#comment-16313443
]
David Smiley commented on LUCENE-8099:
--------------------------------------
With the addition of the nice new static utility methods on FunctionScoreQuery,
I think you can replace the change you did to Solr's BoostQParserPlugin to
simply be: {{return FunctionScoreQuery.boostByValue(input,
vs.asDoubleValuesSource());}} Maybe then inline it; I would but it's up to
you. Also the MIGRATE.txt notes should mention that these are replacements to
some of the classes deleted here.
> Deprecate CustomScoreQuery, BoostedQuery and BoostingQuery
> ----------------------------------------------------------
>
> Key: LUCENE-8099
> URL: https://issues.apache.org/jira/browse/LUCENE-8099
> Project: Lucene - Core
> Issue Type: Improvement
> Reporter: Alan Woodward
> Assignee: Alan Woodward
> Priority: Minor
> Fix For: 7.3
>
> Attachments: LUCENE-8099-2.patch, LUCENE-8099.patch, LUCENE-8099.patch
>
>
> After LUCENE-7998, these three queries can all be replaced by a
> FunctionScoreQuery. Using lucene-expressions makes them much easier to use
> as well.
--
This message was sent by Atlassian JIRA
(v6.4.14#64029)
---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]