lucene-dev mailing list archives

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

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

Gérald Quaire commented on LUCENE-8099:
---------------------------------------

[~romseygeek],

 

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: 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
(v7.6.3#76005)

---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@lucene.apache.org
For additional commands, e-mail: dev-help@lucene.apache.org


Mime
View raw message