-
Notifications
You must be signed in to change notification settings - Fork 25.8k
TermsSetQueryBuilder#doEquals is incorrect #29620
Copy link
Copy link
Closed
Labels
:Search/SearchSearch-related issues that do not fall into other categoriesSearch-related issues that do not fall into other categories>bug
Description
Currently written as
protected boolean doEquals(TermsSetQueryBuilder other) {
return Objects.equals(fieldName, this.fieldName) && Objects.equals(values, this.values) &&
Objects.equals(minimumShouldMatchField, this.minimumShouldMatchField) &&
Objects.equals(minimumShouldMatchScript, this.minimumShouldMatchScript);
}
should be
protected boolean doEquals(TermsSetQueryBuilder other) {
return Objects.equals(fieldName, other.fieldName) && Objects.equals(values, other.values) &&
Objects.equals(minimumShouldMatchField, other.minimumShouldMatchField) &&
Objects.equals(minimumShouldMatchScript, other.minimumShouldMatchScript);
}
Reactions are currently unavailable
Metadata
Metadata
Assignees
Labels
:Search/SearchSearch-related issues that do not fall into other categoriesSearch-related issues that do not fall into other categories>bug
Type
Fields
Give feedbackNo fields configured for issues without a type.