OpenSearch/docs/reference/search
Luca Cavanna 622fb7883b
Introduce ability to minimize round-trips in CCS (#37828)
With #37566 we have introduced the ability to merge multiple search responses into one. That makes it possible to expose a new way of executing cross-cluster search requests, that makes CCS much faster whenever there is network latency between the CCS coordinating node and the remote clusters. The coordinating node can now send a single search request to each remote cluster, which gets reduced by each one of them. from + size results are requested to each cluster, and the reduce phase in each cluster is non final (meaning that buckets are not pruned and pipeline aggs are not executed). The CCS coordinating node performs an additional, final reduction, which produces one search response out of the multiple responses received from the different clusters.

This new execution path will be activated by default for any CCS request unless a scroll is provided or inner hits are requested as part of field collapsing. The search API accepts now a new parameter called ccs_minimize_roundtrips that allows to opt-out of the default behaviour.

Relates to #32125
2019-01-31 15:12:14 +01:00
..
request Use mappings to format doc-value fields by default. (#30831) 2019-01-30 10:31:51 +01:00
suggesters Remove remaining occurances of "include_type_name=true" in docs (#37646) 2019-01-22 15:13:52 +01:00
count.asciidoc Deprecate types in count and msearch. (#35421) 2018-11-16 13:04:43 -08:00
explain.asciidoc Deprecate types in explain requests. (#35611) 2018-12-10 19:45:13 -08:00
field-caps.asciidoc In the field capabilities API, remove support for providing fields in the request body. (#30185) 2018-04-27 16:14:11 -07:00
multi-search.asciidoc Fix typo in multi-search.asciidoc (#37060) 2019-01-02 10:32:42 +01:00
profile.asciidoc [DOCS] Adds missing anchors for profile API 2018-12-18 15:20:19 -08:00
rank-eval.asciidoc [DOCS] Various spelling corrections (#37046) 2019-01-07 14:44:12 +01:00
request-body.asciidoc Introduce ability to minimize round-trips in CCS (#37828) 2019-01-31 15:12:14 +01:00
search-shards.asciidoc Default to one shard (#30539) 2018-05-14 12:22:35 -04:00
search-template.asciidoc Remove references to multiple types in the search documentation. (#34625) 2018-10-19 09:47:34 -07:00
search.asciidoc Remove references to multiple types in the search documentation. (#34625) 2018-10-19 09:47:34 -07:00
suggesters.asciidoc [Docs] Emphazise suggest behaviour with missing query part (#35393) 2018-11-28 12:01:27 +01:00
uri-request.asciidoc Track total hits up to 10,000 by default (#37466) 2019-01-25 13:45:39 +01:00
validate.asciidoc Use new bulk API endpoint in the docs (#37698) 2019-01-23 09:46:28 +01:00