Something like
wget http://hostname:8983/solr/collection_name_here/query?q=*:*
also does the trick :)` (and stores the result in a file called query?q=*:*
)