Return-Path: Delivered-To: apmail-jakarta-lucene-user-archive@apache.org Received: (qmail 28836 invoked from network); 14 Feb 2002 05:36:18 -0000 Received: from unknown (HELO nagoya.betaversion.org) (192.18.49.131) by daedalus.apache.org with SMTP; 14 Feb 2002 05:36:18 -0000 Received: (qmail 11231 invoked by uid 97); 14 Feb 2002 05:36:27 -0000 Delivered-To: qmlist-jakarta-archive-lucene-user@jakarta.apache.org Received: (qmail 11211 invoked by uid 97); 14 Feb 2002 05:36:27 -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 11196 invoked from network); 14 Feb 2002 05:36:26 -0000 Message-ID: <00a901c1b519$e0741b80$0b01a8c0@168.1.8.Domainrelevanz> Reply-To: "Kelvin Tan" From: "Kelvin Tan" To: "Lucene Users List" , "Kelvin Tan" References: <007f01c1b518$f37ecaa0$0b01a8c0@168.1.8.Domainrelevanz> Subject: Re: Searching multiple fields in one Index of Documents Date: Thu, 14 Feb 2002 13:38:48 +0800 Organization: Relevanz Pte Ltd MIME-Version: 1.0 Content-Type: text/plain; charset="iso-8859-1" Content-Transfer-Encoding: 7bit X-Priority: 3 X-MSMail-Priority: Normal X-Mailer: Microsoft Outlook Express 6.00.2600.0000 X-MimeOLE: Produced By Microsoft MimeOLE V6.00.2600.0000 X-Spam-Rating: daedalus.apache.org 1.6.2 0/1000/N X-Spam-Rating: daedalus.apache.org 1.6.2 0/1000/N Odd, I'm positive I uploaded the HTML file with the other attachments. I've uploaded it here anyway. http://www.relevanz.com/luceneQueryConstructor.html HTH. Regards, Kelvin ----- Original Message ----- From: "Kelvin Tan" To: "Lucene Users List" Sent: Thursday, February 14, 2002 1:32 PM Subject: Re: Searching multiple fields in one Index of Documents > Peter, > > As advised, re-released under APL. :) There were some changes to QueryParser > constructors in rc3, and these are reflected here as well. > > FWIW, I've also attached a javascript lib and accompanying HTML which > constructs a Lucene multi-field query using a HTML form. > > Regards, > Kelvin > > ----- Original Message ----- > From: "Peter Carlson" > To: "Lucene Users List" > Sent: Wednesday, February 13, 2002 10:56 PM > Subject: Re: Searching multiple fields in one Index of Documents > > > > This is great Kelvin, > > Sorry I didn't see it before. > > I'll add it to the list of contributions. > > > > --Peter > > > > On 2/13/02 12:43 AM, "Kelvin Tan" wrote: > > > > > Charles, > > > > > > See > http://www.mail-archive.com/lucene-user@jakarta.apache.org/msg00176.html > > > > > > Regards, > > > K > > > > > > ----- Original Message ----- > > > From: "Charles Harvey" > > > To: > > > Sent: Tuesday, February 12, 2002 8:39 AM > > > Subject: Searching multiple fields in one Index of Documents > > > > > > > > >> I have a working installation of Lucene running against indexes created > by > > >> a database query. > > >> Each Document in the Index contains fifteen or twenty fields. I am > > >> currently searching only one field (that contains concatenated database > > >> columns) because I cannot figure out how to search multiple fields. So: > > >> > > >> How can I use Lucene to search more than one field in an Index of > > > Documents? > > >> > > >> eg: > > >> field CATEGORY is(or contains) 'bar' > > >> AND > > >> field BODY contains 'foo' > > >> > > >> > > >> > > >> > > >> _________________ > > >> > > >> "The trouble with the rat-race is that even if you win you're still a > > > rat." > > >> --Lily Tomlin > > >> _________________ > > >> Charles Harvey > > >> Developer > > >> http://www.philly.com > > >> Wk: 215 789 6057 > > >> Cell: 215 588 0851 > > >> > > >> > > >> -- > > >> To unsubscribe, e-mail: > > > > > >> For additional commands, e-mail: > > > > > >> > > >> > > > > > > > > > -- > > > To unsubscribe, e-mail: > > > > For additional commands, e-mail: > > > > > > > > > > > > > -- > > To unsubscribe, e-mail: > > > For additional commands, e-mail: > > > > > > ---------------------------------------------------------------------------- ---- > -- > To unsubscribe, e-mail: > For additional commands, e-mail: -- To unsubscribe, e-mail: For additional commands, e-mail: