Return-Path: Delivered-To: apmail-lucene-java-user-archive@www.apache.org Received: (qmail 58229 invoked from network); 29 Aug 2008 00:43:57 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (140.211.11.2) by minotaur.apache.org with SMTP; 29 Aug 2008 00:43:57 -0000 Received: (qmail 95775 invoked by uid 500); 29 Aug 2008 00:43:49 -0000 Delivered-To: apmail-lucene-java-user-archive@lucene.apache.org Received: (qmail 95743 invoked by uid 500); 29 Aug 2008 00:43:49 -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 95730 invoked by uid 99); 29 Aug 2008 00:43:49 -0000 Received: from athena.apache.org (HELO athena.apache.org) (140.211.11.136) by apache.org (qpsmtpd/0.29) with ESMTP; Thu, 28 Aug 2008 17:43:49 -0700 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: domain of markrmiller@gmail.com designates 64.233.184.233 as permitted sender) Received: from [64.233.184.233] (HELO wr-out-0506.google.com) (64.233.184.233) by apache.org (qpsmtpd/0.29) with ESMTP; Fri, 29 Aug 2008 00:42:51 +0000 Received: by wr-out-0506.google.com with SMTP id c30so607921wra.21 for ; Thu, 28 Aug 2008 17:43:03 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=domainkey-signature:received:received:message-id:date:from :user-agent:mime-version:to:subject:references:in-reply-to :content-type:content-transfer-encoding; bh=JesgquQ9jZRyHWT6lZTbOW0XpuirQodHz2uFhCYdR1M=; b=UZcKkUcKyalHkX0SLrhTmatA/wJw++GjQ9AsH8qelNieyGKKFMNfFIdWzhSiy7gcA5 pnv3tG9rfUlnZ/xJ9q7dXlJn2/9v77uz3gy6Zp2MVizHOFSV+OAKazwocyI3gMqJBxbS 6kmHfF2DTujsed4xIgVkL3m6Isnce4VrTHKU8= DomainKey-Signature: a=rsa-sha1; c=nofws; d=gmail.com; s=gamma; h=message-id:date:from:user-agent:mime-version:to:subject:references :in-reply-to:content-type:content-transfer-encoding; b=pWURsaHPcjgCTa4clIqxi6K9C8lrof4D3hG4spGKzpjm0lW9b807quCN/IcCWBu6T/ Eh9AoB3IQQyroOInt/VW8/pMfFl+xRVoipkAQOyHuS01zojeKCjaqeK/i6UXMBYxgF0m +9rUIaCvwPYPMYysxCjyL35/C1g9ndnlQax+E= Received: by 10.90.51.13 with SMTP id y13mr2468911agy.46.1219970583864; Thu, 28 Aug 2008 17:43:03 -0700 (PDT) Received: from ?192.168.1.105? ( [69.124.234.149]) by mx.google.com with ESMTPS id 1sm1629697agb.20.2008.08.28.17.43.03 (version=SSLv3 cipher=RC4-MD5); Thu, 28 Aug 2008 17:43:03 -0700 (PDT) Message-ID: <48B7461E.8030600@gmail.com> Date: Thu, 28 Aug 2008 20:43:10 -0400 From: Mark Miller User-Agent: Thunderbird 2.0.0.16 (X11/20080724) MIME-Version: 1.0 To: java-user@lucene.apache.org Subject: Re: phrases and slop References: <55b2c6b90808281614w5689f8f4x1f0f07162077b331@mail.gmail.com> In-Reply-To: <55b2c6b90808281614w5689f8f4x1f0f07162077b331@mail.gmail.com> Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit X-Virus-Checked: Checked by ClamAV on apache.org Andy Goodell wrote: > I thought I understood phrases and slop until one of my coworkers > brought by the following example > > For a document that contains > "quick brown fox" > > "quick brown fox"~0 > "quick fox brown"~2 > "fox quick brown"~3 > > all match. > > I would have expected "fox quick brown" to require a 4 instead of a 3, > two to transpose brown and fox, two to transpose quick and fox. Why > is this only 3? > > - andy g > > --------------------------------------------------------------------- > To unsubscribe, e-mail: java-user-unsubscribe@lucene.apache.org > For additional commands, e-mail: java-user-help@lucene.apache.org > > I think its this: push fox on quick for move 1, then fox on brown for move 2, then fox into last spot for move 3, quick brown fox. - Mark --------------------------------------------------------------------- To unsubscribe, e-mail: java-user-unsubscribe@lucene.apache.org For additional commands, e-mail: java-user-help@lucene.apache.org