Return-Path: Delivered-To: apmail-jakarta-lucene-user-archive@apache.org Received: (qmail 41917 invoked from network); 6 Nov 2002 19:47:47 -0000 Received: from unknown (HELO nagoya.betaversion.org) (192.18.49.131) by daedalus.apache.org with SMTP; 6 Nov 2002 19:47:47 -0000 Received: (qmail 3455 invoked by uid 97); 6 Nov 2002 19:48:43 -0000 Delivered-To: qmlist-jakarta-archive-lucene-user@jakarta.apache.org Received: (qmail 3424 invoked by uid 97); 6 Nov 2002 19:48:42 -0000 Mailing-List: contact lucene-user-help@jakarta.apache.org; run by ezmlm Precedence: bulk List-Unsubscribe: List-Subscribe: List-Help: List-Post: List-Id: "Lucene Users List" Reply-To: "Lucene Users List" Delivered-To: mailing list lucene-user@jakarta.apache.org Received: (qmail 3404 invoked by uid 98); 6 Nov 2002 19:48:41 -0000 X-Antivirus: nagoya (v4218 created Aug 14 2002) From: "Rob Outar" To: "Lucene Users List" Subject: Several fields with the same name Date: Wed, 6 Nov 2002 14:46:10 -0500 Message-ID: MIME-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit X-Priority: 3 (Normal) X-MSMail-Priority: Normal X-Mailer: Microsoft Outlook IMO, Build 9.0.2416 (9.0.2911.0) In-Reply-To: <20021105210006.J23115@incze.incze.hu> Importance: Normal X-MimeOLE: Produced By Microsoft MimeOLE V6.00.2800.1106 X-Spam-Rating: daedalus.apache.org 1.6.2 0/1000/N X-Spam-Rating: daedalus.apache.org 1.6.2 0/1000/N Hello all, I have a relationship where for one key there are many values, basically a 1 to many relationship. For example with the key = name, value = bob, jim, etc.. When a client wants all the values that have been associated with the field name, how would I get that? The javadoc for Document.get(String name) states: Returns the string value of the field with the given name if any exist in this document, or null. If multiple fields may exist with this name, this method returns the last added such added. I don't need the last field's value, I need all values associated with that field. Any help would be appreciated. Thanks, Rob -- To unsubscribe, e-mail: For additional commands, e-mail: