Details
-
Improvement
-
Status: Open
-
Minor
-
Resolution: Unresolved
-
8.5.2, 9.0
-
None
-
None
Description
Currently, many SolrRequest classes (e.g. UpdateRequest) don't implement equals() or hashCode()
This isn't a problem for Solr's normal operation, but it can be a barrier in unit testing SolrJ client code. equals() implementations would make it much easier to assert that client code is building the request that developers think it's building. Of course, this testing benefit would apply to Solr's own tests which use SolrJ.
This ticket covers making sure that the more popular SolrRequest objects have equals/hashcode implementations useful for testers.
Attachments
Issue Links
- links to