Return-Path: Delivered-To: apmail-lucene-java-dev-archive@www.apache.org Received: (qmail 48260 invoked from network); 23 Apr 2009 09:51:21 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (140.211.11.3) by minotaur.apache.org with SMTP; 23 Apr 2009 09:51:21 -0000 Received: (qmail 59949 invoked by uid 500); 23 Apr 2009 09:51:21 -0000 Delivered-To: apmail-lucene-java-dev-archive@lucene.apache.org Received: (qmail 59847 invoked by uid 500); 23 Apr 2009 09:51:20 -0000 Mailing-List: contact java-dev-help@lucene.apache.org; run by ezmlm Precedence: bulk List-Help: List-Unsubscribe: List-Post: List-Id: Reply-To: java-dev@lucene.apache.org Delivered-To: mailing list java-dev@lucene.apache.org Received: (qmail 59839 invoked by uid 99); 23 Apr 2009 09:51:20 -0000 Received: from athena.apache.org (HELO athena.apache.org) (140.211.11.136) by apache.org (qpsmtpd/0.29) with ESMTP; Thu, 23 Apr 2009 09:51:20 +0000 X-ASF-Spam-Status: No, hits=1.2 required=10.0 tests=SPF_NEUTRAL X-Spam-Check-By: apache.org Received-SPF: neutral (athena.apache.org: local policy) Received: from [209.85.200.175] (HELO wf-out-1314.google.com) (209.85.200.175) by apache.org (qpsmtpd/0.29) with ESMTP; Thu, 23 Apr 2009 09:51:13 +0000 Received: by wf-out-1314.google.com with SMTP id 24so344022wfg.20 for ; Thu, 23 Apr 2009 02:50:52 -0700 (PDT) MIME-Version: 1.0 Received: by 10.142.116.12 with SMTP id o12mr278644wfc.332.1240480252343; Thu, 23 Apr 2009 02:50:52 -0700 (PDT) In-Reply-To: <59b3eb370904220212l3748e0we72aebb0230fec9f@mail.gmail.com> References: <49EEDA2F.4050904@cs.put.poznan.pl> <59b3eb370904220212l3748e0we72aebb0230fec9f@mail.gmail.com> Date: Thu, 23 Apr 2009 05:50:52 -0400 Message-ID: <9ac0c6aa0904230250r3ef1349cu5ae8b3c04586c0c6@mail.gmail.com> Subject: Re: Synonym filter with support for phrases? From: Michael McCandless To: java-dev@lucene.apache.org Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: 7bit X-Virus-Checked: Checked by ClamAV on apache.org On Wed, Apr 22, 2009 at 5:12 AM, Earwin Burrfoot wrote: > Your synonyms will break if you try searching for phrases. > Building on your example, "food place in new york" will find nothing, > because 'place' and 'in' share the same position. It'd be great to get multi-word synonyms fully working... How would you change how Lucene indexes token positions to do this "correctly"? Mike --------------------------------------------------------------------- To unsubscribe, e-mail: java-dev-unsubscribe@lucene.apache.org For additional commands, e-mail: java-dev-help@lucene.apache.org