[
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: [email protected]
For additional commands, e-mail: [email protected]