Make searching work with new Elasticsearch client