[ 
https://issues.apache.org/jira/browse/LUCENENET-303?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12781542#action_12781542
 ] 

Nicholas Paldino commented on LUCENENET-303:
--------------------------------------------

I've seen that behavior as well.  It results in an error when trying to use the 
BitArray or something of the sort and a value of -4.

>From what I can tell, this is a port issue with the QueryUtils class.  The 
>AnonymousClassCollector's implementation of Collect differs greatly from the 
>Java version (found here: 
>http://svn.apache.org/repos/asf/lucene/java/trunk/src/test/org/apache/lucene/search/QueryUtils.java).

I believe fixing that implementation will address the issue.  I also think the 
order of the tests should be preserved.

I can't try this out now, I might be able to address it tonight or tomorrow, 
but if someone else wants to take a stab at it, by all means, have at it.

DIGY, thanks for figuring out how to repo the error, I've seen it once or twice 
but wasn't able to consistently reproduce it.

> Running  TestComplexExplanations.TestMA3 after TestBoolean2.TestQueries01 
> fails.
> --------------------------------------------------------------------------------
>
>                 Key: LUCENENET-303
>                 URL: https://issues.apache.org/jira/browse/LUCENENET-303
>             Project: Lucene.Net
>          Issue Type: Bug
>            Reporter: Digy
>
> Running  TestComplexExplanations.TestMA3 after TestBoolean2.TestQueries01 
> fails.
> But they both pass if we change the execution order.
> I haven't any solution to this yet. 
> I created this issue just to show the bug with a simple case.
> DIGY

-- 
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.

Reply via email to