fullstorydev / solr-bench

Solr benchmarking and load testing harness
Apache License 2.0
17 stars 10 forks source link

add check for empty collection in queryBenchmark #86

Closed nginthfs closed 10 months ago

nginthfs commented 11 months ago

This PR adds a check to make sure the collection for a queryBenchmark is not empty. Previously, this was hard to figure out when it happened, it would be a hard to decipher NullPointerException. This PR makes it much easier to see what went wrong.