Scroll API

(Hassan Shaitou) #1

As far as I understand, Scroll API is used to handle response of more than 10000 documents, where you surpass the limit...

I am doing it with NEST C# package as follows:

var response = client.Search<JoinTestOneTwo>(s => s
			var all_results = client.Scroll<JoinTestOneTwo>("1m",response.ScrollId);

				if (all_results.ApiCall.ResponseBodyInBytes != null)
					var resp = System.Text.Encoding.UTF8.GetString(all_results.ApiCall.ResponseBodyInBytes);


I am getting the same result of variable "response"...
My question is how to collect more than 10000 documents in Elasticsearch ?
Note: Using Elasticsearch 6.0.0 with NEST version 6.0.0-rc1

(system) #2

This topic was automatically closed 28 days after the last reply. New replies are no longer allowed.