I am performing an insert into elasticsearch using a promise to confirm it is complete, before I query the same index. I have had to set a timeout to allow elasticsearch to "catch up" or the query returns zero results. This is on a local development environment, so it is not like I am dealing with network latency or something related. Any ideas would be much appreciated.
warkolm (Mark Walkom) #2
system (system) #3