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

FieldCache should include a BitSet for matching docs

    XMLWordPrintableJSON

Details

    • Improvement
    • Status: Closed
    • Major
    • Resolution: Fixed
    • None
    • 4.0-ALPHA
    • core/search
    • None
    • New

    Description

      The FieldCache returns an array representing the values for each doc. However there is no way to know if the doc actually has a value.

      This should be changed to return an object representing the values and a BitSet for all valid docs.

      Attachments

        1. LUCENE-2649-FieldCacheWithBitSet.patch
          116 kB
          Ryan McKinley
        2. LUCENE-2649-FieldCacheWithBitSet.patch
          42 kB
          Ryan McKinley
        3. LUCENE-2649-FieldCacheWithBitSet.patch
          38 kB
          Ryan McKinley
        4. LUCENE-2649-FieldCacheWithBitSet.patch
          25 kB
          Ryan McKinley
        5. LUCENE-2649-FieldCacheWithBitSet.patch
          24 kB
          Ryan McKinley
        6. LUCENE-2649-FieldCacheWithBitSet.patch
          28 kB
          Ryan McKinley

        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: