Return-Path: Delivered-To: apmail-lucene-java-user-archive@www.apache.org Received: (qmail 90240 invoked from network); 28 Jul 2009 18:13:08 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (140.211.11.3) by minotaur.apache.org with SMTP; 28 Jul 2009 18:13:08 -0000 Received: (qmail 95245 invoked by uid 500); 28 Jul 2009 18:14:23 -0000 Delivered-To: apmail-lucene-java-user-archive@lucene.apache.org Received: (qmail 95197 invoked by uid 500); 28 Jul 2009 18:14:23 -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 95187 invoked by uid 99); 28 Jul 2009 18:14:23 -0000 Received: from athena.apache.org (HELO athena.apache.org) (140.211.11.136) by apache.org (qpsmtpd/0.29) with ESMTP; Tue, 28 Jul 2009 18:14:23 +0000 X-ASF-Spam-Status: No, hits=-0.0 required=10.0 tests=SPF_PASS X-Spam-Check-By: apache.org Received-SPF: pass (athena.apache.org: local policy) Received: from [68.230.240.8] (HELO eastrmmtao102.cox.net) (68.230.240.8) by apache.org (qpsmtpd/0.29) with ESMTP; Tue, 28 Jul 2009 18:14:13 +0000 Received: from eastrmimpo03.cox.net ([68.1.16.126]) by eastrmmtao102.cox.net (InterMail vM.7.08.02.01 201-2186-121-102-20070209) with ESMTP id <20090728181351.GISM22890.eastrmmtao102.cox.net@eastrmimpo03.cox.net> for ; Tue, 28 Jul 2009 14:13:51 -0400 Received: from eastrmwml34 ([172.18.18.217]) by eastrmimpo03.cox.net with bizsmtp id MWDq1c00c4h0NJL02WDrl7; Tue, 28 Jul 2009 14:13:51 -0400 X-VR-Score: -100.00 X-Authority-Analysis: v=1.0 c=1 a=gttPAixnelQA:10 a=5FlMPbC-AAAA:8 a=ROrgzdaZmx43hJZGHtEA:9 a=DTWjKBrVWOWVp4t56yPH5NS_QiMA:4 X-CM-Score: 0.00 Received: from 72.196.195.196 by webmail.east.cox.net; Tue, 28 Jul 2009 14:13:50 -0400 Message-ID: <20090728141350.39OT6.484940.imail@eastrmwml34> Date: Tue, 28 Jul 2009 14:13:50 -0400 From: To: java-user@lucene.apache.org Subject: Re: New to Lucene - some questions about demo In-Reply-To: <4A6F30FE.80109@informatics.jax.org> MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 7bit X-Priority: 3 (Normal) Sensitivity: Normal X-Virus-Checked: Checked by ClamAV on apache.org Matthew, Ok, thanks for the clarifications. When I have some quiet time, I'll try to re-do the tests I did earlier and post back if any questions. Thanks again, Jim ---- Matthew Hall wrote: > Oh.. no. > > If you specifically include a fieldname: blah in your clause, you don't > need a MultiFieldQueryParser. > > The purpose of the MFQP is to turn queries like this "blah" > automatically into this "field1: blah" AND "field2: blah" AND "field3: > blah" (Or OR if you set it up properly) > > When you setup the MFQP you specify what fields you want to have this > behavior apply to, and can even give each field its own specific analyzer. > > So if in your index you have multiple fields, each of which was created > with a different analyzer, you could search these effortlessly in your > webapp using the MFQP. > > (If for example you have an exact_contents and a contents field, one > where punctuation and capitalization matters, one where it does not) > > Hope that clears things up for you. > > Matt --------------------------------------------------------------------- To unsubscribe, e-mail: java-user-unsubscribe@lucene.apache.org For additional commands, e-mail: java-user-help@lucene.apache.org