can ES ensure consistency for distributed operations if the operation
consists of more phases?
For example if DFS_QUERY_THEN_FETCH search type is used what happens if some
relevant documents are deleted from index between first and second phase of
the query?
Yes, elasticsearch ensures consistency of things changed between phases.
Those changes will not suddenly be reflected if they "got in" between the
phases. Low level wise, its done by maintaining the same IndexReader to use
between phases.
can ES ensure consistency for distributed operations if the operation
consists of more phases?
For example if DFS_QUERY_THEN_FETCH search type is used what happens if
some relevant documents are deleted from index between first and second
phase of the query?
Apache, Apache Lucene, Apache Hadoop, Hadoop, HDFS and the yellow elephant
logo are trademarks of the
Apache Software Foundation
in the United States and/or other countries.