Skip to content

Conversation

@chenhh021
Copy link
Contributor

Fix #779 . The original fix in Lucene relied on its own implementation of multiset, a similar one is ported in this PR.

The changes break the consistence with the behavior of Lucene 4.8, but at least provide a solution for those who meet the same problem.

@paulirwin
Copy link
Contributor

For posterity, this is a port of apache/lucene#110, although there are some significant differences from how it was done there. This also changes the public API surface of DisjunctionMaxQuery's Disjuncts property, which is a breaking change, so I think my vote would be to hold this for a future release. I'm going to put this in the Future milestone unless @NightOwl888 wants me to pull it in for the next beta.

@paulirwin paulirwin added this to the Future milestone Oct 24, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

The order of disjuncts in DisjunctionMaxQuery affects equals()

2 participants