[
https://issues.apache.org/jira/browse/LUCENE-2543?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]
Woody Anderson updated LUCENE-2543:
-----------------------------------
Attachment: LUCENE-2543.patch
adds the getPosition(Term) method, 'tests' it by iterating an enum and
validating that the positions match and are strict monotonic etc.
> expose position information in SegmentReader, add method getPosition(term)
> --------------------------------------------------------------------------
>
> Key: LUCENE-2543
> URL: https://issues.apache.org/jira/browse/LUCENE-2543
> Project: Lucene - Java
> Issue Type: Improvement
> Components: Search
> Affects Versions: 3.0.2
> Reporter: Woody Anderson
> Fix For: 3.0.2, 4.0
>
> Attachments: LUCENE-2543.patch
>
>
> add public long getPosition(Term) to SegmentReader.
> Also, update the impl of getPosition in TermInfosReader (called by new
> method) to use enumerator.scanTo() to avoid creating many intermediate Term
> objects.
--
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.
---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]