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

IndexReader.document always return a doc with all the stored fields loaded. And this can be slow for the indexed document contain huge fields

    Details

    • Type: Improvement
    • Status: Closed
    • Priority: Minor
    • Resolution: Fixed
    • Affects Version/s: 4.0-ALPHA
    • Fix Version/s: 4.0-ALPHA
    • Component/s: core/index, core/search
    • Labels:
    • Environment:

      64bit linux java 1.6

    • Lucene Fields:
      New, Patch Available

      Description

      when generating digest for some documents with huge fields, it should be unnecessary to load the field but just interesting part of the field with the offset information. but indexreader always return the whole field content. afterward, the customized storedfieldsreader will got a repeated loading

        Attachments

        1. doc.fields.patch
          5 kB
          peter chang
        2. LUCENE-3638.patch
          6 kB
          Michael McCandless

          Activity

            People

            • Assignee:
              Unassigned
              Reporter:
              peterchang peter chang
            • Votes:
              0 Vote for this issue
              Watchers:
              0 Start watching this issue

              Dates

              • Created:
                Updated:
                Resolved: