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

BinaryDocValues inconsistencies

Details

    • Bug
    • Status: Closed
    • Major
    • Resolution: Fixed
    • None
    • 4.5, 6.0
    • None
    • None
    • New

    Description

      Some current inconsistencies:

      • Binary/SortedDocValues.EMPTY_BYTES should be removed (BytesRef.EMPTY_BYTES should be used in its place): FieldCache.getDocsWithField should be used to determine missing. Thats fine if FC wants to "back" its Bits by some special placeholder value, but thats its impl detail not part of the API.
      • Sorting comparator of Binary should either be removed (is this REALLY useful?) or should support missingValue(): and it should support this for SortedDocValues in any case: solr does it, but lucene wont allow it accept for numerics?!

      Attachments

        1. LUCENE-5183.patch
          26 kB
          Robert Muir

        Activity

          People

            Unassigned Unassigned
            rcmuir Robert Muir
            Votes:
            0 Vote for this issue
            Watchers:
            5 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: