wrapper for solr to index code on your local machine