lucene-java-user mailing list archives

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

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


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

View raw message