Highlighter needs the whole text in memory to work
--------------------------------------------------
Key: LUCENE-3772
URL: https://issues.apache.org/jira/browse/LUCENE-3772
Project: Lucene - Java
Issue Type: Improvement
Components: modules/highlighter
Affects Versions: 3.5
Environment: Windows 7 Enterprise x64, JRE 1.6.0_25
Reporter: Luis Filipe Nassif
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:
https://issues.apache.org/jira/secure/ContactAdministrators!default.jspa
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]