Return-Path: Delivered-To: apmail-lucene-java-user-archive@www.apache.org Received: (qmail 459 invoked from network); 21 Oct 2009 14:53:15 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (140.211.11.3) by minotaur.apache.org with SMTP; 21 Oct 2009 14:53:15 -0000 Received: (qmail 32439 invoked by uid 500); 21 Oct 2009 14:52:55 -0000 Delivered-To: apmail-lucene-java-user-archive@lucene.apache.org Received: (qmail 32387 invoked by uid 500); 21 Oct 2009 14:52:54 -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 32352 invoked by uid 99); 21 Oct 2009 14:52:51 -0000 Received: from athena.apache.org (HELO athena.apache.org) (140.211.11.136) by apache.org (qpsmtpd/0.29) with ESMTP; Wed, 21 Oct 2009 14:52:51 +0000 X-ASF-Spam-Status: No, hits=-2.6 required=5.0 tests=BAYES_00 X-Spam-Check-By: apache.org Received-SPF: pass (athena.apache.org: local policy) Received: from [209.222.209.11] (HELO mirkwood.informatics.jax.org) (209.222.209.11) by apache.org (qpsmtpd/0.29) with ESMTP; Wed, 21 Oct 2009 14:52:48 +0000 Received: from [127.0.0.1] (corona [209.222.209.245]) by mirkwood.informatics.jax.org (8.14.2/8.14.2) with ESMTP id n9LEqOv2003254 for ; Wed, 21 Oct 2009 10:52:26 -0400 (EDT) (envelope-from mhall@informatics.jax.org) Message-ID: <4ADF2028.6040309@informatics.jax.org> Date: Wed, 21 Oct 2009 10:52:24 -0400 From: Matthew Hall User-Agent: Thunderbird 2.0.0.23 (Windows/20090812) MIME-Version: 1.0 To: java-user@lucene.apache.org Subject: Re: singular and plural search References: <25990682.post@talk.nabble.com> <25992428.post@talk.nabble.com> In-Reply-To: <25992428.post@talk.nabble.com> Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit X-PMX-Version: 5.5.7.378829, Antispam-Engine: 2.7.2.376379, Antispam-Data: 2009.10.21.143927 X-PerlMx-Spam: Gauge=IIIIIIII, Probability=8%, Report=' BODY_SIZE_1000_LESS 0, BODY_SIZE_2000_LESS 0, BODY_SIZE_400_499 0, BODY_SIZE_5000_LESS 0, BODY_SIZE_7000_LESS 0, TO_NO_NAME 0, __BOUNCE_CHALLENGE_SUBJ 0, __CT 0, __CTE 0, __CT_TEXT_PLAIN 0, __HAS_MSGID 0, __MIME_TEXT_ONLY 0, __MIME_VERSION 0, __MOZILLA_MSGID 0, __SANE_MSGID 0, __TO_MALFORMED_2 0, __USER_AGENT 0' If I recall correctly the highlighter also has an analyzer passed to it. Ensure that this is the same one as well. Matt m.harig wrote: > Thanks erick , > > It works fine , if i use the (code snippet found from nabble) same > analyzer for both indexing & querying . > > But the highlighter has gone for plural words. Hope i need to search more , > i'll come back to you once if i can't find out. Thanks again erick. > --------------------------------------------------------------------- To unsubscribe, e-mail: java-user-unsubscribe@lucene.apache.org For additional commands, e-mail: java-user-help@lucene.apache.org