You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@solr.apache.org by "ASF subversion and git services (Jira)" <ji...@apache.org> on 2023/03/08 18:20:00 UTC
[jira] [Commented] (SOLR-16643) Add multiply/replace options to ReRank query parser
[ https://issues.apache.org/jira/browse/SOLR-16643?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=17698035#comment-17698035 ]
ASF subversion and git services commented on SOLR-16643:
--------------------------------------------------------
Commit 3ac9714557d4cc4995aa932c584eb48ce91eabdc in solr's branch refs/heads/main from Andy Webb
[ https://gitbox.apache.org/repos/asf?p=solr.git;h=3ac9714557d ]
SOLR-16643: reRankOperator=multiply/replace options (#1431)
The new options can be used to replace or multiply (rather than add to) documents' original scores with the output of the ReRankQuery.
Co-authored-by: Andy Webb <an...@apache.org>
Co-authored-by: Christine Poerschke <cp...@apache.org>
Co-authored-by: Mikhail Khludnev <mk...@apache.org>
> Add multiply/replace options to ReRank query parser
> ---------------------------------------------------
>
> Key: SOLR-16643
> URL: https://issues.apache.org/jira/browse/SOLR-16643
> Project: Solr
> Issue Type: Improvement
> Components: search
> Affects Versions: 9.1.1
> Reporter: Andy Webb
> Priority: Minor
> Fix For: 9.2
>
> Time Spent: 5h 10m
> Remaining Estimate: 0h
>
> I noticed the ReRank query parser adds the score from the {{reRankQuery}} to the original score. This means that existing edismax {{boost}} functions can't easily be migrated to use reranking instead, and reranking functions have the same issue as is noted at https://solr.apache.org/guide/solr/latest/query-guide/dismax-query-parser.html#bq-bf-shortcomings.
> In https://github.com/apache/solr/pull/1431 I've added a {{reRankOperator=multiply}} option to the ReRank parser which enables reranking functions to multiply the score instead. A {{reRankOperator=replace}} option is available too, enabling the reranked scores to be independent of the original scores.
--
This message was sent by Atlassian Jira
(v8.20.10#820010)
---------------------------------------------------------------------
To unsubscribe, e-mail: issues-unsubscribe@solr.apache.org
For additional commands, e-mail: issues-help@solr.apache.org