You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@lucene.apache.org by "Luis Filipe Nassif (JIRA)" <ji...@apache.org> on 2012/10/15 01:57:02 UTC

[jira] [Commented] (LUCENE-3772) Highlighter needs the whole text in memory to work

    [ 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: dev-unsubscribe@lucene.apache.org
For additional commands, e-mail: dev-help@lucene.apache.org