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

Add sort missing first/last ability to SortField and ValueComparator

Details

    • New Feature
    • Status: Closed
    • Major
    • Resolution: Fixed
    • None
    • 4.0-ALPHA
    • core/search
    • None
    • New, Patch Available

    Description

      When SortField and ValueComparator use EntryCreators (from LUCENE-2649) they use a special sort value when the field is missing.

      This enables lucene to implement 'sort missing last' or 'sort missing first' for numeric values from the FieldCache.

      Attachments

        1. LUCENE-2671-suppress-unchecked.patch
          4 kB
          Ryan McKinley
        2. LUCENE-2671-SortMissingLast.patch
          35 kB
          Ryan McKinley
        3. LUCENE-2671-caches.patch
          13 kB
          Ryan McKinley
        4. LUCENE-2671-caches.patch
          9 kB
          Ryan McKinley
        5. LUCENE-2671.patch
          12 kB
          Yonik Seeley

        Issue Links

          Activity

            People

              ryantxu Ryan McKinley
              ryantxu Ryan McKinley
              Votes:
              0 Vote for this issue
              Watchers:
              0 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved: