dump script for m5nr to solr
optimization: reduce perl memory footprint when doing SQL queries
Merge pull request #2 from teharrison/master

merge back