OpenSearch/docs/reference/indices
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
..
aliases.asciidoc Remove usage of multi-types from the docs and added a page explaining type removal (#25543) 2017-07-05 12:30:19 +02:00
analyze.asciidoc Limit the number of tokens produced by _analyze (#27529) 2017-11-30 11:54:39 -05:00
clearcache.asciidoc Add CONSOLE to a few snippets in reference docs 2016-09-01 13:08:36 -04:00
create-index.asciidoc Add an `include_type_name` option. (#29453) 2018-04-11 15:54:16 +02:00
delete-index.asciidoc [DOCS] delete index no longer supports specifying aliases 2017-06-19 10:30:05 +02:00
flush.asciidoc Default to one shard (#30539) 2018-05-14 12:22:35 -04:00
forcemerge.asciidoc [docs] add warning for read-write indices in force merge documentation (#28869) 2018-05-09 18:53:55 +02:00
get-field-mapping.asciidoc Allow `_doc` as a type. (#27816) 2017-12-14 17:47:53 +01:00
get-index.asciidoc Remove comma-separated feature parsing for GetIndicesAction 2017-06-02 14:43:38 -06:00
get-mapping.asciidoc Add an `include_type_name` option. (#29453) 2018-04-11 15:54:16 +02:00
get-settings.asciidoc CONSOLEify some more Indices APIs (#24375) 2017-05-01 13:56:39 -04:00
indices-exists.asciidoc documentation fix: index exists is ambiguous (#28460) 2018-02-01 13:22:32 -08:00
open-close.asciidoc Add wait_for_active_shards parameter to index open command (#26682) 2017-09-22 11:15:03 +02:00
put-mapping.asciidoc Add an `include_type_name` option. (#29453) 2018-04-11 15:54:16 +02:00
recovery.asciidoc [Docs] Convert more doc snippets (#26359) 2017-08-28 11:23:09 +02:00
refresh.asciidoc Add CONSOLE to more docs 2016-09-01 17:08:18 -04:00
rollover-index.asciidoc Allow `_doc` as a type. (#27816) 2017-12-14 17:47:53 +01:00
segments.asciidoc [Docs] Convert more doc snippets (#26359) 2017-08-28 11:23:09 +02:00
shard-stores.asciidoc [Docs] Convert more doc snippets (#26359) 2017-08-28 11:23:09 +02:00
shrink-index.asciidoc Default to one shard (#30539) 2018-05-14 12:22:35 -04:00
split-index.asciidoc Adjust copy settings versions 2018-05-13 22:23:13 -04:00
stats.asciidoc Switch more docs to CONSOLE 2016-09-02 18:22:30 -04:00
templates.asciidoc Reformat paragraph in template docs to 80 columns 2017-10-12 17:52:43 -04:00
types-exists.asciidoc Switch indices.exists_type from `{index}/{type}` to `{index}/_mapping/{type}`. #20055 2016-08-19 09:18:24 +02:00
update-settings.asciidoc Docs: Add example of resetting index setting (#29048) 2018-03-19 20:04:58 -07:00