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

DocValues updates send wrong fieldinfos to codec producers

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Resolved
    • Blocker
    • Resolution: Fixed
    • None
    • 4.9
    • None
    • None
    • New, Patch Available

    Description

      Spinoff from LUCENE-5616.

      See the example there, docvalues readers get a fieldinfos, but it doesn't contain the correct ones, so they have invalid field numbers at read time.

      This should really be fixed. Maybe a simple solution is to not write "batches" of fields in updates but just have only one field per gen?

      This removes many-many relationships and would make things easy to understand.

      Attachments

        1. LUCENE-5618.patch
          56 kB
          Shai Erera
        2. LUCENE-5618.patch
          60 kB
          Shai Erera
        3. LUCENE-5618.patch
          63 kB
          Shai Erera
        4. LUCENE-5618.patch
          63 kB
          Shai Erera
        5. LUCENE-5618.patch
          63 kB
          Shai Erera

        Issue Links

          Activity

            People

              shaie Shai Erera
              rcmuir Robert Muir
              Votes:
              0 Vote for this issue
              Watchers:
              4 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved: