I'm using ES to retrieve data, which I change and update back in ES followed by doing the same search query - it looks like I don't always get the updated document back down and have to wait a second or two.
Using the following code:
esClient.Update<TESDocModel, TESDocModel>(new DocumentPath<TESDocModel>(docId), u => u.Index(index).Doc(toUpdate).DocAsUpsert(true));
Is this correct behaviour or should a document be immediately searchable after the upsertdocument operation is complete?