Return-Path: Delivered-To: apmail-lucene-java-dev-archive@www.apache.org Received: (qmail 19595 invoked from network); 20 Jun 2008 03:50:07 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (140.211.11.2) by minotaur.apache.org with SMTP; 20 Jun 2008 03:50:07 -0000 Received: (qmail 14387 invoked by uid 500); 20 Jun 2008 03:50:07 -0000 Delivered-To: apmail-lucene-java-dev-archive@lucene.apache.org Received: (qmail 14350 invoked by uid 500); 20 Jun 2008 03:50:07 -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 14340 invoked by uid 99); 20 Jun 2008 03:50:07 -0000 Received: from athena.apache.org (HELO athena.apache.org) (140.211.11.136) by apache.org (qpsmtpd/0.29) with ESMTP; Thu, 19 Jun 2008 20:50:07 -0700 X-ASF-Spam-Status: No, hits=-2000.0 required=10.0 tests=ALL_TRUSTED X-Spam-Check-By: apache.org Received: from [140.211.11.140] (HELO brutus.apache.org) (140.211.11.140) by apache.org (qpsmtpd/0.29) with ESMTP; Fri, 20 Jun 2008 03:49:26 +0000 Received: from brutus (localhost [127.0.0.1]) by brutus.apache.org (Postfix) with ESMTP id 33DBE234C147 for ; Thu, 19 Jun 2008 20:49:45 -0700 (PDT) Message-ID: <709803141.1213933785211.JavaMail.jira@brutus> Date: Thu, 19 Jun 2008 20:49:45 -0700 (PDT) From: "Grant Glouser (JIRA)" To: java-dev@lucene.apache.org Subject: [jira] Created: (LUCENE-1310) Phrase query with term repeated 3 times requires more slop than expected MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 7bit X-Virus-Checked: Checked by ClamAV on apache.org Phrase query with term repeated 3 times requires more slop than expected ------------------------------------------------------------------------ Key: LUCENE-1310 URL: https://issues.apache.org/jira/browse/LUCENE-1310 Project: Lucene - Java Issue Type: Bug Components: Search Affects Versions: 2.3.1, 2.3.2 Reporter: Grant Glouser Consider a document with the text "A A A". The phrase query "A A A" (exact match) succeeds. The query "A A A"~1 (same document and query, just increasing the slop value by one) fails. "A A A"~2 succeeds again. If the exact match succeeds, I wouldn't expect the same query but with more slop to fail. The fault seems to require some term to be repeated at least three times in the query, but the three occurrences do not need to be adjacent. I will attach a file that contains a set of JUnit tests that demonstrate what I mean. -- This message is automatically generated by JIRA. - You can reply to this email to add a comment to the issue online. --------------------------------------------------------------------- To unsubscribe, e-mail: java-dev-unsubscribe@lucene.apache.org For additional commands, e-mail: java-dev-help@lucene.apache.org