News for hackers. Stuff that matters.
Re:Using Elasticsearch as the Primary Data Store in an ETL P... by atombender on Friday November 30, 2018 @03:56PM (#18572542)
The "refresh=wait_for" [1] index setting does guarantee that a subsequent read will get the data. It causes all shards to refresh:

    Refresh the relevant primary and replica shards
    (not the whole index) immediately after the operation
    occurs, so that the updated document appears in search
    results immediately
There's also the "wait_for_active_shards=<n>" setting, which merely asks to wait until n shards have written the changes.

[1] https://www.elastic.co/guide/en/elasticsearch/reference/curr...

There are no comments on this comment yet.