public static ElasticClient Create(IEnumerable<string> addresses)
 {
     var uris = addresses.Select(address => new Uri(address));
     var connectionPool = new StaticConnectionPool(uris);
     var settings = new ConnectionSettings(connectionPool);
     settings.MaximumRetries(3);
     settings.SetPingTimeout(500);
     return new ElasticClient(settings);
 }