lucene-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Spencer, Dave" <d...@lumos.com>
Subject How do I get TermPositions for a given document?
Date Wed, 23 Oct 2002 21:50:15 GMT

I have an IndexReader and I want to get a TermPositions obj for a given
document.
Right now it seems that it only works the other way - you can only get
TermPositions for a term, or globally for all terms.
Basically I want to know the positions of all the words in a given doc.
Is it the case that the index is not set up for this as it's really
optimized
to work the other way?

Looked thru RC5 javadoc and the latest Oct 23 src. It may be that I
missed it...

--
To unsubscribe, e-mail:   <mailto:lucene-dev-unsubscribe@jakarta.apache.org>
For additional commands, e-mail: <mailto:lucene-dev-help@jakarta.apache.org>


Mime
View raw message