[
https://issues.apache.org/jira/browse/LUCENE-3772?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13475924#comment-13475924
]
Luis Filipe Nassif commented on LUCENE-3772:
--------------------------------------------
I think this improvement is still important.
> Highlighter needs the whole text in memory to work
> --------------------------------------------------
>
> Key: LUCENE-3772
> URL: https://issues.apache.org/jira/browse/LUCENE-3772
> Project: Lucene - Core
> Issue Type: Improvement
> Components: modules/highlighter
> Affects Versions: 3.5
> Environment: Windows 7 Enterprise x64, JRE 1.6.0_25
> Reporter: Luis Filipe Nassif
> Labels: highlighter, improvement, memory
>
> 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.
--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators
For more information on JIRA, see: http://www.atlassian.com/software/jira
---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]