DocAsUpdate from .Net with NEST Client delay

Elasticsearch server: 2.3
Elasticsearch .Net: 2.4.6
NEST: 2.4.6

var aClient = await GetElasticSearchConnection(objIndex);
await aClient.UpdateAsync(new DocumentPath
(objDocument), u => u.Index(objIndex).Doc(objDocument).DocAsUpsert());

We are performing an update to the index with the following. If immediately perform a search within less than a second, the updated document is not available. I tried updating Elasticsearch .Net and NEST to 5.5.0 but it didn't help. We are using "await", but unless I mistaken it appears that the DocAsUpsert is queuing or something and the update isn't happening immediately.

Please clarify.

Peter DeSimone

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