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

Alan Woodward commented on LUCENE-6226:
---------------------------------------

This patch requires a change to the Weight API, where instead of taking a 
boolean for needsScores, it now takes an integer bitmask indicating which 
postings features should be retrieved and made available via the Scorer.  This 
has knock-on effects on Collector.needScores(), which becomes 
Collector.postingsFlags(), and on IndexSearcher.createNormalizedWeight().

> Allow TermScorer to expose positions, offsets and payloads
> ----------------------------------------------------------
>
>                 Key: LUCENE-6226
>                 URL: https://issues.apache.org/jira/browse/LUCENE-6226
>             Project: Lucene - Core
>          Issue Type: Improvement
>            Reporter: Alan Woodward
>            Assignee: Alan Woodward
>             Fix For: Trunk, 5.1
>
>         Attachments: LUCENE-6226.patch
>
>




--
This message was sent by Atlassian JIRA
(v6.3.4#6332)

---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscr...@lucene.apache.org
For additional commands, e-mail: dev-h...@lucene.apache.org

Reply via email to