Return-Path: Delivered-To: apmail-jakarta-lucene-user-archive@www.apache.org Received: (qmail 50054 invoked from network); 5 Dec 2003 20:33:33 -0000 Received: from daedalus.apache.org (HELO mail.apache.org) (208.185.179.12) by minotaur-2.apache.org with SMTP; 5 Dec 2003 20:33:33 -0000 Received: (qmail 94015 invoked by uid 500); 5 Dec 2003 20:33:18 -0000 Delivered-To: apmail-jakarta-lucene-user-archive@jakarta.apache.org Received: (qmail 93984 invoked by uid 500); 5 Dec 2003 20:33:18 -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 93970 invoked from network); 5 Dec 2003 20:33:18 -0000 Received: from unknown (HELO five.zapatec.com) (66.117.150.100) by daedalus.apache.org with SMTP; 5 Dec 2003 20:33:18 -0000 Received: from rlx11.zapatec.com (rlx11.pr.zapatec.com [192.168.1.132]) by five.zapatec.com (Postfix) with ESMTP id 91D095D22 for ; Fri, 5 Dec 2003 12:33:23 -0800 (PST) Received: (from dror@localhost) by rlx11.zapatec.com (8.12.3/8.12.3/Submit) id hB5KXNvh062018 for lucene-user@jakarta.apache.org; Fri, 5 Dec 2003 12:33:23 -0800 (PST) (envelope-from dror) Date: Fri, 5 Dec 2003 12:33:23 -0800 From: Dror Matalon To: Lucene Users List Subject: Re: Returning one result Message-ID: <20031205203323.GG61794@rlx11.zapatec.com> References: <1B76D3F17F4BE44283AD3C1C92AB590B3E7E83@EMSS04M14.us.lmco.com> <6.0.0.22.0.20031205152724.039b72b0@mail.visionstudio.com> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <6.0.0.22.0.20031205152724.039b72b0@mail.visionstudio.com> X-Spam-Rating: daedalus.apache.org 1.6.2 0/1000/N X-Spam-Rating: minotaur-2.apache.org 1.6.2 0/1000/N Mike, Boy, I said it so badly and yet you understood :-). Dror On Fri, Dec 05, 2003 at 03:31:15PM -0500, Michael Giles wrote: > Tracy, > > I believe what Dror was referring to was the call to > MultiFieldQueryParser.parse(). The second argument to that call is a > String[] of field names on which to execute the query. If the field that > contains "AR345" isn't listed in that array, you will not get any results. > > -Mike > > At 03:14 PM 12/5/2003, you wrote: > >What do you mean 'add' in MultiFieldQueryParser? I am using all the > >fields > > > >When I index it does > > > > add (Field.Keyword(..,..)) > > > > > >But I don't want the user to have to type ID: It would be > >nice to just type ID Number. On your site if you just put: 11183 in the > >search box there are no results. > > > >well, right now I'll just do it as text and query that field for the id > ># to display the document. It can't hurt, right? :) Unless the Keyword > >is a better way > > > > > > > >- > > > > --------------------------------------------------------------------- > To unsubscribe, e-mail: lucene-user-unsubscribe@jakarta.apache.org > For additional commands, e-mail: lucene-user-help@jakarta.apache.org > -- Dror Matalon Zapatec Inc 1700 MLK Way Berkeley, CA 94709 http://www.fastbuzz.com http://www.zapatec.com --------------------------------------------------------------------- To unsubscribe, e-mail: lucene-user-unsubscribe@jakarta.apache.org For additional commands, e-mail: lucene-user-help@jakarta.apache.org