[ 
https://issues.apache.org/jira/browse/LUCENE-4648?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13539642#comment-13539642
 ] 

Commit Tag Bot commented on LUCENE-4648:
----------------------------------------

[trunk commit] Robert Muir
http://svn.apache.org/viewvc?view=revision&revision=1425992

LUCENE-4648: use only within-doc stats for PostingsHighlighter

                
> 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
>             Fix For: 4.1, 5.0
>
>         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-unsubscr...@lucene.apache.org
For additional commands, e-mail: dev-h...@lucene.apache.org

Reply via email to