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

Compressed fields should be "externalized" (from Fields into Document)

Details

    • Improvement
    • Status: Closed
    • Minor
    • Resolution: Fixed
    • 1.9, 2.0.0, 2.1
    • 2.9
    • core/index
    • None

    Description

      Right now, as of 2.0 release, Lucene supports compressed stored fields. However, after discussion on java-dev, the suggestion arose, from Robert Engels, that it would be better if this logic were moved into the Document level. This way the indexing level just stores opaque binary fields, and then Document handles compress/uncompressing as needed.

      This approach would have prevented issues like LUCENE-629 because merging of segments would never need to decompress.

      See this thread for the recent discussion:

      http://www.gossamer-threads.com/lists/lucene/java-dev/38836

      When we do this we should also work on related issue LUCENE-648.

      Attachments

        1. LUCENE-652.patch
          13 kB
          Michael McCandless
        2. LUCENE-652.patch
          4 kB
          Michael McCandless
        3. LUCENE-652.patch
          5 kB
          Uwe Schindler

        Activity

          People

            mikemccand Michael McCandless
            mikemccand Michael McCandless
            Votes:
            1 Vote for this issue
            Watchers:
            0 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: