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 + alternative NearSpans
Date Sun, 21 Aug 2005 15:13:46 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 jakarta@ehatchersolutions.com  2005-08-21 17:13 -------
Paul - thanks for your continued efforts with this issue.  I have, I believe, patched everything
to match 
all the attachments to this issue and am getting errors on all the new TestSpans.java tests
like this:

    [junit] Testcase: testSpanNearOrdered01(org.apache.lucene.search.spans.TestSpans):  Caused
an 
ERROR
    [junit] subSpans1: 2 after 2
    [junit] java.lang.AssertionError: subSpans1: 2 after 2
    [junit]     at org.apache.lucene.search.spans.NearSpansOrdered.advanceAfterOrdered
(NearSpansOrdered.java:159)
    [junit]     at org.apache.lucene.search.spans.NearSpansOrdered.next(NearSpansOrdered.java:95)
    [junit]     at org.apache.lucene.search.spans.SpanScorer.next(SpanScorer.java:50)
    [junit]     at org.apache.lucene.search.Scorer.score(Scorer.java:47)
    [junit]     at org.apache.lucene.search.IndexSearcher.search(IndexSearcher.java:102)

Re: the use of "assert" - I'm not sure we want to require JDK 1.4 just yet.  We should discuss
this on the 
dev list to be sure.  I simply changed to AssertionError instead.

Perhaps I've mispatched something?   If you think that is the case, could you roll up all
your changes 
into a single patch that I can apply to a clean trunk checkout of Lucene?   Thanks!

-- 
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