You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@lucene.apache.org by "Alan Woodward (JIRA)" <ji...@apache.org> on 2015/02/08 18:54:34 UTC

[jira] [Commented] (LUCENE-6226) Allow TermScorer to expose positions, offsets and payloads

    [ 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-unsubscribe@lucene.apache.org
For additional commands, e-mail: dev-help@lucene.apache.org