Return-Path: Delivered-To: apmail-lucene-java-dev-archive@www.apache.org Received: (qmail 71348 invoked from network); 11 Dec 2006 19:18:48 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (140.211.11.2) by minotaur.apache.org with SMTP; 11 Dec 2006 19:18:48 -0000 Received: (qmail 42406 invoked by uid 500); 11 Dec 2006 19:18:52 -0000 Delivered-To: apmail-lucene-java-dev-archive@lucene.apache.org Received: (qmail 42364 invoked by uid 500); 11 Dec 2006 19:18:51 -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 42333 invoked by uid 99); 11 Dec 2006 19:18:51 -0000 Received: from herse.apache.org (HELO herse.apache.org) (140.211.11.133) by apache.org (qpsmtpd/0.29) with ESMTP; Mon, 11 Dec 2006 11:18:51 -0800 X-ASF-Spam-Status: No, hits=0.0 required=10.0 tests= X-Spam-Check-By: apache.org Received: from [140.211.11.4] (HELO brutus.apache.org) (140.211.11.4) by apache.org (qpsmtpd/0.29) with ESMTP; Mon, 11 Dec 2006 11:18:42 -0800 Received: from brutus (localhost [127.0.0.1]) by brutus.apache.org (Postfix) with ESMTP id BE3E5714058 for ; Mon, 11 Dec 2006 11:18:21 -0800 (PST) Message-ID: <12034190.1165864701776.JavaMail.jira@brutus> Date: Mon, 11 Dec 2006 11:18:21 -0800 (PST) From: "Paul Elschot (JIRA)" To: java-dev@lucene.apache.org Subject: [jira] Resolved: (LUCENE-300) [PATCH] Refactoring of SpanScorer MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 7bit X-Virus-Checked: Checked by ClamAV on apache.org [ http://issues.apache.org/jira/browse/LUCENE-300?page=all ] Paul Elschot resolved LUCENE-300. --------------------------------- Resolution: Fixed Assignee: (was: Lucene Developers) This change has already made it to the trunk, most likely via LUCENE 413. > [PATCH] Refactoring of SpanScorer > --------------------------------- > > Key: LUCENE-300 > URL: http://issues.apache.org/jira/browse/LUCENE-300 > Project: Lucene - Java > Issue Type: Improvement > Components: Search > Affects Versions: CVS Nightly - Specify date in submission > Environment: Operating System: other > Platform: Other > Reporter: Paul Elschot > Priority: Minor > Attachments: SpanScorer.java, SpanScorer.java > > > Refactored some common code in next() and skipTo(). > Removed dependency on score value for next() and skipTo(). > Passes all current tests at just about the same speed > as the current version. Added minimal javadoc. > > Iirc, there has been some discussion on the dependency of next() > and skipTo() on the score value, but I don't remember the conclusion. > In case that dependency should stay in, it can be adapted > in the refactored code. -- This message is automatically generated by JIRA. - If you think it was sent incorrectly contact one of the administrators: http://issues.apache.org/jira/secure/Administrators.jspa - For more information on JIRA, see: http://www.atlassian.com/software/jira --------------------------------------------------------------------- To unsubscribe, e-mail: java-dev-unsubscribe@lucene.apache.org For additional commands, e-mail: java-dev-help@lucene.apache.org