Removed search_data method for elasticsearch.