Uploaded image for project: 'Lucene - Core'
  1. Lucene - Core
  2. LUCENE-4504

Empty results from IndexSearcher.searchAfter() when sorting by FunctionValues

Attach filesAttach ScreenshotVotersWatch issueWatchersCreate sub-taskLinkCloneUpdate Comment AuthorReplace String in CommentUpdate Comment VisibilityDelete Comments
    XMLWordPrintableJSON

    Details

    • Type: Bug
    • Status: Closed
    • Priority: Minor
    • Resolution: Fixed
    • Affects Version/s: 4.0
    • Fix Version/s: 4.3, 6.0
    • Component/s: modules/other
    • Labels:
      None
    • Lucene Fields:
      New

      Description

      IS.searchAfter() always returns an empty result when using FunctionValues for sorting.

      The culprit is ValueSourceComparator.compareDocToValue() returning -1 when it should return +1.

        Attachments

        1. LUCENE-4504.patch
          5 kB
          Robert Muir
        2. LUCENE-4504.patch
          0.5 kB
          TomShally
        3. Lucene4504Test.java
          3 kB
          TomShally

        Issue Links

          Activity

            People

            • Assignee:
              Unassigned
              Reporter:
              tomsh TomShally

              Dates

              • Created:
                Updated:
                Resolved:

                Issue deployment