Return-Path: Delivered-To: apmail-lucene-java-user-archive@www.apache.org Received: (qmail 42958 invoked from network); 8 Mar 2006 08:30:07 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (209.237.227.199) by minotaur.apache.org with SMTP; 8 Mar 2006 08:30:07 -0000 Received: (qmail 6971 invoked by uid 500); 8 Mar 2006 08:29:55 -0000 Delivered-To: apmail-lucene-java-user-archive@lucene.apache.org Received: (qmail 6947 invoked by uid 500); 8 Mar 2006 08:29:55 -0000 Mailing-List: contact java-user-help@lucene.apache.org; run by ezmlm Precedence: bulk List-Help: List-Unsubscribe: List-Post: List-Id: Reply-To: java-user@lucene.apache.org Delivered-To: mailing list java-user@lucene.apache.org Received: (qmail 6936 invoked by uid 99); 8 Mar 2006 08:29:54 -0000 Received: from asf.osuosl.org (HELO asf.osuosl.org) (140.211.166.49) by apache.org (qpsmtpd/0.29) with ESMTP; Wed, 08 Mar 2006 00:29:54 -0800 X-ASF-Spam-Status: No, hits=0.0 required=10.0 tests=HTML_MESSAGE,SPF_PASS X-Spam-Check-By: apache.org Received-SPF: pass (asf.osuosl.org: domain of rrprabhu@gmail.com designates 64.233.182.195 as permitted sender) Received: from [64.233.182.195] (HELO nproxy.gmail.com) (64.233.182.195) by apache.org (qpsmtpd/0.29) with ESMTP; Wed, 08 Mar 2006 00:29:54 -0800 Received: by nproxy.gmail.com with SMTP id l36so93929nfa for ; Wed, 08 Mar 2006 00:29:31 -0800 (PST) DomainKey-Signature: a=rsa-sha1; q=dns; c=nofws; s=beta; d=gmail.com; h=received:message-id:date:from:to:subject:in-reply-to:mime-version:content-type:references; b=Wpz+YmB/sHUqlAbLK3NpMEeZKwKdzH0yzJV+2fU4MtCF7qYO/uis0ATk9TOPBpv3+E/+EM6YNtuzu/wpNY6YT5H9LSp+7w9+VGSPziQXq7jILTdVITLrLavJusxy7q+Is4Iqm3ZoJMMUR6vX1cS4KRLUpWC9XPvBcJo8Ja/h8Bw= Received: by 10.48.250.9 with SMTP id x9mr212518nfh; Wed, 08 Mar 2006 00:29:31 -0800 (PST) Received: by 10.49.51.7 with HTTP; Wed, 8 Mar 2006 00:29:31 -0800 (PST) Message-ID: Date: Wed, 8 Mar 2006 13:59:31 +0530 From: "Raghavendra Prabhu" To: java-user@lucene.apache.org Subject: Re: query parser In-Reply-To: <440E927E.1040308@webdynamite.com> MIME-Version: 1.0 Content-Type: multipart/alternative; boundary="----=_Part_4089_7131773.1141806571854" References: <440E927E.1040308@webdynamite.com> X-Virus-Checked: Checked by ClamAV on apache.org X-Spam-Rating: minotaur.apache.org 1.6.2 0/1000/N ------=_Part_4089_7131773.1141806571854 Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: quoted-printable Content-Disposition: inline Hi Rainer Thanks. I have one more doubt. How do i set different boosts for each field using query parser Can i set different boosts for each field? Rgds Prabhu On 3/8/06, Rainer Dollinger wrote: > > Take a look at the class MultiFieldQueryParser, I think it does exactly > what you want. > > GR, > Rainer > > > Raghavendra Prabhu wrote: > > I want to use query parser to parse my query string > > > > But the default field should be a group of fields with different fields > > where it is searched on > > > > Can any one let me know > > > > For example if my query is > > > > new books > > > > new should be searched in different fields ( content and title) > > > > books should be searched in different fields ( content and title) > > > > > > How do i accomplish this and how can i extend querparser to do the abov= e > > > > --------------------------------------------------------------------- > To unsubscribe, e-mail: java-user-unsubscribe@lucene.apache.org > For additional commands, e-mail: java-user-help@lucene.apache.org > > ------=_Part_4089_7131773.1141806571854--