Return-Path: Delivered-To: apmail-lucene-java-user-archive@www.apache.org Received: (qmail 57122 invoked from network); 13 May 2010 09:50:03 -0000 Received: from unknown (HELO mail.apache.org) (140.211.11.3) by 140.211.11.9 with SMTP; 13 May 2010 09:50:03 -0000 Received: (qmail 81028 invoked by uid 500); 13 May 2010 09:50:01 -0000 Delivered-To: apmail-lucene-java-user-archive@lucene.apache.org Received: (qmail 80915 invoked by uid 500); 13 May 2010 09:50:00 -0000 Mailing-List: contact java-user-help@lucene.apache.org; run by ezmlm Precedence: bulk List-Help: List-Unsubscribe: List-Post: List-Id: Reply-To: java-user@lucene.apache.org Delivered-To: mailing list java-user@lucene.apache.org Received: (qmail 80904 invoked by uid 99); 13 May 2010 09:50:00 -0000 Received: from nike.apache.org (HELO nike.apache.org) (192.87.106.230) by apache.org (qpsmtpd/0.29) with ESMTP; Thu, 13 May 2010 09:50:00 +0000 X-ASF-Spam-Status: No, hits=4.4 required=10.0 tests=FREEMAIL_ENVFROM_END_DIGIT,FREEMAIL_FROM,HTML_MESSAGE,RCVD_IN_DNSWL_NONE,SPF_PASS,T_TO_NO_BRKTS_FREEMAIL X-Spam-Check-By: apache.org Received-SPF: pass (nike.apache.org: domain of manjula53@gmail.com designates 209.85.222.180 as permitted sender) Received: from [209.85.222.180] (HELO mail-pz0-f180.google.com) (209.85.222.180) by apache.org (qpsmtpd/0.29) with ESMTP; Thu, 13 May 2010 09:49:53 +0000 Received: by pzk10 with SMTP id 10so602057pzk.20 for ; Thu, 13 May 2010 02:49:32 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=domainkey-signature:mime-version:received:received:in-reply-to :references:date:message-id:subject:from:to:content-type; bh=81FgZO1eL/dlRB1e4z4XnlN0BwifW+uQkcwVQA0wpd8=; b=N4FUVNry8TDj4zJs82GZQo0VZP3Odw6M/d6B1cLyV12IQtTqWs6v3Hj3GWAz2adOss X0+vr1rhb0ruRBUfVC+4Nd1LhMlmzNuXS++S7POqiysJ+DPD0WczFDdsZVSM+hrQVRLS wg8kHS0GvvoS6UjaSS7PPCQl8kGtV34mc4qio= DomainKey-Signature: a=rsa-sha1; c=nofws; d=gmail.com; s=gamma; h=mime-version:in-reply-to:references:date:message-id:subject:from:to :content-type; b=XCR4WxkqCRnD+9S1maqBXjOIJ0woqO3bsvMeJCNDO8wOzDi+v9twv9DHdFqtYTHPxH hd2ZhVPHNisFAG+w2w8cKC9/FOD2WSk2BSdHwoI4vG3Ge+ARh6SBSliLUxKy7ecndIVQ T/rdbj4KzL7DhCEy3G996XJfAByAaOdHbtp7E= MIME-Version: 1.0 Received: by 10.141.213.36 with SMTP id p36mr6100023rvq.5.1273744171957; Thu, 13 May 2010 02:49:31 -0700 (PDT) Received: by 10.140.147.1 with HTTP; Thu, 13 May 2010 02:49:31 -0700 (PDT) In-Reply-To: <2074142523-1273572081-cardhu_decombobulator_blackberry.rim.net-57823665-@bda152.bisx.produk.on.blackberry> References: <2074142523-1273572081-cardhu_decombobulator_blackberry.rim.net-57823665-@bda152.bisx.produk.on.blackberry> Date: Thu, 13 May 2010 15:19:31 +0530 Message-ID: Subject: Re: Class_for_HighFrequencyTerms From: manjula wijewickrema To: java-user@lucene.apache.org, adam.saltiel@gmail.com Content-Type: multipart/alternative; boundary=000e0cd1b72ae7d378048676acf1 X-Virus-Checked: Checked by ClamAV on apache.org --000e0cd1b72ae7d378048676acf1 Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: quoted-printable thanks On Tue, May 11, 2010 at 3:31 PM, wrote: > 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 ma= ven > pom to correctly resolve dependencies > Adam > Sent using BlackBerry=AE 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 IndexReader.java and TermFreqVector.java > from > > http://www.jarvana.com/jarvana/search?search_type=3Dclass&java_class=3Dor= g.apache.lucene.index.IndexReader > . > But after adding the system indicated a lot of errors in the source code > IndexReader.java (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. > > Tanks > Manjula > > 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) o= f > > that > > > document? Is there any class/method to do taht? If anybody knows, pls= . > > help > > > me. > > > > > > Thanks > > > Manjula > > > > > > > --000e0cd1b72ae7d378048676acf1--