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: 4.0, 3.0.2


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]

Reply via email to