Is there any feature available that i can wait for the insert query that all date is completely synced over the whole cluster? if i’m to fast after insert, the new data isn’t available at all on a new select query. i’m using the http interface to request and store the data.
Apart from the REFRESH mechanism, for which you can find more details here, regarding the configuration of your table(s), it’s also worth taking a look at the write-wait-for-active-shards, which is orthogonal to the refresh mechanism, but lets you configure on how many replicas your data should be synced before an insert is returned as “successful” to the client.