You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@solr.apache.org by "Jan Høydahl (Jira)" <ji...@apache.org> on 2024/10/09 11:49:00 UTC
[jira] [Commented] (SOLR-15437) ReRanking/LTR does not work in combination with custom sort and SolrCloud
[ https://issues.apache.org/jira/browse/SOLR-15437?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=17887894#comment-17887894 ]
Jan Høydahl commented on SOLR-15437:
------------------------------------
Sorry to see that this PR was auto closed due to inactivity. There was a lot of good discussions and review on that PR. Hope there is enrgy to give it a new try, perhaps with a simpler solution that has a chance of being merged?
> ReRanking/LTR does not work in combination with custom sort and SolrCloud
> -------------------------------------------------------------------------
>
> Key: SOLR-15437
> URL: https://issues.apache.org/jira/browse/SOLR-15437
> Project: Solr
> Issue Type: Bug
> Components: contrib - LTR, query parsers, SolrCloud
> Affects Versions: 8.8.2
> Reporter: Tobias Kässmann
> Priority: Major
> Labels: pull-request-available
> Time Spent: 8h
> Remaining Estimate: 0h
>
> [~TomGilke], [~tboeghk] and I are currently working a lot on the Solr LTR feature. In our setup we're using a custom sort function for a solid base scoring of the documents.
> We found out that a plain SolrCloud will return random sorted docs if you define a custom sort field or function. This problem is also mentioned [here|https://lucene.472066.n3.nabble.com/Ranking-issue-when-combining-sorting-and-re-ranking-on-SolrCloud-multiple-shards-td4457723.html] and is not really fixed.
> You can do the following steps to reproduce this issue: [here|https://gist.github.com/tboeghk/0844d310641b994dac924acaf94fd78f].
> In the meantime we're also investing on this issue and try to debug the QueryComponent. But if there is any hint or thought available, we're very happy to hear from you. Maybe [~cpoerschke] can help here a little bit?
> What we've found out so far:
> * It only happens in SolrCloud mode (shards > 1)
> * Maybe is has something to do with the [MergeStrategy|https://github.com/apache/solr/blob/main/solr/core/src/java/org/apache/solr/handler/component/QueryComponent.java#L188] in the QueryComponent.
> You can also use the [pull request to reproduce the problem|https://github.com/apache/solr/pull/151].
--
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