Solr
  1. Solr
  2. SOLR-6407

SortingResponseWriter String sorting broken on single segment indexes

    Details

    • Type: Test Test
    • Status: Resolved
    • Priority: Major Major
    • Resolution: Fixed
    • Affects Version/s: None
    • Fix Version/s: 4.10
    • Component/s: None
    • Labels:
      None

      Description

         [junit4]   2> NOTE: reproduce with: ant test  -Dtestcase=TestSortingResponseWriter -Dtests.method=testSortingOutput -Dtests.seed=9096ECEE5D29523B -Dtests.slow=true -Dtests.locale=en_GB -Dtests.timezone=CTT -Dtests.file.encoding=ISO-8859-1
         [junit4] ERROR   0.14s J3  | TestSortingResponseWriter.testSortingOutput <<<
         [junit4]    > Throwable #1: java.lang.ClassCastException: org.apache.lucene.codecs.lucene410.Lucene410DocValuesProducer$6 cannot be cast to org.apache.lucene.index.MultiDocValues$MultiSortedDocValues
         [junit4]    > 	at __randomizedtesting.SeedInfo.seed([9096ECEE5D29523B:24667B8F5066589B]:0)
         [junit4]    > 	at org.apache.solr.response.SortingResponseWriter$StringValue.<init>(SortingResponseWriter.java:1091)
         [junit4]    > 	at org.apache.solr.response.SortingResponseWriter.getSortDoc(SortingResponseWriter.java:322)
         [junit4]    > 	at org.apache.solr.response.SortingResponseWriter.write(SortingResponseWriter.java:126)
         [junit4]    > 	at org.apache.solr.util.TestHarness.query(TestHarness.java:301)
         [junit4]    > 	at org.apache.solr.util.TestHarness.query(TestHarness.java:278)
         [junit4]    > 	at org.apache.solr.response.TestSortingResponseWriter.testSortingOutput(TestSortingResponseWriter.java:116)
         [junit4]    > 	at java.lang.Thread.run(Thread.java:745)
      

        Activity

        No work has yet been logged on this issue.

          People

          • Assignee:
            Joel Bernstein
            Reporter:
            Mark Miller
          • Votes:
            0 Vote for this issue
            Watchers:
            3 Start watching this issue

            Dates

            • Created:
              Updated:
              Resolved:

              Development