java org.apache.lucene.misc.HighFreqTerms indexdir 1 field That's for 4.0, in lucene-misc-4.0.0.jar. It has been around for ages but may have had a different package name in earlier releases.
I've no idea how it works and luckily don't need to. You can look at the source if you need to know. -- Ian. On Tue, Jan 15, 2013 at 3:16 PM, 장용석 <need4...@gmail.com> wrote: > Hi. > > What is the best way get highest frequency term from index? > > I think for this, using PriorityQueue and cut off lower frequency term. > But this way need performing loop as all term's count. > > Is there better way get highest frequency term? > > Thanks.! > -- > DEV용식 > http://devyongsik.tistory.com --------------------------------------------------------------------- To unsubscribe, e-mail: java-user-unsubscr...@lucene.apache.org For additional commands, e-mail: java-user-h...@lucene.apache.org