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/09 10:47:35 UTC

[jira] [Comment Edited] (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=14311987#comment-14311987 ] 

Alan Woodward edited comment on LUCENE-6226 at 2/9/15 9:46 AM:
---------------------------------------------------------------

You're right, I'm getting ahead of myself here.  We don't need to worry about positions being exhausted until we have queries that use subscorer positions and can't call freq() up front.

Here's an amended patch that removes the upto tracking from TermScorer and reverts the changes to Collector.

Edit: also fixes the PostingsEnum.nextPosition() javadocs


was (Author: romseygeek):
You're right, I'm getting ahead of myself here.  We don't need to worry about positions being exhausted until we have queries that use subscorer positions and can't call freq() up front.

Here's an amended patch that removes the upto tracking from TermScorer and reverts the changes to Collector.

> 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, LUCENE-6226.patch, 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