From lucene-dev-return-9397-apmail-jakarta-lucene-dev-archive=jakarta.apache.org@jakarta.apache.org Tue Feb 15 21:32:32 2005 Return-Path: Delivered-To: apmail-jakarta-lucene-dev-archive@www.apache.org Received: (qmail 37993 invoked from network); 15 Feb 2005 21:32:30 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (209.237.227.199) by minotaur-2.apache.org with SMTP; 15 Feb 2005 21:32:30 -0000 Received: (qmail 24718 invoked by uid 500); 15 Feb 2005 21:32:27 -0000 Delivered-To: apmail-jakarta-lucene-dev-archive@jakarta.apache.org Received: (qmail 24665 invoked by uid 500); 15 Feb 2005 21:32:26 -0000 Mailing-List: contact lucene-dev-help@jakarta.apache.org; run by ezmlm Precedence: bulk List-Unsubscribe: List-Subscribe: List-Help: List-Post: List-Id: "Lucene Developers List" Reply-To: "Lucene Developers List" Delivered-To: mailing list lucene-dev@jakarta.apache.org Received: (qmail 24623 invoked by uid 500); 15 Feb 2005 21:32:26 -0000 Received: (qmail 24606 invoked by uid 99); 15 Feb 2005 21:32:26 -0000 X-ASF-Spam-Status: No, hits=-9.8 required=10.0 tests=ALL_TRUSTED,NO_REAL_NAME X-Spam-Check-By: apache.org Received: from minotaur.apache.org (HELO minotaur.apache.org) (209.237.227.194) by apache.org (qpsmtpd/0.28) with SMTP; Tue, 15 Feb 2005 13:32:26 -0800 Received: (qmail 37909 invoked from network); 15 Feb 2005 21:32:25 -0000 Received: from localhost.hyperreal.org (HELO minotaur.apache.org) (127.0.0.1) by localhost.hyperreal.org with SMTP; 15 Feb 2005 21:32:25 -0000 Content-Type: text/plain; charset="iso-8859-1" MIME-Version: 1.0 Content-Transfer-Encoding: quoted-printable From: lucene-cvs@jakarta.apache.org To: lucene-cvs@jakarta.apache.org Subject: =?iso-8859-1?q?=5BJakarta_Lucene_Wiki=5D_Updated=3A__LuceneFAQ?= Date: Tue, 15 Feb 2005 21:32:24 -0000 Message-ID: <20050215213224.37783.99713@minotaur.apache.org> X-Spam-Rating: localhost.hyperreal.org 1.6.2 0/1000/N X-Virus-Checked: Checked X-Spam-Rating: minotaur-2.apache.org 1.6.2 0/1000/N Date: 2005-02-15T13:32:24 Editor: HossMan Wiki: Jakarta Lucene Wiki Page: LuceneFAQ URL: http://wiki.apache.org/jakarta-lucene/LuceneFAQ quote from Erik, lucene-users "Tue, 15 Feb 2005 15:20:01 -0500" Change Log: ---------------------------------------------------------------------------= --- @@ -369,8 +369,9 @@ = =3D=3D=3D=3D Why is it important to use the same analyzer type during inde= xing and search? =3D=3D=3D=3D = -The analyzer controls how the text is broken into terms which are then use= d to index the document. If you are using analyzer of one type to index and= an analyzer of a different type to parse the search query, it is possible = that the same word will be mapped to two different terms and this will resu= lt in missing or false hits. = +The analyzer controls how the text is broken into terms which are then use= d to index the document. If you are using analyzer of one type to index and= an analyzer of a different type to parse the search query, it is possible = that the same word will be mapped to two different terms and this will resu= lt in missing or false hits. = +'''NOTE:''' It's not a rule that the same analyzer be used for both indexi= ng and searching, and there are cases where it makes sense to use different= ones (ie: when dealing with Synonyms). The analyzers must be compatible t= hough. = =3D=3D=3D=3D What is index optimization and when should I use it? =3D=3D= =3D=3D =20 --------------------------------------------------------------------- To unsubscribe, e-mail: lucene-dev-unsubscribe@jakarta.apache.org For additional commands, e-mail: lucene-dev-help@jakarta.apache.org