allow solr to run locally

This change allow solr to run on your own laptop, which is more flexible. This point is important for our next step