Return-Path: X-Original-To: apmail-lucene-java-user-archive@www.apache.org Delivered-To: apmail-lucene-java-user-archive@www.apache.org Received: from mail.apache.org (hermes.apache.org [140.211.11.3]) by minotaur.apache.org (Postfix) with SMTP id 1EEBBD162 for ; Fri, 10 Aug 2012 17:25:37 +0000 (UTC) Received: (qmail 33476 invoked by uid 500); 10 Aug 2012 17:25:34 -0000 Delivered-To: apmail-lucene-java-user-archive@lucene.apache.org Received: (qmail 33421 invoked by uid 500); 10 Aug 2012 17:25:34 -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 33413 invoked by uid 99); 10 Aug 2012 17:25:34 -0000 Received: from nike.apache.org (HELO nike.apache.org) (192.87.106.230) by apache.org (qpsmtpd/0.29) with ESMTP; Fri, 10 Aug 2012 17:25:34 +0000 X-ASF-Spam-Status: No, hits=0.9 required=5.0 tests=FSL_RCVD_USER,RCVD_NUMERIC_HELO,SPF_HELO_PASS,SPF_PASS X-Spam-Check-By: apache.org Received-SPF: pass (nike.apache.org: domain of jak-lucene-user@m.gmane.org designates 80.91.229.3 as permitted sender) Received: from [80.91.229.3] (HELO plane.gmane.org) (80.91.229.3) by apache.org (qpsmtpd/0.29) with ESMTP; Fri, 10 Aug 2012 17:25:25 +0000 Received: from list by plane.gmane.org with local (Exim 4.69) (envelope-from ) id 1SzsxM-0007oC-DM for java-user@lucene.apache.org; Fri, 10 Aug 2012 19:25:04 +0200 Received: from 130.154.3.250 ([130.154.3.250]) by main.gmane.org with esmtp (Gmexim 0.1 (Debian)) id 1AlnuQ-0007hv-00 for ; Fri, 10 Aug 2012 19:25:04 +0200 Received: from rrs by 130.154.3.250 with local (Gmexim 0.1 (Debian)) id 1AlnuQ-0007hv-00 for ; Fri, 10 Aug 2012 19:25:04 +0200 X-Injected-Via-Gmane: http://gmane.org/ To: java-user@lucene.apache.org From: Ricardo Subject: Re: How SynonymFilter works? Date: Fri, 10 Aug 2012 17:24:03 +0000 (UTC) Lines: 35 Message-ID: References: <1338186926.95068.YahooMailClassic@web39402.mail.mud.yahoo.com> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit X-Complaints-To: usenet@dough.gmane.org X-Gmane-NNTP-Posting-Host: sea.gmane.org User-Agent: Loom/3.14 (http://gmane.org/) X-Loom-IP: 130.154.3.250 (Mozilla/5.0 (Windows NT 6.1) AppleWebKit/537.1 (KHTML, like Gecko) Chrome/21.0.1180.60 Safari/537.1) Ian Lea gmail.com> writes: > > Did you get an answer to this? Looking at the lucene test cases can > be a good way of finding out things like this. Reading Lucene In > Action is also highly recommended. May not have the exact answer to > this question but will teach you how to find out. > > -- > Ian. > > On Mon, May 28, 2012 at 7:35 AM, atiyeh soleimani yahoo.com> wrote: > > Dear all > > > > I am going to find out how SynonymFilter in Lucene-analyzers 3.5 works and what exactly its output tokens are. > > Is there any sample code that shows how to fill SynonymMap and then use SynonymFilter to filter a sentence. > > I appreciate any comment. > > > > Thanks, > > Atieh Soleimani > Ian, Did you ever figure this out. I'm poking around but I can't find any example nor get it to work. I'm stuck at creating the SynonymMap. Thanks, -ricardo --------------------------------------------------------------------- To unsubscribe, e-mail: java-user-unsubscribe@lucene.apache.org For additional commands, e-mail: java-user-help@lucene.apache.org