lucene-java-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
Subject Re: Class_for_HighFrequencyTerms
Date Tue, 11 May 2010 10:01:20 GMT
Sounds like your path is messed up and you're not using maven correctly. Start with the jar
version that contains the class you require and use maven pom to correctly resolve dependencies

Sent using BlackBerry® from Orange

-----Original Message-----
From: manjula wijewickrema <>
Date: Tue, 11 May 2010 15:13:12 
To: <>
Subject: Re: Class_for_HighFrequencyTerms

Dear Erick,

I lokked for it and even added and
But after adding the system indicated a lot of errors in the source code (eg: DirectoryOwningReader cannot be resolved to a
type, indexCommit
cannot be resolved to a type, SegmentInfos cannot be resolved, TermEnum
cannot be resolved to a type, etc.). I am using Lucene 2.9.1 and this
particular website has listed this source code under 2.9.1 version of
Lucene. What is the reason for this kind of scenario? Do I have to add
another JAR file (in order to solve this even I added
lucene-core-2.9.1-sources.jar, but nothing happened). Pls. be kind enough to
make a reply.


On Tue, May 11, 2010 at 1:26 AM, Erick Erickson <>wrote:

> Have you looked at TermFreqVector?
> Best
> Erick
> On Mon, May 10, 2010 at 8:10 AM, manjula wijewickrema
> <>wrote:
> > Hi,
> >
> > If I index a document (single document) in Lucene, then how can I get the
> > term frequencies (even the first and second highest occuring terms) of
> that
> > document? Is there any class/method to do taht? If anybody knows, pls.
> help
> > me.
> >
> > Thanks
> > Manjula
> >

View raw message