Return-Path: Delivered-To: apmail-lucene-java-dev-archive@www.apache.org Received: (qmail 15772 invoked from network); 19 Jun 2006 19:07:57 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (209.237.227.199) by minotaur.apache.org with SMTP; 19 Jun 2006 19:07:57 -0000 Received: (qmail 14974 invoked by uid 500); 19 Jun 2006 19:07:56 -0000 Delivered-To: apmail-lucene-java-dev-archive@lucene.apache.org Received: (qmail 14363 invoked by uid 500); 19 Jun 2006 19:07:55 -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 14348 invoked by uid 99); 19 Jun 2006 19:07:55 -0000 Received: from asf.osuosl.org (HELO asf.osuosl.org) (140.211.166.49) by apache.org (qpsmtpd/0.29) with ESMTP; Mon, 19 Jun 2006 12:07:55 -0700 X-ASF-Spam-Status: No, hits=0.0 required=10.0 tests= X-Spam-Check-By: apache.org Received-SPF: pass (asf.osuosl.org: local policy) Received: from [128.230.18.29] (HELO mailer.syr.edu) (128.230.18.29) by apache.org (qpsmtpd/0.29) with ESMTP; Mon, 19 Jun 2006 12:07:54 -0700 Received: from [128.230.84.109] (istcnlpd9hb3r31.syr.edu) by mailer.syr.edu (LSMTP for Windows NT v1.1b) with SMTP id <0.154AAB4C@mailer.syr.edu>; Mon, 19 Jun 2006 15:07:33 -0400 Message-ID: <4496F5F5.4000604@syr.edu> Date: Mon, 19 Jun 2006 15:07:33 -0400 From: Grant Ingersoll User-Agent: Thunderbird 1.5.0.4 (Windows/20060516) MIME-Version: 1.0 To: java-dev@lucene.apache.org Subject: Re: Seeking feedback on LUCENE-557 References: In-Reply-To: Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit X-Virus-Checked: Checked by ClamAV on apache.org X-Spam-Rating: minotaur.apache.org 1.6.2 0/1000/N Chris Hostetter wrote: > 2) SpanScorer.explain HACK fix > > NearSpans.skipTo is broken (see LUCENE-569). This apparently doesn't > affect too many people (or if it does, they haven't been filing bugs about > it) but it does make SpanScorer.explain lie. I don't understand > SpanQueries enough to feel comfortable fixing LUCENE-569 (even though > paul.elschot has pointed out an alternate version of NearSpans that > doesn't have this bug) but I do have a HACK patch for SpanScorer.explain > that works arround the bug by just looping over NearSpans.next instead of > using NearSpans.skipTo. > > Should This HACK be commited, or is it better to leave explanations for > SpanNear queries broken untill someone has the confidence to fix LUCENE-569? > > I think it would be all right as long as you make a note of it on the 569 issue and in the code so that people know why the change is in there. -Grant --------------------------------------------------------------------- To unsubscribe, e-mail: java-dev-unsubscribe@lucene.apache.org For additional commands, e-mail: java-dev-help@lucene.apache.org