lucene-java-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From 장용석 <need4...@gmail.com>
Subject Re: The best way get highest frequency term from index
Date Wed, 16 Jan 2013 12:08:06 GMT
Thank you for your reply!



2013/1/16 Ian Lea <ian.lea@gmail.com>

> 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, 장용석 <need4spd@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-unsubscribe@lucene.apache.org
> For additional commands, e-mail: java-user-help@lucene.apache.org
>
>


-- 
DEV용식
http://devyongsik.tistory.com

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