in src/main/java/org/opensearch/search/asynchronous/response/AsynchronousSearchResponse.java [183:201]
public boolean equals(Object o) {
if (this == o) {
return true;
}
if (o == null || getClass() != o.getClass()) {
return false;
}
AsynchronousSearchResponse other = (AsynchronousSearchResponse) o;
try {
return ((id == null && other.id == null) || (id != null && id.equals(other.id))) &&
state.equals(other.state) &&
startTimeMillis == other.startTimeMillis &&
expirationTimeMillis == other.expirationTimeMillis
&& Objects.equals(getErrorAsMap(error), getErrorAsMap(other.error))
&& Objects.equals(getResponseAsMap(searchResponse), getResponseAsMap(other.searchResponse));
} catch (IOException e) {
return false;
}
}