Exemplo n.º 1
0
        public static Task <ElasticsearchResponse <T> > IndicesPutAliasAsync <T>(this ElasticsearchClient client, string index, string name, object body, Func <IndicesPutAliasRequestParameters, IndicesPutAliasRequestParameters> requestParameters = null)
        {
            var selector = Obsolete.UpCastSelector <IndicesPutAliasRequestParameters, PutAliasRequestParameters>(requestParameters);

            return(client.IndicesPutAliasAsync <T>(index, name, selector));
        }