Uploaded image for project: 'Solr'
  1. Solr
  2. SOLR-15437

ReRanking/LTR does not work in combination with custom sort and SolrCloud

    XMLWordPrintableJSON

    Details

      Description

      Tom Gilke, Torsten Bøgh Köster 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 and is not really fixed.

      You can do the following steps to reproduce this issue: here.

      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 Christine Poerschke 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 in the QueryComponent.

      You can also use the pull request to reproduce the problem.

        Attachments

          Issue Links

            Activity

              People

              • Assignee:
                Unassigned
                Reporter:
                kaessmann Tobias Kässmann
              • Votes:
                3 Vote for this issue
                Watchers:
                5 Start watching this issue

                Dates

                • Created:
                  Updated:

                  Time Tracking

                  Estimated:
                  Original Estimate - Not Specified
                  Not Specified
                  Remaining:
                  Remaining Estimate - 0h
                  0h
                  Logged:
                  Time Spent - 6h 50m
                  6h 50m