chenhh021 opened a new issue, #779: URL: https://github.com/apache/lucenenet/issues/779
See [Lucene-9940](https://issues.apache.org/jira/browse/LUCENE-9940). I find it valid for current Lucene.Net. DisjunctionMaxQuery stores its disjuncts in a java array, and its equals() implementation uses Arrays.equal() when checking equality. This means that two queries with the same disjuncts but added in a different order will compare as different, even though their results will be identical. We should replace the array with a Set. Fix it may break current behavior, but in case someone need it, I will create a PR. -- This is an automated message from the Apache Git Service. To respond to the message, please log on to GitHub and use the URL above to go to the specific comment. To unsubscribe, e-mail: [email protected] For queries about this service, please contact Infrastructure at: [email protected]
