LPS-47182 Modify solr4-web to avoid committing after each request

cc @mhan810