Return-Path: Delivered-To: apmail-lucene-general-archive@www.apache.org Received: (qmail 88676 invoked from network); 26 Oct 2006 06:57:22 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (140.211.11.2) by minotaur.apache.org with SMTP; 26 Oct 2006 06:57:22 -0000 Received: (qmail 47458 invoked by uid 500); 25 Oct 2006 12:38:47 -0000 Delivered-To: apmail-lucene-general-archive@lucene.apache.org Received: (qmail 47447 invoked by uid 500); 25 Oct 2006 12:38:47 -0000 Mailing-List: contact general-help@lucene.apache.org; run by ezmlm Precedence: bulk List-Help: List-Unsubscribe: List-Post: List-Id: Reply-To: general@lucene.apache.org Delivered-To: mailing list general@lucene.apache.org Received: (qmail 47436 invoked by uid 99); 25 Oct 2006 12:38:47 -0000 Received: from herse.apache.org (HELO herse.apache.org) (140.211.11.133) by apache.org (qpsmtpd/0.29) with ESMTP; Wed, 25 Oct 2006 05:38:47 -0700 X-ASF-Spam-Status: No, hits=0.5 required=10.0 tests=DNS_FROM_RFC_ABUSE,SPF_PASS X-Spam-Check-By: apache.org Received-SPF: pass (herse.apache.org: domain of regebro@gmail.com designates 66.249.92.174 as permitted sender) Received: from [66.249.92.174] (HELO ug-out-1314.google.com) (66.249.92.174) by apache.org (qpsmtpd/0.29) with ESMTP; Wed, 25 Oct 2006 05:38:34 -0700 Received: by ug-out-1314.google.com with SMTP id k40so79567ugc for ; Wed, 25 Oct 2006 05:38:12 -0700 (PDT) DomainKey-Signature: a=rsa-sha1; q=dns; c=nofws; s=beta; d=gmail.com; h=received:message-id:date:from:to:subject:mime-version:content-type:content-transfer-encoding:content-disposition; b=F9sFFQMNNd8QZ0uRHqbYEZwOE5ojPOFXgHFBYqnuJkBjuPghoXBBIdr9UPw66EMu/gjU0VoxytPuhR/ka3E8ncWQbF91TljCqnItR3F+hhz/AfVMcVAQVVHpO1bDnJiBGT+tqWcaMgy+jFQNk5fuUHIm6WBq1S2hScPXDnovBsE= Received: by 10.78.200.20 with SMTP id x20mr346874huf; Wed, 25 Oct 2006 05:38:12 -0700 (PDT) Received: by 10.78.115.12 with HTTP; Wed, 25 Oct 2006 05:38:12 -0700 (PDT) Message-ID: <319e029f0610250538t6516dd69mcec556b0f8a670c6@mail.gmail.com> Date: Wed, 25 Oct 2006 14:38:12 +0200 From: "Lennart Regebro" To: general@lucene.apache.org Subject: Getting the terms for a particular field. MIME-Version: 1.0 Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit Content-Disposition: inline X-Virus-Checked: Checked by ClamAV on apache.org Hi! I'm trying to get out all of the terms in a field. More specifically, I'm trying to get a complete list of the UIDs I have indexed. The best I have come up with so far is to go through all the terms gotten from the IndexReader.terms() and filter on field(). That works but fields kinda silly, but I don't know enough of Lucenes internals to know if it is silly or not. ;-) I'm using NX/Lucene/PyLucene is that makes a difference. -- Lennart Regebro, Nuxeo http://www.nuxeo.com/ CPS Content Management http://www.nuxeo.org/