[ 
https://issues.apache.org/jira/browse/SOLR-15437?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=17352531#comment-17352531
 ] 

Tobias Kässmann edited comment on SOLR-15437 at 5/27/21, 2:39 PM:
------------------------------------------------------------------

[~TomGilke], [~tboeghk] and I submitted a first solution to fix this problem. 
All informations are placed into the linked [pull 
request|https://github.com/apache/solr/pull/151].

Looking forward to some feedback!


was (Author: kaessmann):
[~TomGilke], [~tboeghk] and I submitted a first solution to fix this problem. 
All informations are placed into the linked pullrequest.

Looking forward to some feedback!

> 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
>      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: 0.5h
>  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: issues-unsubscr...@solr.apache.org
For additional commands, e-mail: issues-h...@solr.apache.org

Reply via email to