munendrasn commented on a change in pull request #1371: SOLR-14333: print
readable version of CollapsedPostFilter query
URL: https://github.com/apache/lucene-solr/pull/1371#discussion_r396464755
##########
File path:
solr/core/src/java/org/apache/solr/search/CollapsingQParserPlugin.java
##########
@@ -184,6 +184,11 @@ public boolean equals(final Object other) {
public int hashCode() {
return 17 * (31 + selectorText.hashCode()) * (31 + type.hashCode());
}
+
+ @Override
+ public String toString(){
+ return selectorText;
Review comment:
shouldn't we include type?
----------------------------------------------------------------
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
For queries about this service, please contact Infrastructure at:
[email protected]
With regards,
Apache Git Services
---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]