public Task<CcrFollowInfoResponse> FollowInfoAsync(Elastic.Clients.Elasticsearch.Indices indices, Action<CcrFollowInfoRequestDescriptor> configureRequest = null, CancellationToken cancellationToken = default)
		{
			var descriptor = new CcrFollowInfoRequestDescriptor(indices);
			configureRequest?.Invoke(descriptor);
			descriptor.BeforeRequest();
			return DoRequestAsync<CcrFollowInfoRequestDescriptor, CcrFollowInfoResponse>(descriptor);
		}
		public CcrFollowInfoResponse FollowInfo(Elastic.Clients.Elasticsearch.Indices indices, Action<CcrFollowInfoRequestDescriptor> configureRequest = null)
		{
			var descriptor = new CcrFollowInfoRequestDescriptor(indices);
			configureRequest?.Invoke(descriptor);
			descriptor.BeforeRequest();
			return DoRequest<CcrFollowInfoRequestDescriptor, CcrFollowInfoResponse>(descriptor);
		}
示例#3
0
        public Task <EqlSearchResponse <TEvent> > SearchAsync <TEvent>(Elastic.Clients.Elasticsearch.Indices indices, Action <EqlSearchRequestDescriptor> configureRequest = null, CancellationToken cancellationToken = default)
        {
            var descriptor = new EqlSearchRequestDescriptor(indices);

            configureRequest?.Invoke(descriptor);
            descriptor.BeforeRequest();
            return(DoRequestAsync <EqlSearchRequestDescriptor, EqlSearchResponse <TEvent> >(descriptor));
        }
示例#4
0
        public EqlSearchResponse <TEvent> Search <TEvent>(Elastic.Clients.Elasticsearch.Indices indices, Action <EqlSearchRequestDescriptor> configureRequest = null)
        {
            var descriptor = new EqlSearchRequestDescriptor(indices);

            configureRequest?.Invoke(descriptor);
            descriptor.BeforeRequest();
            return(DoRequest <EqlSearchRequestDescriptor, EqlSearchResponse <TEvent> >(descriptor));
        }
        public Task <GraphExploreResponse> ExploreAsync(Elastic.Clients.Elasticsearch.Indices indices, Action <GraphExploreRequestDescriptor> configureRequest = null, CancellationToken cancellationToken = default)
        {
            var descriptor = new GraphExploreRequestDescriptor(indices);

            configureRequest?.Invoke(descriptor);
            descriptor.BeforeRequest();
            return(DoRequestAsync <GraphExploreRequestDescriptor, GraphExploreResponse>(descriptor));
        }
        public GraphExploreResponse Explore(Elastic.Clients.Elasticsearch.Indices indices, Action <GraphExploreRequestDescriptor> configureRequest = null)
        {
            var descriptor = new GraphExploreRequestDescriptor(indices);

            configureRequest?.Invoke(descriptor);
            descriptor.BeforeRequest();
            return(DoRequest <GraphExploreRequestDescriptor, GraphExploreResponse>(descriptor));
        }
示例#7
0
 public CcrFollowInfoRequest(Elastic.Clients.Elasticsearch.Indices indices) : base(r => r.Required("index", indices))
 {
 }