lucene-java-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Chris Hostetter <>
Subject Re: Retrieving TermVectors from a Field over the full index?
Date Mon, 11 Jun 2007 17:36:31 GMT

: It seems like what's missing is the efficient ability for
: TermDocs/TermInfosReader to seek to the first term of a given field.
: They already can seek to a given specific term; with some small

isn't TermEnum.skipTo(new Term("field","") followed by going to take care of this for you?

The first call should efficinetly skip to the first term in the field
"field" (if there is one) and the second call should efficiently seek the
TermDoc to the first doc containing that term.

(This is how TermScorer and RangeFilter work work as i recall)


To unsubscribe, e-mail:
For additional commands, e-mail:

View raw message