Return-Path: Delivered-To: apmail-lucene-java-dev-archive@www.apache.org Received: (qmail 71272 invoked from network); 31 Mar 2006 01:43:15 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (209.237.227.199) by minotaur.apache.org with SMTP; 31 Mar 2006 01:43:15 -0000 Received: (qmail 77556 invoked by uid 500); 31 Mar 2006 01:43:03 -0000 Delivered-To: apmail-lucene-java-dev-archive@lucene.apache.org Received: (qmail 77515 invoked by uid 500); 31 Mar 2006 01:43:03 -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 77504 invoked by uid 99); 31 Mar 2006 01:43:03 -0000 Received: from asf.osuosl.org (HELO asf.osuosl.org) (140.211.166.49) by apache.org (qpsmtpd/0.29) with ESMTP; Thu, 30 Mar 2006 17:43:03 -0800 X-ASF-Spam-Status: No, hits=0.0 required=10.0 tests= X-Spam-Check-By: apache.org Received: from [192.87.106.226] (HELO ajax.apache.org) (192.87.106.226) by apache.org (qpsmtpd/0.29) with ESMTP; Thu, 30 Mar 2006 17:43:02 -0800 Received: from ajax (localhost.localdomain [127.0.0.1]) by ajax.apache.org (Postfix) with ESMTP id 097EB6ACB1 for ; Fri, 31 Mar 2006 02:42:42 +0100 (BST) Message-ID: <2005780547.1143769362008.JavaMail.jira@ajax> Date: Fri, 31 Mar 2006 02:42:41 +0100 (BST) From: "Dallan Quass (JIRA)" To: java-dev@lucene.apache.org Subject: [jira] Commented: (LUCENE-413) [PATCH] BooleanScorer2 ArrayIndexOutOfBoundsException + alternative NearSpans MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: quoted-printable X-Virus-Checked: Checked by ClamAV on apache.org X-Spam-Rating: minotaur.apache.org 1.6.2 0/1000/N [ http://issues.apache.org/jira/browse/LUCENE-413?page=3Dcomments#actio= n_12372615 ]=20 Dallan Quass commented on LUCENE-413: ------------------------------------- Sorry for cluttering up the comments here. I wanted to add that the part o= f the query exhibiting the error in the second case is a boolean query with= three SpanTermQuery clauses, all "Occur.SHOULD." If I change the SpanTerm= Query clauses to just TermQuery clauses, the problem goes away. > [PATCH] BooleanScorer2 ArrayIndexOutOfBoundsException + alternative NearS= pans > -------------------------------------------------------------------------= ---- > > Key: LUCENE-413 > URL: http://issues.apache.org/jira/browse/LUCENE-413 > Project: Lucene - Java > Type: Bug > Components: Search > Versions: CVS Nightly - Specify date in submission > Environment: Operating System: other > Platform: Other > Reporter: paul.elschot > Assignee: Lucene Developers > Attachments: DisjunctionSumScorerPatch3.txt, DisjunctionSumScorerPatch4.= txt, DisjunctionSumScorerPatch5.txt, DisjunctionSumScorerTestPatch1.txt, Ne= arSpansOrdered.java, NearSpansOrderedBugHuntPatch1.txt, NearSpansUnordered.= java, SpanNearQueryPatch1.txt, SpanScorerTestPatch1.txt > > From Erik's post at java-dev:=20 > =20 > > =C2=A0 =C2=A0 =C2=A0[java] Caused by: java.lang.ArrayIndexOutOfBoundsEx= ception: 4=20 > > =C2=A0 =C2=A0 =C2=A0[java] =C2=A0 =C2=A0 at org.apache.lucene.search.Bo= oleanScorer2 =20 > > $Coordinator.coordFactor(BooleanScorer2.java:54)=20 > > =C2=A0 =C2=A0 =C2=A0[java] =C2=A0 =C2=A0 at org.apache.lucene.search.Bo= oleanScorer2.score =20 > > (BooleanScorer2.java:292)=20 > ...=20 > =20 > and my answer:=20 > =20 > Probably nrMatchers is increased too often in score() by calling score()= =20 > more than once. --=20 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