OpenSearch/docs/reference/cat
Jason Tedor 4a4e3d70d5
Default to one shard (#30539)
This commit changes the default out-of-the-box configuration for the
number of shards from five to one. We think this will help address a
common problem of oversharding. For users with time-based indices that
need a different default, this can be managed with index templates. For
users with non-time-based indices that find they need to re-shard with
the split API in place they no longer need to resort only to
reindexing.

Since this has the impact of changing the default number of shards used
in REST tests, we want to ensure that we still have coverage for issues
that could arise from multiple shards. As such, we randomize (rarely)
the default number of shards in REST tests to two. This is managed via a
global index template. However, some tests check the templates that are
in the cluster state during the test. Since this template is randomly
there, we need a way for tests to skip adding the template used to set
the number of shards to two. For this we add the default_shards feature
skip. To avoid having to write our docs in a complicated way because
sometimes they might be behind one shard, and sometimes they might be
behind two shards we apply the default_shards feature skip to all docs
tests. That is, these tests will always run with the default number of
shards (one).
2018-05-14 12:22:35 -04:00
..
alias.asciidoc Handle multiple aliases in _cat/aliases api (#23698) 2017-04-28 15:21:44 +02:00
allocation.asciidoc Default to one shard (#30539) 2018-05-14 12:22:35 -04:00
count.asciidoc Convert more docs to // CONSOLE 2016-10-25 11:17:24 -04:00
fielddata.asciidoc [DOCS] Fixed various typos in the 'cat APIs' section (#23216) 2017-02-16 20:41:42 +01:00
health.asciidoc Default to one shard (#30539) 2018-05-14 12:22:35 -04:00
indices.asciidoc Default to one shard (#30539) 2018-05-14 12:22:35 -04:00
master.asciidoc Convert more docs to // CONSOLE 2016-10-25 11:17:24 -04:00
nodeattrs.asciidoc Enforce that responses in docs are valid json (#26249) 2017-08-17 09:02:10 -04:00
nodes.asciidoc Add docs on full_id parameter in cat nodes API 2017-10-13 13:49:25 -04:00
pending_tasks.asciidoc Convert more docs to // CONSOLE 2016-10-25 11:17:24 -04:00
plugins.asciidoc Expose the Lucene Korean analyzer module in a plugin (#30397) 2018-05-04 20:46:13 +02:00
recovery.asciidoc Enforce that responses in docs are valid json (#26249) 2017-08-17 09:02:10 -04:00
repositories.asciidoc Convert more docs to // CONSOLE 2016-10-25 11:17:24 -04:00
segments.asciidoc Default to one shard (#30539) 2018-05-14 12:22:35 -04:00
shards.asciidoc Enforce that responses in docs are valid json (#26249) 2017-08-17 09:02:10 -04:00
snapshots.asciidoc CONSOLEify remaining _cat docs 2017-05-03 20:59:27 -04:00
templates.asciidoc CONSOLEify remaining _cat docs 2017-05-03 20:59:27 -04:00
thread_pool.asciidoc Rename the bulk thread pool to write thread pool (#29593) 2018-04-19 08:18:58 -04:00