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

avoid unnecessary attempts to evaluate skipping doc if index sort and search sort are in opposite direction

Details

    • New Feature
    • Status: Closed
    • Major
    • Resolution: Fixed
    • None
    • 9.2
    • None
    • None
    • New

    Description

      users ofter write doc with indexSorting in one direction(asc or desc) , but need to search top docs both in two direction (asc and desc)

      if index sort and search sort are in opposite direction, NumericLeafComparator needn't to check if can skip non-competitive doc inside one segments, because the rest docs are all competitive. 

       

      Attachments

        Issue Links

          Activity

            People

              Unassigned Unassigned
              wjp719 jianping weng
              Votes:
              0 Vote for this issue
              Watchers:
              3 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 40m
                  3h 40m