Resolving issues with Solr 4.4.0 due to deprecation of waitFlush parameter.