lucene-java-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Chris Hostetter <hossman_luc...@fucit.org>
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
termDocs.seek(TermEnum) 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)




-Hoss


---------------------------------------------------------------------
To unsubscribe, e-mail: java-user-unsubscribe@lucene.apache.org
For additional commands, e-mail: java-user-help@lucene.apache.org


Mime
View raw message