Return-Path: Delivered-To: apmail-lucene-java-dev-archive@www.apache.org Received: (qmail 83725 invoked from network); 7 Dec 2006 23:30:29 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (140.211.11.2) by minotaur.apache.org with SMTP; 7 Dec 2006 23:30:29 -0000 Received: (qmail 13393 invoked by uid 500); 7 Dec 2006 23:30:34 -0000 Delivered-To: apmail-lucene-java-dev-archive@lucene.apache.org Received: (qmail 13354 invoked by uid 500); 7 Dec 2006 23:30:34 -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 13326 invoked by uid 99); 7 Dec 2006 23:30:34 -0000 Received: from herse.apache.org (HELO herse.apache.org) (140.211.11.133) by apache.org (qpsmtpd/0.29) with ESMTP; Thu, 07 Dec 2006 15:30:34 -0800 X-ASF-Spam-Status: No, hits=0.0 required=10.0 tests= X-Spam-Check-By: apache.org Received-SPF: pass (herse.apache.org: local policy) Received: from [72.3.240.46] (HELO s68659.istandfor.com) (72.3.240.46) by apache.org (qpsmtpd/0.29) with ESMTP; Thu, 07 Dec 2006 15:30:22 -0800 Received: from [127.0.0.1] (pool-68-161-10-88.ny325.east.verizon.net [68.161.10.88]) (authenticated bits=0) by s68659.istandfor.com (8.12.11.20060308/8.12.11) with ESMTP id kB7NU0lh026472 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES256-SHA bits=256 verify=NO) for ; Thu, 7 Dec 2006 17:30:00 -0600 Message-ID: <4578A3F6.9090802@istandfor.com> Date: Thu, 07 Dec 2006 18:29:58 -0500 From: Ruslan Sivak User-Agent: Thunderbird 1.5.0.8 (Windows/20061025) MIME-Version: 1.0 To: java-dev@lucene.apache.org Subject: Re: non-overlapping Span queries References: <45788E3D.20004@istandfor.com> <200612072332.12843.paul.elschot@xs4all.nl> In-Reply-To: <200612072332.12843.paul.elschot@xs4all.nl> Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit X-Virus-Checked: Checked by ClamAV on apache.org Paul Elschot wrote: > On Thursday 07 December 2006 22:57, Ruslan Sivak wrote: > >> I see back in Jul 2005 there was a thread about SpanNearQueries which >> were overlapping. >> >> >> > http://mail-archives.apache.org/mod_mbox/lucene-java-dev/200507.mbox/%3C200507052054.54859.paul.elschot@xs4all.nl%3E > >> A fix was posted by Paul Elschot at that time. Did this fix ever make >> it into 2.0? I'm having problems with SpanNearQuerie's matching the >> same thing again, example >> > > >> I'm searching for ((Brooklyn) near (Brooklyn near NY slop 0) slop 10) >> and it matches Brooklyn, NY I want it to not match unless the phrase is >> something like >> >> Brooklyn High which is in Brooklyn, NY >> > > That requires a minimum distance between the matches of the > subqueries, and that is not yet implemented. > > The previous fix is in the trunk: > http://issues.apache.org/jira/browse/LUCENE-569 > > You can try the svn head, or a nightly build instead of 2.0: > http://cvs.apache.org/dist/lucene/java/nightly/ > but a minimum span distance facility is not in there afaik. > > Regards, > Paul Elschot > > --------------------------------------------------------------------- > To unsubscribe, e-mail: java-dev-unsubscribe@lucene.apache.org > For additional commands, e-mail: java-dev-help@lucene.apache.org > I tried the latest nightly build, but it still doesn't help. BTW i was hitting the same error before as the one mentioned in the original thread, so perhaps the fix is not yet complete? I was getting an error when doing this kind of query: (brooklyn) near (brooklyn) slop 10 Russ --------------------------------------------------------------------- To unsubscribe, e-mail: java-dev-unsubscribe@lucene.apache.org For additional commands, e-mail: java-dev-help@lucene.apache.org