I’d do multiple queries in parallel. It is super easy with Solr. Send each query request, then go back and read each response. They happen in parallel without any threads in the client.

If you want the total, then do another query. It will share cached posting lists with the other queries, so they’ll all be fast together.

Walter Underwood
http://observer.wunderwood.org/  (my blog)