public static ElasticsearchResponse <DynamicDictionary> IndicesExistsType(
            this IElasticsearchClient client, string index, string type, IndicesExistsTypeSelector requestParameters)
        {
            var selector = Obsolete.UpCastSelector <IndicesExistsTypeRequestParameters, TypeExistsRequestParameters>(requestParameters);

            return(client.IndicesExistsType(index, type, selector));
        }
        public static ElasticsearchResponse <T> IndicesExistsAlias <T>(
            this IElasticsearchClient client, string index, IndicesExistsAliasSelector requestParameters)
        {
            var selector = Obsolete.UpCastSelector <IndicesExistsAliasRequestParameters, AliasExistsRequestParameters>(requestParameters);

            return(client.IndicesExistsAlias <T>(index, selector));
        }
        public static Task <ElasticsearchResponse <DynamicDictionary> > IndicesExistsAliasAsync(
            this IElasticsearchClient client, string index, IndicesExistsAliasSelector requestParameters)
        {
            var selector = Obsolete.UpCastSelector <IndicesExistsAliasRequestParameters, AliasExistsRequestParameters>(requestParameters);

            return(client.IndicesExistsAliasAsync(index, selector));
        }
        public static Task <ElasticsearchResponse <T> > IndicesExistsTypeAsync <T>(
            this IElasticsearchClient client, string index, string type, IndicesExistsTypeSelector requestParameters)
        {
            var selector = Obsolete.UpCastSelector <IndicesExistsTypeRequestParameters, TypeExistsRequestParameters>(requestParameters);

            return(client.IndicesExistsTypeAsync <T>(index, type, selector));
        }
        public static ElasticsearchResponse <T> MpercolateGet <T>(this IElasticsearchClient client, MpercolateSelector requestParameters)
        {
            var selector = Obsolete.UpCastSelector <MpercolateRequestParameters, MultiPercolateRequestParameters>(requestParameters);

            return(client.MpercolateGet <T>(selector));
        }
        public static ElasticsearchResponse <T> Mpercolate <T>(this IElasticsearchClient client, string index, object body, MpercolateSelector requestParameters)
        {
            var selector = Obsolete.UpCastSelector <MpercolateRequestParameters, MultiPercolateRequestParameters>(requestParameters);

            return(client.Mpercolate <T>(index, body, selector));
        }
        public static ElasticsearchResponse <DynamicDictionary> Mpercolate(this IElasticsearchClient client, object body, MpercolateSelector requestParameters)
        {
            var selector = Obsolete.UpCastSelector <MpercolateRequestParameters, MultiPercolateRequestParameters>(requestParameters);

            return(client.Mpercolate(body, selector));
        }
        public static Task <ElasticsearchResponse <T> > MpercolateAsync <T>(this IElasticsearchClient client, object body, MpercolateSelector requestParameters)
        {
            var selector = Obsolete.UpCastSelector <MpercolateRequestParameters, MultiPercolateRequestParameters>(requestParameters);

            return(client.MpercolateAsync <T>(body, selector));
        }
        public static ElasticsearchResponse <DynamicDictionary> IndicesPutAliasPost(this IElasticsearchClient client, string index, string name, object body, Func <IndicesPutAliasRequestParameters, IndicesPutAliasRequestParameters> requestParameters = null)
        {
            var selector = Obsolete.UpCastSelector <IndicesPutAliasRequestParameters, PutAliasRequestParameters>(requestParameters);

            return(client.IndicesPutAliasPost(index, name, selector));
        }
        public static Task <ElasticsearchResponse <DynamicDictionary> > IndicesGetFieldMappingAsync(this IElasticsearchClient client, string index, string field, IndicesGetFieldMappingSelector requestParameters)
        {
            var selector = Obsolete.UpCastSelector <IndicesGetFieldMappingRequestParameters, GetFieldMappingRequestParameters>(requestParameters);

            return(client.IndicesGetFieldMappingAsync(index, field, selector));
        }
        public static ElasticsearchResponse <DynamicDictionary> MpercolateGet(this IElasticsearchClient client, string index, string type, MpercolateSelector requestParameters)
        {
            var selector = Obsolete.UpCastSelector <MpercolateRequestParameters, MultiPercolateRequestParameters>(requestParameters);

            return(client.MpercolateGet(index, type, selector));
        }
        public static Task <ElasticsearchResponse <DynamicDictionary> > MpercolateGetAsync(this IElasticsearchClient client, MpercolateSelector requestParameters)
        {
            var selector = Obsolete.UpCastSelector <MpercolateRequestParameters, MultiPercolateRequestParameters>(requestParameters);

            return(client.MpercolateGetAsync(selector));
        }
        public static Task <ElasticsearchResponse <DynamicDictionary> > IndicesRecoveryAsync(this IElasticsearchClient client, string index, IndicesRecoveryStatusSelector requestParameters = null)
        {
            var selector = Obsolete.UpCastSelector <IndicesRecoveryRequestParameters, RecoveryStatusRequestParameters>(requestParameters);

            return(client.IndicesRecoveryAsync(index, selector));
        }
        public static ElasticsearchResponse <T> IndicesRecovery <T>(this IElasticsearchClient client, string index, IndicesRecoveryStatusSelector requestParameters = null)
        {
            var selector = Obsolete.UpCastSelector <IndicesRecoveryRequestParameters, RecoveryStatusRequestParameters>(requestParameters);

            return(client.IndicesRecovery <T>(index, selector));
        }
        public static ElasticsearchResponse <DynamicDictionary> IndicesRecoveryForAll(this IElasticsearchClient client, IndicesRecoveryStatusSelector requestParameters = null)
        {
            var selector = Obsolete.UpCastSelector <IndicesRecoveryRequestParameters, RecoveryStatusRequestParameters>(requestParameters);

            return(client.IndicesRecoveryForAll(selector));
        }
        public static Task <ElasticsearchResponse <T> > IndicesRecoveryForAllAsync <T>(this IElasticsearchClient client, IndicesRecoveryStatusSelector requestParameters = null)
        {
            var selector = Obsolete.UpCastSelector <IndicesRecoveryRequestParameters, RecoveryStatusRequestParameters>(requestParameters);

            return(client.IndicesRecoveryForAllAsync <T>(selector));
        }
        public static Task <ElasticsearchResponse <DynamicDictionary> > IndicesDeleteAliasAsync(this IElasticsearchClient client, string index, string name, Func <IndicesDeleteAliasRequestParameters, IndicesDeleteAliasRequestParameters> requestParameters = null)
        {
            var selector = Obsolete.UpCastSelector <IndicesDeleteAliasRequestParameters, DeleteAliasRequestParameters>(requestParameters);

            return(client.IndicesDeleteAliasAsync(index, name, selector));
        }
        public static ElasticsearchResponse <T> IndicesDeleteAlias <T>(this IElasticsearchClient client, string index, string name, Func <IndicesDeleteAliasRequestParameters, IndicesDeleteAliasRequestParameters> requestParameters = null)
        {
            var selector = Obsolete.UpCastSelector <IndicesDeleteAliasRequestParameters, DeleteAliasRequestParameters>(requestParameters);

            return(client.IndicesDeleteAlias <T>(index, name, selector));
        }
        public static Task <ElasticsearchResponse <T> > MpercolateGetAsync <T>(this IElasticsearchClient client, string index, string type, MpercolateSelector requestParameters)
        {
            var selector = Obsolete.UpCastSelector <MpercolateRequestParameters, MultiPercolateRequestParameters>(requestParameters);

            return(client.MpercolateGetAsync <T>(index, type, selector));
        }
        public static ElasticsearchResponse <T> SnapshotGetRepository <T>(this IElasticsearchClient client, string repository, SnapshotGetRepositorySelector requestParameters = null)
        {
            var selector = Obsolete.UpCastSelector <SnapshotGetRepositoryRequestParameters, GetRepositoryRequestParameters>(requestParameters);

            return(client.SnapshotGetRepository <T>(repository, selector));
        }
        public static Task <ElasticsearchResponse <DynamicDictionary> > SnapshotGetRepositoryAsync(this IElasticsearchClient client, string repository, SnapshotGetRepositorySelector requestParameters = null)
        {
            var selector = Obsolete.UpCastSelector <SnapshotGetRepositoryRequestParameters, GetRepositoryRequestParameters>(requestParameters);

            return(client.SnapshotGetRepositoryAsync(repository, selector));
        }
Beispiel #22
0
        public static ElasticsearchResponse <T> IndicesExistsTemplateForAll <T>(this IElasticsearchClient client, string name, IndicesExistsTemplateSelector requestParameters = null)
        {
            var selector = Obsolete.UpCastSelector <IndicesExistsTemplateRequestParameters, TemplateExistsRequestParameters>(requestParameters);

            return(client.IndicesExistsTemplateForAll <T>(name, requestParameters));
        }
        public static ElasticsearchResponse <T> IndicesGetFieldMapping <T>(this IElasticsearchClient client, string index, string field, IndicesGetFieldMappingSelector requestParameters)
        {
            var selector = Obsolete.UpCastSelector <IndicesGetFieldMappingRequestParameters, GetFieldMappingRequestParameters>(requestParameters);

            return(client.IndicesGetFieldMapping <T>(index, field, selector));
        }
Beispiel #24
0
        public static Task <ElasticsearchResponse <DynamicDictionary> > IndicesExistsTemplateForAllAsync(this IElasticsearchClient client, string name, IndicesExistsTemplateSelector requestParameters = null)
        {
            var selector = Obsolete.UpCastSelector <IndicesExistsTemplateRequestParameters, TemplateExistsRequestParameters>(requestParameters);

            return(client.IndicesExistsTemplateForAllAsync(name, requestParameters));
        }
        public static ElasticsearchResponse <DynamicDictionary> IndicesGetFieldMappingForAll(this IElasticsearchClient client, string type, string field, IndicesGetFieldMappingSelector requestParameters)
        {
            var selector = Obsolete.UpCastSelector <IndicesGetFieldMappingRequestParameters, GetFieldMappingRequestParameters>(requestParameters);

            return(client.IndicesGetFieldMappingForAll(type, field, selector));
        }
        public static Task <ElasticsearchResponse <T> > IndicesPutAliasForAllAsync <T>(this IElasticsearchClient client, string name, object body, Func <IndicesPutAliasRequestParameters, IndicesPutAliasRequestParameters> requestParameters = null)
        {
            var selector = Obsolete.UpCastSelector <IndicesPutAliasRequestParameters, PutAliasRequestParameters>(requestParameters);

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