[
https://issues.apache.org/jira/browse/LUCENE-4648?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]
Robert Muir updated LUCENE-4648:
--------------------------------
Attachment: LUCENE-4648.patch
> PostingsHighlighter should score only with within-document statistics
> ---------------------------------------------------------------------
>
> Key: LUCENE-4648
> URL: https://issues.apache.org/jira/browse/LUCENE-4648
> Project: Lucene - Core
> Issue Type: Improvement
> Components: modules/other
> Affects Versions: 4.1
> Reporter: Robert Muir
> Attachments: LUCENE-4648.patch
>
>
> PostingsHighlighter (in sandbox) treats documents to be highlighted as
> collections of small documents (snippets).
> But (like the other highlighters), it uses collection-wide stats to score the
> snippets. It actually calls the indexsearcher method which might even result
> in a distributed call. I don't think its worth it to do all this. It means we
> have to reseek to all terms across all segments at the minimum, and it means
> snippets change over time and so on.
> I think its good enough to only use within-document stats. And it might speed
> up highlighting.
--
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]