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

Disable sort optimization in comparators on index sort

    XMLWordPrintableJSON

Details

    • Improvement
    • Status: Resolved
    • Minor
    • Resolution: Fixed
    • None
    • 8.8
    • None
    • None
    • New

    Description

      LUCENE-9280 introduced an ability for comparators to skip non-competitive documents. But currently comparators are not aware of index sorting, and can run sort optimization even when search sort is congruent with the index sort.

      As the early termination in this case is already handled in TopFieldCollector, we need to disable sort optimization in comparators. 

      Attachments

        Activity

          People

            Unassigned Unassigned
            mayyas Mayya Sharipova
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved:

              Time Tracking

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