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

CompressingStoredFieldsFormat's bulk merge should be disabled when reader and writer don't have the same chunk size

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Resolved
    • Blocker
    • Resolution: Fixed
    • 4.5, 4.5.1
    • 4.6
    • None
    • None
    • New

    Description

      LUCENE-5188 changed the way data is compressed when single documents exceed the chunk size, meaning that it is not legal anymore to bulk merge if writer and reader have different chunk sizes.

      This bug only happens when mixing two instances of CompressingStoredFieldsFormat that have the same compression mode but different chunk sizes, and when there are documents that exceed any of the chunk sizes. So the default codec is not impacted since it has always had the same chunk size (16KB).

      Attachments

        1. LUCENE-5342.patch
          3 kB
          Adrien Grand

        Activity

          People

            jpountz Adrien Grand
            jpountz Adrien Grand
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: