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 2026/06/27 20:29:00 UTC
[jira] [Commented] (SOLR-18245) Add reRerankCutoff Output For LTR Based Sorts
[ https://issues.apache.org/jira/browse/SOLR-18245?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=18092068#comment-18092068 ]
ASF subversion and git services commented on SOLR-18245:
--------------------------------------------------------
Commit 05449b5cc98f452458c94e148062b36f03a68bb0 in solr's branch refs/heads/main from Darren Shaw
[ https://gitbox.apache.org/repos/asf?p=solr.git;h=05449b5cc98 ]
SOLR-18245: Add reRankCutoff output on LTR queries (#4442)
> Add reRerankCutoff Output For LTR Based Sorts
> ---------------------------------------------
>
> Key: SOLR-18245
> URL: https://issues.apache.org/jira/browse/SOLR-18245
> Project: Solr
> Issue Type: Improvement
> Components: ltr
> Reporter: Darren Shaw
> Priority: Minor
> Labels: pull-request-available
> Time Spent: 1h 20m
> Remaining Estimate: 0h
>
> h1. Context
> When using LTR, a client may need to know the sort score that a document would have required to have been eligible for rerank by LTR.
> This is best illustrated by the following real-world example.
> h2. Example Use Case
> Solr is used in a retail environment where documents represent products. One element that contributes to the sort score and therefore the document ordering is a field called {{{}commercialUplift{}}}. This allows the retailer to increase the score of a document due to commercial factors that are not directly tied to the relevance of the document.
> This {{commercialUplift}} is just one element used in the sort scoring function.
> Given a page of results the retailer needs to to know the sort score another document would require to have been included in that page and therefore the {{commercialUplift}} value that would have been needed to increase a document's score enough to get in to that page.
> With a non-LTR search it is possible to do this by retrieving the sort score of the lowest ranked document in a page of results.
> But with LTR and its two stage ranking, in cases where the {{reRankDocs}} size is greater than the page size ({{{}rows{}}}) and all documents are not re-ranked, this is not possible. As well as the rerank scores output in the final page of results, the retailer would need to know the original sort score required for a document to have been included in the rerank stage (the score of the lowest ranked document in the main sort scoring, before re-ranking).
> h1. Requirement
> Add a parameter to LTR queries to output a rerank cutoff value in the response header. This value would be the original sort value(s) of the lowest ranked document that was eligible for reranking.
--
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