Update solr.js

+ Allow add softCommit