[ https://issues.apache.org/jira/browse/LUCENE-2949?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13148937#comment-13148937 ]
Koji Sekiguchi commented on LUCENE-2949: ---------------------------------------- Thanks Simon for awaking me on this! I'll commit if nobody objects. > FastVectorHighlighter FieldTermStack could likely benefit from using > TermVectorMapper > ------------------------------------------------------------------------------------- > > Key: LUCENE-2949 > URL: https://issues.apache.org/jira/browse/LUCENE-2949 > Project: Lucene - Java > Issue Type: Improvement > Affects Versions: 3.0.3, 4.0 > Reporter: Grant Ingersoll > Assignee: Koji Sekiguchi > Priority: Minor > Labels: FastVectorHighlighter, Highlighter > Fix For: 3.5, 4.0 > > Attachments: LUCENE-2949.patch > > > Based on my reading of the FieldTermStack constructor that loads the vector > from disk, we could probably save a bunch of time and memory by using the > TermVectorMapper callback mechanism instead of materializing the full array > of terms into memory and then throwing most of them out. -- 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: dev-unsubscr...@lucene.apache.org For additional commands, e-mail: dev-h...@lucene.apache.org