Return-Path: Delivered-To: apmail-jakarta-lucene-user-archive@apache.org Received: (qmail 12405 invoked from network); 20 Mar 2002 07:32:52 -0000 Received: from unknown (HELO nagoya.betaversion.org) (192.18.49.131) by daedalus.apache.org with SMTP; 20 Mar 2002 07:32:52 -0000 Received: (qmail 8087 invoked by uid 97); 20 Mar 2002 07:33:02 -0000 Delivered-To: qmlist-jakarta-archive-lucene-user@jakarta.apache.org Received: (qmail 8071 invoked by uid 97); 20 Mar 2002 07:33:02 -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 8060 invoked from network); 20 Mar 2002 07:33:01 -0000 X-Authentication-Warning: ritchie.pisoftware.com: Host stallman.pisoftware.com [203.20.51.50] claimed to be morris.bne.pisoftware.com Message-Id: <200203200732.RAA18446@morris.bne.pisoftware.com> X-Authentication-Warning: morris.bne.pisoftware.com: Host tate@kildall.bne.pisoftware.com [192.168.20.65] claimed to be there Content-Type: text/plain; charset="iso-8859-1" From: Tate Jones Reply-To: tate@pisoftware.com Organization: Plugged In Software To: "Lucene Users List" Subject: Multiple field searching Date: Wed, 20 Mar 2002 17:36:26 +1000 X-Mailer: KMail [version 1.3.2] References: In-Reply-To: MIME-Version: 1.0 Content-Transfer-Encoding: 8bit X-Spam-Rating: daedalus.apache.org 1.6.2 0/1000/N X-Spam-Rating: daedalus.apache.org 1.6.2 0/1000/N hi, I am trying to search across multiple fields using the following query +keyword:computers +subject:News content:xml or +(keyword:{computers}) +(subject:{News}) content:xml i have added the fields to the document correctly. Have also tried using the MutipleFieldQueryParser without success. The only query that works is, which is not correct as they are OR's keyword:computers subject:IT content:xml Is anyone having the same problems Thanks in advance Tate -- To unsubscribe, e-mail: For additional commands, e-mail: