elasticsearch/docs/reference/modules
Luca Cavanna e18cac3659
Add finalReduce flag to SearchRequest (#38104)
With #37000 we made sure that fnial reduction is automatically disabled
whenever a localClusterAlias is provided with a SearchRequest.

While working on #37838, we found a scenario where we do need to set a
localClusterAlias yet we would like to perform a final reduction in the
remote cluster: when searching on a single remote cluster.

Relates to #32125

This commit adds support for a separate finalReduce flag to
SearchRequest and makes use of it in TransportSearchAction in case we
are searching against a single remote cluster.

This also makes sure that num_reduce_phases is correct when searching
against a single remote cluster: it makes little sense to return
`num_reduce_phases` set to `2`, which looks especially weird in case
the search was performed against a single remote shard. We should
perform one reduction phase only in this case and `num_reduce_phases`
should reflect that.

* line length
2019-02-01 12:11:42 +01:00
..
cluster Periodically try to reassign unassigned persistent tasks (#36069) 2018-12-13 09:15:27 +00:00
discovery Step down as master when configured out of voting configuration (#37802) 2019-01-29 12:43:04 +01:00
indices Remove include_type_name in asciidoc where possible (#37568) 2019-01-18 09:34:11 +01:00
scripting Remove more include_type_name and types from docs (#37601) 2019-01-18 14:11:18 +01:00
cluster.asciidoc [Zen2] Update documentation for Zen2 (#34714) 2018-12-20 13:02:44 +00:00
cross-cluster-search.asciidoc Add finalReduce flag to SearchRequest (#38104) 2019-02-01 12:11:42 +01:00
discovery.asciidoc [DOCS] Adds overview and API ref for cluster voting configurations (#36954) 2019-01-07 09:11:14 -08:00
gateway.asciidoc [Docs] Remove repeating words (#33087) 2018-08-28 13:16:43 +02:00
http.asciidoc Docs: Fixed a grammatical mistake: 'a HTTP ...' -> 'an HTTP ...' (#33744) 2018-09-17 15:35:54 -04:00
indices.asciidoc [Docs] Add indices.query.bool.max_clause_count setting (#34779) 2018-10-25 17:59:59 +02:00
memcached.asciidoc [Docs] Unify spelling of Elasticsearch (#27567) 2017-11-29 09:44:25 +01:00
ml-node.asciidoc [DOCS] Cleans up xpackml attributes 2019-01-07 14:33:10 -08:00
network.asciidoc Update transport docs and settings for changes (#36786) 2018-12-18 13:09:58 -07:00
node.asciidoc [Zen2] Update documentation for Zen2 (#34714) 2018-12-20 13:02:44 +00:00
plugins.asciidoc [Docs] Unify spelling of Elasticsearch (#27567) 2017-11-29 09:44:25 +01:00
remote-clusters.asciidoc Update transport docs and settings for changes (#36786) 2018-12-18 13:09:58 -07:00
scripting.asciidoc [DOCS] Added Painless Language Spec content 2017-05-16 12:46:56 -07:00
snapshots.asciidoc [Zen2] Update documentation for Zen2 (#34714) 2018-12-20 13:02:44 +00:00
threadpool.asciidoc Add a _freeze / _unfreeze API (#35592) 2018-11-20 08:03:24 +01:00
thrift.asciidoc [Docs] Unify spelling of Elasticsearch (#27567) 2017-11-29 09:44:25 +01:00
transport.asciidoc [DOCS] Various spelling corrections (#37046) 2019-01-07 14:44:12 +01:00