You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
See 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.
The text was updated successfully, but these errors were encountered:
Most/all issues from the Lucene (Java) version that has been fixed later than v4.8 will obviously be in this v. of Lucene.NET as it targets that version (v4.8) - since that issue is marked as fixed in 9.0, it's a given that it affects Lucene.NET as is.
See 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.
The text was updated successfully, but these errors were encountered: