lucene/lucene/queryparser
Alan Woodward f7a3587091
LUCENE-9940: DisjunctionMaxQuery shouldn't depend on disjunct order for equals checks (#110)
DisjunctionMaxQuery stores its disjuncts in a Query[], and uses
Arrays.equals() for comparisons in its equals() implementation.
This means that the order in which disjuncts are added to the query
matters for equality checks.

This commit changes DMQ to instead store its disjuncts in a Multiset,
meaning that ordering no longer matters. The getDisjuncts()
method now returns a Collection<Query> rather than a List, and
some tests are changed to use query equality checks rather than
iterating over disjuncts and expecting a particular order.
2021-04-29 09:47:55 +01:00
..
docs LUCENE-8626: Lucene standardize test naming part 3 and final (#2220) 2021-01-22 12:38:52 -05:00
src LUCENE-9940: DisjunctionMaxQuery shouldn't depend on disjunct order for equals checks (#110) 2021-04-29 09:47:55 +01:00
build.gradle LUCENE-9488 Create Release Artifacts with Gradle (#1905) 2020-10-08 14:25:51 -05:00