You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@lucene.apache.org by "Michael McCandless (JIRA)" <ji...@apache.org> on 2012/12/25 21:44:12 UTC
[jira] [Commented] (LUCENE-4648) PostingsHighlighter should score
only with within-document statistics
[ https://issues.apache.org/jira/browse/LUCENE-4648?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13539435#comment-13539435 ]
Michael McCandless commented on LUCENE-4648:
--------------------------------------------
+1, this looks like a nice improvement.
> 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: dev-unsubscribe@lucene.apache.org
For additional commands, e-mail: dev-help@lucene.apache.org