add lib_solr_query; add commit_flags block