Wait until indexed in NEST

(Michał Gąsior) #1

As in the topic - how can I wait until everything is indexed and searchable without using the Refresh method?

var projects = new List<Project>()

IBulkResponse response = await Client.IndexManyAsync(projects);
if (response.IsValid)
	ISearchResponse<Project> searchResponse = await Client.SearchAsync<Project>(s => 
	return searchResponse.Documents;

Is there any option of using ?refresh=wait_for as said here?

(system) #2

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