[
https://issues.apache.org/jira/browse/SOLR-16643?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=17698266#comment-17698266
]
ASF subversion and git services commented on SOLR-16643:
--------------------------------------------------------
Commit def38eabf28b445acc4e846b8c212a8a4c534266 in solr's branch
refs/heads/branch_9x from Andy Webb
[ https://gitbox.apache.org/repos/asf?p=solr.git;h=def38eabf28 ]
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 <[email protected]>
Co-authored-by: Christine Poerschke <[email protected]>
Co-authored-by: Mikhail Khludnev <[email protected]>
> 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: 5.5h
> 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: [email protected]
For additional commands, e-mail: [email protected]