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 583CB985C for ; Tue, 24 Jan 2012 21:10:51 +0000 (UTC) Received: (qmail 23155 invoked by uid 500); 24 Jan 2012 21:10:49 -0000 Delivered-To: apmail-lucene-java-user-archive@lucene.apache.org Received: (qmail 23082 invoked by uid 500); 24 Jan 2012 21:10:48 -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 23074 invoked by uid 99); 24 Jan 2012 21:10:48 -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 21:10:48 +0000 X-ASF-Spam-Status: No, hits=1.5 required=5.0 tests=HTML_MESSAGE,RCVD_IN_DNSWL_LOW,SPF_PASS X-Spam-Check-By: apache.org Received-SPF: pass (nike.apache.org: domain of silentgunner@gmail.com designates 209.85.214.176 as permitted sender) Received: from [209.85.214.176] (HELO mail-tul01m020-f176.google.com) (209.85.214.176) by apache.org (qpsmtpd/0.29) with ESMTP; Tue, 24 Jan 2012 21:10:40 +0000 Received: by obcwp18 with SMTP id wp18so7026517obc.35 for ; Tue, 24 Jan 2012 13:10:19 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=mime-version:date:message-id:subject:from:to:content-type; bh=ziuP3jP5q1itpxx8QsflUoZGeFtRaWS/u1Po8+FzqwQ=; b=isMwrxheA9zm3HShW+Bii5n3w4X7COS/OlxlkcnRc3E0ATYGNf+2B/47WlA2zK3iC6 vZfjJAN+d1HHus2fVJQ0ZCj18i6/my44SUGLNJBh9ghcgebaK/coQHUkYPH/LZQP+7OW qzNkxaVD8KTNb4EFU0rasciZZ5d/7nidNxVuM= MIME-Version: 1.0 Received: by 10.182.144.98 with SMTP id sl2mr7133751obb.43.1327439419827; Tue, 24 Jan 2012 13:10:19 -0800 (PST) Received: by 10.182.64.197 with HTTP; Tue, 24 Jan 2012 13:10:19 -0800 (PST) Date: Tue, 24 Jan 2012 16:10:19 -0500 Message-ID: Subject: Lucene 4.0 Get All Index Terms From: Stephen Howe To: java-user@lucene.apache.org Content-Type: multipart/alternative; boundary=14dae9399e171466f804b74c9320 X-Virus-Checked: Checked by ClamAV on apache.org --14dae9399e171466f804b74c9320 Content-Type: text/plain; charset=ISO-8859-1 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 --14dae9399e171466f804b74c9320--