Return-Path: Delivered-To: apmail-lucene-java-user-archive@www.apache.org Received: (qmail 4628 invoked from network); 10 Sep 2007 11:53:10 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (140.211.11.2) by minotaur.apache.org with SMTP; 10 Sep 2007 11:53:10 -0000 Received: (qmail 33273 invoked by uid 500); 10 Sep 2007 11:52:58 -0000 Delivered-To: apmail-lucene-java-user-archive@lucene.apache.org Received: (qmail 33229 invoked by uid 500); 10 Sep 2007 11:52:58 -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 33218 invoked by uid 99); 10 Sep 2007 11:52:58 -0000 Received: from nike.apache.org (HELO nike.apache.org) (192.87.106.230) by apache.org (qpsmtpd/0.29) with ESMTP; Mon, 10 Sep 2007 04:52:58 -0700 X-ASF-Spam-Status: No, hits=-0.0 required=10.0 tests=SPF_PASS X-Spam-Check-By: apache.org Received-SPF: pass (nike.apache.org: domain of markrmiller@gmail.com designates 64.233.162.234 as permitted sender) Received: from [64.233.162.234] (HELO nz-out-0506.google.com) (64.233.162.234) by apache.org (qpsmtpd/0.29) with ESMTP; Mon, 10 Sep 2007 11:54:26 +0000 Received: by nz-out-0506.google.com with SMTP id i28so409422nzi for ; Mon, 10 Sep 2007 04:52:33 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=beta; 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=ya4JI8/Gg+AfyPwL0gjNT7VZyoA3K4jYkun2ivYcT+M=; b=Oh3kAHgZ9mN8j41dHzWQnwDkafhqKiW/XL25QlKzj0NWWhxY2bFD2Af4wahrmgfafpGxKDOak82PcQWSe5AOhxgEAgBW7QhPSUrEqFYmqtE/cG1YcoQlfIJLiwbJaMVsfV06MKXhOGAtecJMTju/283Oy58BSg4lnReOrqo+a18= DomainKey-Signature: a=rsa-sha1; c=nofws; d=gmail.com; s=beta; h=received:message-id:date:from:user-agent:mime-version:to:subject:references:in-reply-to:content-type:content-transfer-encoding; b=VaqwOe3JPLlK/+Dr7T3FTrreIQSbefqKQHGY3SLKXFYDhGHuhco/13Qmkb+SQHyS8kHEZsM33XqD1TrqJA+ywqdwykcGwansSeVg9y/tYxnA5pWiRi5N84ky6F2v784OHkBFdTzdqc7irWwlZdfCNEiZxibVUKSZNHnJHasjY2g= Received: by 10.65.214.19 with SMTP id r19mr9309326qbq.1189425148886; Mon, 10 Sep 2007 04:52:28 -0700 (PDT) Received: from ?192.168.1.108? ( [69.124.234.183]) by mx.google.com with ESMTPS id 1sm2213073qbh.2007.09.10.04.52.26 (version=SSLv3 cipher=RC4-MD5); Mon, 10 Sep 2007 04:52:27 -0700 (PDT) Message-ID: <46E52F95.90808@gmail.com> Date: Mon, 10 Sep 2007 07:50:45 -0400 From: Mark Miller User-Agent: Thunderbird 2.0.0.6 (Windows/20070728) MIME-Version: 1.0 To: java-user@lucene.apache.org Subject: Re: Question about Qsol parser and phrase searches References: <12582067.post@talk.nabble.com> In-Reply-To: <12582067.post@talk.nabble.com> Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit X-Virus-Checked: Checked by ClamAV on apache.org The default slop is one and it really should be 0. Sorry about the slip up Jeff and thanks for catching it. I'll make an adjustment, and a method to allow changing the default anyway, and then point you to an updated jar. - Mark Jeff French wrote: > I have a document that contains the phrase "recent stent placement". Here is > the result of some queries using the Qsol parser: > > "recent stent placement" => YES > "recent placement" => YES > "recent placement":0 => NO > "recent placement":1 => YES > > where YES/NO indicates whether the document was returned. The "recent > placement" query result surprised me, as I had expected it not to return the > document. From the other queries, it looks like phrase searches have a > default slop of one. Is that correct? If so, is there a way to default to no > slop, preferrably without changing all of our queries? > > Thanks for any pointers. > > Jeff > --------------------------------------------------------------------- To unsubscribe, e-mail: java-user-unsubscribe@lucene.apache.org For additional commands, e-mail: java-user-help@lucene.apache.org