Return-Path: X-Original-To: apmail-lucene-java-user-archive@www.apache.org Delivered-To: apmail-lucene-java-user-archive@www.apache.org Received: from mail.apache.org (hermes.apache.org [140.211.11.3]) by minotaur.apache.org (Postfix) with SMTP id 50EB49715 for ; Tue, 24 Jan 2012 22:05:36 +0000 (UTC) Received: (qmail 29458 invoked by uid 500); 24 Jan 2012 22:05:34 -0000 Delivered-To: apmail-lucene-java-user-archive@lucene.apache.org Received: (qmail 29240 invoked by uid 500); 24 Jan 2012 22:05:33 -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 29231 invoked by uid 99); 24 Jan 2012 22:05:33 -0000 Received: from nike.apache.org (HELO nike.apache.org) (192.87.106.230) by apache.org (qpsmtpd/0.29) with ESMTP; Tue, 24 Jan 2012 22:05:33 +0000 X-ASF-Spam-Status: No, hits=-0.0 required=5.0 tests=RCVD_IN_DNSWL_LOW,SPF_NEUTRAL X-Spam-Check-By: apache.org Received-SPF: neutral (nike.apache.org: local policy) Received: from [74.125.82.176] (HELO mail-we0-f176.google.com) (74.125.82.176) by apache.org (qpsmtpd/0.29) with ESMTP; Tue, 24 Jan 2012 22:05:26 +0000 Received: by wejx9 with SMTP id x9so3116040wej.35 for ; Tue, 24 Jan 2012 14:05:06 -0800 (PST) Received: by 10.216.135.35 with SMTP id t35mr6162496wei.9.1327442706375; Tue, 24 Jan 2012 14:05:06 -0800 (PST) MIME-Version: 1.0 Received: by 10.216.182.149 with HTTP; Tue, 24 Jan 2012 14:04:42 -0800 (PST) In-Reply-To: References: From: Michael McCandless Date: Tue, 24 Jan 2012 17:04:42 -0500 Message-ID: Subject: Re: Lucene 4.0 Get All Index Terms To: java-user@lucene.apache.org X-Gm-Message-State: ALoCoQlJFd8/BOTBowCExaIsdvXT3qkcMz7ZnIiUC5hGtfH6t5mxdfyICxjsi3TckZm2mqOhrGGh Content-Type: text/plain; charset=ISO-8859-1 X-Virus-Checked: Checked by ClamAV on apache.org Have a look at lucene/MIGRATE.txt? It [tries to] describe this change... and if something is missing please report back! Mike McCandless http://blog.mikemccandless.com On Tue, Jan 24, 2012 at 4:10 PM, Stephen Howe wrote: > Hi all, > > Looking at some older Lucene examples, I noticed for older versions of > lucene that IndexReader came with a handy terms() method that would return > a listing of all the terms in the index and let you get at the term > frequency. In Lucene 4.0, I noticed this method vanished from IndexReader. > I'd like to do some analysis on my text corpus and was wondering if I could > still easily get that information via the API, and if not, what the new > best practice for retrieving index statistics is or will be. > > Thanks! > S --------------------------------------------------------------------- To unsubscribe, e-mail: java-user-unsubscribe@lucene.apache.org For additional commands, e-mail: java-user-help@lucene.apache.org