Skip to content

Commit d11da90

Browse files
committed
[bugfix] LuceneMatch equality was not computed correctly leading to too many Match results
1 parent bce00d0 commit d11da90

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

  • extensions/indexes/lucene/src/main/java/org/exist/indexing/lucene

extensions/indexes/lucene/src/main/java/org/exist/indexing/lucene/LuceneMatch.java

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -96,7 +96,7 @@ public boolean equals(final Object other) {
9696
if (other instanceof LuceneMatch) {
9797
final LuceneMatch lm = (LuceneMatch) other;
9898
return getNodeId().equals(lm.getNodeId())
99-
&& query == lm.query;
99+
&& query.equals(lm.query);
100100
} else {
101101
return false;
102102
}

0 commit comments

Comments
 (0)