lucene-java-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Daniel Naber <>
Subject Re: Unique list of keywords
Date Fri, 08 Aug 2008 18:53:16 GMT
On Freitag, 8. August 2008, Martin vWysiecki wrote:

> i have very much data, about 20GB of text, and need a unique list of
> keywords based on my text in all docs from the whole index.

Simply use IndexReader.terms() to iterate over all terms in the index. You 
can then use IndexReader.docFreq(Term) to get the number of documents each 
terms occurs in.



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

View raw message