Skip to content

Commit d2c86b9

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

File tree

1 file changed

+1
-1
lines changed
  • extensions/indexes/lucene/src/main/java/org/exist/indexing/lucene

1 file changed

+1
-1
lines changed

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
@@ -120,7 +120,7 @@ public boolean equals(final Object other) {
120120
if (other instanceof LuceneMatch) {
121121
final LuceneMatch lm = (LuceneMatch) other;
122122
return getNodeId().equals(lm.getNodeId())
123-
&& query == lm.query;
123+
&& query.equals(lm.query);
124124
} else {
125125
return false;
126126
}

0 commit comments

Comments
 (0)