Return-Path: X-Original-To: apmail-lucene-dev-archive@www.apache.org Delivered-To: apmail-lucene-dev-archive@www.apache.org Received: from mail.apache.org (hermes.apache.org [140.211.11.3]) by minotaur.apache.org (Postfix) with SMTP id AAAA4F208 for ; Tue, 2 Apr 2013 16:35:19 +0000 (UTC) Received: (qmail 12864 invoked by uid 500); 2 Apr 2013 16:35:17 -0000 Delivered-To: apmail-lucene-dev-archive@lucene.apache.org Received: (qmail 12473 invoked by uid 500); 2 Apr 2013 16:35:17 -0000 Mailing-List: contact dev-help@lucene.apache.org; run by ezmlm Precedence: bulk List-Help: List-Unsubscribe: List-Post: List-Id: Reply-To: dev@lucene.apache.org Delivered-To: mailing list dev@lucene.apache.org Received: (qmail 12119 invoked by uid 99); 2 Apr 2013 16:35:16 -0000 Received: from arcas.apache.org (HELO arcas.apache.org) (140.211.11.28) by apache.org (qpsmtpd/0.29) with ESMTP; Tue, 02 Apr 2013 16:35:16 +0000 Date: Tue, 2 Apr 2013 16:35:16 +0000 (UTC) From: "Adrien Grand (JIRA)" To: dev@lucene.apache.org Message-ID: In-Reply-To: References: Subject: [jira] [Commented] (LUCENE-4888) SloppyPhraseScorer calls DocsAndPositionsEnum.advance with target = -1 MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 7bit X-JIRA-FingerPrint: 30527f35849b9dde25b450d4833f0394 [ https://issues.apache.org/jira/browse/LUCENE-4888?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13619969#comment-13619969 ] Adrien Grand commented on LUCENE-4888: -------------------------------------- I plan to commit soon unless someone objects. I think the changes are correct but please let me know if you would like to review it as this patch modifies some touchy code (such as SloppyPhraseScorer.advance). > SloppyPhraseScorer calls DocsAndPositionsEnum.advance with target = -1 > ---------------------------------------------------------------------- > > Key: LUCENE-4888 > URL: https://issues.apache.org/jira/browse/LUCENE-4888 > Project: Lucene - Core > Issue Type: Bug > Affects Versions: 4.2 > Reporter: Adrien Grand > Assignee: Adrien Grand > Attachments: LUCENE-4888.patch, LUCENE-4888.patch > > > SloppyPhraseScorer calls DocsAndPositionsEnum.advance with target = -1 although the behavior of this method is undefined in such cases. -- This message is automatically generated by JIRA. If you think it was sent incorrectly, please contact your JIRA administrators For more information on JIRA, see: http://www.atlassian.com/software/jira --------------------------------------------------------------------- To unsubscribe, e-mail: dev-unsubscribe@lucene.apache.org For additional commands, e-mail: dev-help@lucene.apache.org