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

Highlighter needs the whole text in memory to work

    XMLWordPrintableJSON

    Details

    • Type: Improvement
    • Status: Open
    • Priority: Major
    • Resolution: Unresolved
    • Affects Version/s: 3.5
    • Fix Version/s: None
    • Component/s: modules/highlighter
    • Environment:

      Windows 7 Enterprise x64, JRE 1.6.0_25

    • Lucene Fields:
      New

      Description

      Highlighter methods getBestFragment(s) and getBestTextFragments only accept a String object representing the whole text to highlight. When dealing with very large docs simultaneously, it can lead to heap consumption problems. It would be better if the API could accept a Reader objetct additionally, like Lucene Document Fields do.

        Attachments

          Activity

            People

            • Assignee:
              Unassigned
              Reporter:
              lfcnassif Luís Filipe Nassif
            • Votes:
              0 Vote for this issue
              Watchers:
              2 Start watching this issue

              Dates

              • Created:
                Updated: