Does ElasticSearch scan-and-scroll fetch account for updates? -
imagine i'm doing scan-and-scroll perform index migration. if update document during such operation, see new version of document in document stream, or skipped?
it skipped scan operasion snapshot in time before document updated. next scan updates. here quout elasticsearch
docs:
the results returned scroll request reflect state of index @ time initial search request made, snapshot in time. subsequent changes documents (index, update or delete) affect later search requests.
hope helps.
Comments
Post a Comment