Added check for apache solr autocomplete module