Elasticsearch php test