lucene-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Gérald Quaire (JIRA) <>
Subject [jira] [Commented] (LUCENE-8099) Deprecate CustomScoreQuery, BoostedQuery and BoostingQuery
Date Wed, 23 Jan 2019 15:10:00 GMT


Gérald Quaire commented on LUCENE-8099:



In the context of migrating some Solr plugins (specific parser) to Solr v7.6, I noticed that
the "BoostedQuery" is deprecated by the use of the "FunctionScoreQuery". With this evolution,
Iit is not possible to access  to the underlying "valueSource" anymore. There is only a getter
for the wrapped query, but not for the "valueSource". Is it possible to add a getter for the
"valueSource" in this class?   Should I create a ticket for that? Thank you.

> Deprecate CustomScoreQuery, BoostedQuery and BoostingQuery
> ----------------------------------------------------------
>                 Key: LUCENE-8099
>                 URL:
>             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

To unsubscribe, e-mail:
For additional commands, e-mail:

View raw message