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

PerField(DocValues|Postings)Format do not call the per-field merge methods

    Details

    • Type: Bug
    • Status: Resolved
    • Priority: Major
    • Resolution: Fixed
    • Affects Version/s: 6.2.1
    • Fix Version/s: 6.3, 7.0
    • Component/s: core/codecs
    • Labels:
      None
    • Lucene Fields:
      New, Patch Available

      Description

      While porting some old codec code from Lucene 4.3.1, I couldn't get the per-field formats to call upon the per-field merge methods; the default merge method was always being called.

      I think this is a side-effect of LUCENE-5894.

      Attached is a patch with a test that reproduces the error and an associated fix that pass the unit tests.

        Attachments

        1. LUCENE-7456.patch
          25 kB
          Julien Massenet
        2. LUCENE-7456-v2.patch
          28 kB
          Julien Massenet

          Issue Links

            Activity

              People

              • Assignee:
                Unassigned
                Reporter:
                jmassenet-rakuten Julien Massenet
              • Votes:
                0 Vote for this issue
                Watchers:
                6 Start watching this issue

                Dates

                • Created:
                  Updated:
                  Resolved: