lucene-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From bugzi...@apache.org
Subject DO NOT REPLY [Bug 35823] - [PATCH] BooleanScorer2 ArrayIndexOutOfBoundsException
Date Wed, 27 Jul 2005 20:48:28 GMT
DO NOT REPLY TO THIS EMAIL, BUT PLEASE POST YOUR BUG·
RELATED COMMENTS THROUGH THE WEB INTERFACE AVAILABLE AT
<http://issues.apache.org/bugzilla/show_bug.cgi?id=35823>.
ANY REPLY MADE TO THIS MESSAGE WILL NOT BE COLLECTED AND·
INSERTED IN THE BUG DATABASE.

http://issues.apache.org/bugzilla/show_bug.cgi?id=35823





------- Additional Comments From paul.elschot@xs4all.nl  2005-07-27 22:48 -------
Since there is no difference in output, the bug must be 
in DisjunctionSumScorer.advanceAfterCurrent(). 
 
I had a good look at that code (the test version after the 
second patch), and I really can't see a way of 
increasing nrMatchers beyond the number of scorers in 
the scorer queue: in the test version, each scorer is 
verified to advance to a higher document number, and 
nrMatchers is only increased when the document number 
of a scorer is the same. 
 
I'm overlooking something, or at least one scorer 
does not return the same document number on successive 
calls of doc() without a next() in between. 
 
Regards, 
Paul Elschot 
 

-- 
Configure bugmail: http://issues.apache.org/bugzilla/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the assignee for the bug, or are watching the assignee.

---------------------------------------------------------------------
To unsubscribe, e-mail: java-dev-unsubscribe@lucene.apache.org
For additional commands, e-mail: java-dev-help@lucene.apache.org


Mime
View raw message