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

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

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Resolved
    • Major
    • Resolution: Fixed
    • 6.2.1
    • 6.3, 7.0
    • core/codecs
    • None
    • 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

              Unassigned Unassigned
              jmassenet-rakuten Julien Massenet
              Votes:
              0 Vote for this issue
              Watchers:
              5 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved: