[
https://issues.apache.org/jira/browse/SOLR-15437?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]
Tobias Kässmann updated SOLR-15437:
-----------------------------------
Summary: ReRanking does not work in combination with custom sort and
SolrCloud (was: ReRanking does work in combination with custom sort and
SolrCloud)
> ReRanking 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
> Security Level: Public(Default Security Level. Issues are Public)
> Components: contrib - LTR, query parsers, SolrCloud
> Affects Versions: 8.8.2
> Reporter: Tobias Kässmann
> Priority: Major
> Time Spent: 10m
> 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.3.4#803005)
---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]