lucene-java-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Chun Wei Ho" <cwho.w...@gmail.com>
Subject Obtain terms for only particular field(s)
Date Thu, 04 May 2006 10:36:20 GMT
Hi,

I have a pretty large index and I would like to obtain all the Terms
for only one or two particular fields.

As I understand - IndexReader.terms() returns a termEnum of all the
terms in the index, and I would have to iterate through all of them to
pick out the ones from the fields that I want. Is there a better way
to do this?

Thanks :)

CW

---------------------------------------------------------------------
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