QueryStringQueryBuilder equals == true when query is not equal #29403
Elasticsearch version (
Plugins installed:  D.N.A.
JVM version (
OS version (
Description of the problem including expected versus actual behavior: The doEquals() method in the org.elasticsearch.index.query.QueryStringQueryBuilder is not working properly. When two different instances with different queries are compared by the equals method everything works as expected (equals() == false).
Steps to reproduce:
Provide logs (if relevant): D.N.A.