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

Speedup merging of stored fields when field mapping "matches"

    XMLWordPrintableJSON

    Details

    • Type: Improvement
    • Status: Closed
    • Priority: Minor
    • Resolution: Fixed
    • Affects Version/s: 2.2
    • Fix Version/s: 2.3
    • Component/s: core/index
    • Labels:
      None
    • Lucene Fields:
      New

      Description

      Robert Engels suggested the following idea, here:

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

      When merging in the stored fields from a segment, if the field name ->
      number mapping is identical then we can simply bulk copy the entire
      entry for the document rather than re-interpreting and then re-writing
      the actual stored fields.

      I've pulled the code from the above thread and got it working on the
      current trunk.

        Attachments

        1. LUCENE-1043.take2.patch
          12 kB
          Michael McCandless
        2. LUCENE-1043.patch
          8 kB
          Michael McCandless

          Activity

            People

            • Assignee:
              mikemccand Michael McCandless
              Reporter:
              mikemccand Michael McCandless
            • Votes:
              0 Vote for this issue
              Watchers:
              0 Start watching this issue

              Dates

              • Created:
                Updated:
                Resolved: