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

Highlighter needs the whole text in memory to work

Details

    • Improvement
    • Status: Open
    • Major
    • Resolution: Unresolved
    • 3.5
    • None
    • modules/highlighter
    • Windows 7 Enterprise x64, JRE 1.6.0_25

    • 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

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

            Dates

              Created:
              Updated: