Return-Path: Delivered-To: apmail-lucene-solr-user-archive@locus.apache.org Received: (qmail 33584 invoked from network); 19 Nov 2007 15:02:26 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (140.211.11.2) by minotaur.apache.org with SMTP; 19 Nov 2007 15:02:26 -0000 Received: (qmail 89291 invoked by uid 500); 19 Nov 2007 15:02:11 -0000 Delivered-To: apmail-lucene-solr-user-archive@lucene.apache.org Received: (qmail 89250 invoked by uid 500); 19 Nov 2007 15:02:11 -0000 Mailing-List: contact solr-user-help@lucene.apache.org; run by ezmlm Precedence: bulk List-Help: List-Unsubscribe: List-Post: List-Id: Reply-To: solr-user@lucene.apache.org Delivered-To: mailing list solr-user@lucene.apache.org Received: (qmail 89227 invoked by uid 99); 19 Nov 2007 15:02:11 -0000 Received: from athena.apache.org (HELO athena.apache.org) (140.211.11.136) by apache.org (qpsmtpd/0.29) with ESMTP; Mon, 19 Nov 2007 07:02:11 -0800 X-ASF-Spam-Status: No, hits=1.2 required=10.0 tests=SPF_NEUTRAL X-Spam-Check-By: apache.org Received-SPF: neutral (athena.apache.org: local policy) Received: from [208.97.132.202] (HELO spunkymail-a17.g.dreamhost.com) (208.97.132.202) by apache.org (qpsmtpd/0.29) with ESMTP; Mon, 19 Nov 2007 15:01:59 +0000 Received: from [192.168.0.3] (adsl-074-229-189-244.sip.rmo.bellsouth.net [74.229.189.244]) by spunkymail-a17.g.dreamhost.com (Postfix) with ESMTP id 96DB574F21 for ; Mon, 19 Nov 2007 07:01:52 -0800 (PST) Message-Id: From: Grant Ingersoll To: solr-user@lucene.apache.org In-Reply-To: <746bb9e20711190250u367abc36y15937e29461b2d68@mail.gmail.com> Content-Type: text/plain; charset=US-ASCII; format=flowed Content-Transfer-Encoding: 7bit Mime-Version: 1.0 (Apple Message framework v915) Subject: Re: Get TF-IDF from index? Date: Mon, 19 Nov 2007 10:01:51 -0500 References: <746bb9e20711190250u367abc36y15937e29461b2d68@mail.gmail.com> X-Mailer: Apple Mail (2.915) X-Virus-Checked: Checked by ClamAV on apache.org Have a look at the LukeRequestHandler (I think it is only on trunk). -Grant On Nov 19, 2007, at 5:50 AM, Jack wrote: > I have only used the basic functionality of solr - post and query, > which works great. > > I wonder if it's possible to get more information from the index. For > example, I'd like to get the TF-IDF score of a given term, or get a > list of terms sorted by TF-IDF, not from a given document, but from > the whole corpus, or, simply to enumerate all indexed terms. > > Maybe solor doesn't expose this data, but I can use Lucene jar to get > them? Since I am not familiar with Lucene, either, any pointer is > helpful. > > Thanks, > jack -------------------------- Grant Ingersoll http://lucene.grantingersoll.com Lucene Helpful Hints: http://wiki.apache.org/lucene-java/BasicsOfPerformance http://wiki.apache.org/lucene-java/LuceneFAQ