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

    XMLWordPrintableJSON

Details

    • Improvement
    • Status: Closed
    • Minor
    • Resolution: Fixed
    • 4.0-ALPHA
    • 4.0-ALPHA
    • core/index, core/search
    • 64bit linux java 1.6

    • 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. LUCENE-3638.patch
          6 kB
          Michael McCandless
        2. doc.fields.patch
          5 kB
          peter chang

        Activity

          People

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

            Dates

              Created:
              Updated:
              Resolved: