Wrap query in search polling
Align commit request with solr4