lucene-java-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Cam Bazz" <>
Subject top terms
Date Tue, 12 Aug 2008 23:39:40 GMT

how do we get the terms with the highest frequency for a given field?

I know one can TermEnum terms = searcher.getIndexReader().terms() then,
iterate over it and filter the fields required and count them,
but is there a way to get lets say top 50 terms for a given field without

Best Regards,

  • Unnamed multipart/alternative (inline, None, 0 bytes)
View raw message