Lucene - Core
  1. Lucene - Core
  2. LUCENE-2671

Add sort missing first/last ability to SortField and ValueComparator

    Details

    • Type: New Feature New Feature
    • Status: Closed
    • Priority: Major Major
    • Resolution: Fixed
    • Affects Version/s: None
    • Fix Version/s: 4.0-ALPHA
    • Component/s: core/search
    • Labels:
      None
    • Lucene Fields:
      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.

      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

          No work has yet been logged on this issue.

            People

            • Assignee:
              Ryan McKinley
              Reporter:
              Ryan McKinley
            • Votes:
              0 Vote for this issue
              Watchers:
              0 Start watching this issue

              Dates

              • Created:
                Updated:
                Resolved:

                Development