File tree Expand file tree Collapse file tree 1 file changed +12
-0
lines changed Expand file tree Collapse file tree 1 file changed +12
-0
lines changed Original file line number Diff line number Diff line change @@ -118,7 +118,19 @@ export interface Request extends RequestBase {
118118 keep_alive ?: Duration
119119 keep_on_completion ?: boolean
120120 wait_for_completion_timeout ?: Duration
121+ /**
122+ * Allow query execution also in case of shard failures.
123+ * If true, the query will keep running and will return results based on the available shards.
124+ * For sequences, the behavior can be further refined using allow_partial_sequence_results
125+ * @server_default true
126+ */
121127 allow_partial_search_results ?: boolean
128+ /**
129+ * This flag applies only to sequences and has effect only if allow_partial_search_results=true.
130+ * If true, the sequence query will return results based on the available shards, ignoring the others.
131+ * If false, the sequence query will return successfully, but will always have empty results.
132+ * @server_default false
133+ */
122134 allow_partial_sequence_results ?: boolean
123135 /**
124136 * For basic queries, the maximum number of matching events to return. Defaults to 10
You can’t perform that action at this time.
0 commit comments