OpenSearch/docs/reference/query-dsl
Simon Willnauer fadbe0de08
Automatically prepare indices for splitting (#27451)
Today we require users to prepare their indices for split operations.
Yet, we can do this automatically when an index is created which would
make the split feature a much more appealing option since it doesn't have
any 3rd party prerequisites anymore.

This change automatically sets the number of routinng shards such that
an index is guaranteed to be able to split once into twice as many shards.
The number of routing shards is scaled towards the default shard limit per index
such that indices with a smaller amount of shards can be split more often than
larger ones. For instance an index with 1 or 2 shards can be split 10x
(until it approaches 1024 shards) while an index created with 128 shards can only
be split 3x by a factor of 2. Please note this is just a default value and users
can still prepare their indices with `index.number_of_routing_shards` for custom
splitting.

NOTE: this change has an impact on the document distribution since we are changing
the hash space. Documents are still uniformly distributed across all shards but since
we are artificually changing the number of buckets in the consistent hashign space
document might be hashed into different shards compared to previous versions.

This is a 7.0 only change.
2017-11-23 09:48:54 +01:00
..
bool-query.asciidoc Rewrite description of `bool`'s `should` (#24342) 2017-04-26 14:09:26 -04:00
boosting-query.asciidoc
common-terms-query.asciidoc [Docs] Fix indentation of examples (#27168) 2017-10-30 11:56:38 +01:00
compound-queries.asciidoc Remove indices query (#21837) 2016-11-30 19:37:01 +01:00
constant-score-query.asciidoc Docs: Added link from bool and constant score query to filter context 2016-12-29 11:05:28 +01:00
dis-max-query.asciidoc Indentation error on example of dist_max (#22578) 2017-01-12 09:38:36 +01:00
exists-query.asciidoc Fix exists query doc 2017-03-30 22:26:10 -04:00
full-text-queries.asciidoc
function-score-query.asciidoc Docs: Use correct field name in Field Value factor docs. (#26104) 2017-08-08 16:34:20 -04:00
fuzzy-query.asciidoc Change default value to true for transpositions parameter of fuzzy query (#26901) 2017-10-11 15:31:48 +02:00
geo-bounding-box-query.asciidoc [Docs] Remove ignore_malformed from Geo Query DSL docs 2017-02-06 14:27:15 -06:00
geo-distance-query.asciidoc [Docs] Remove ignore_malformed from Geo Query DSL docs 2017-02-06 14:27:15 -06:00
geo-polygon-query.asciidoc [Docs] Remove ignore_malformed from Geo Query DSL docs 2017-02-06 14:27:15 -06:00
geo-queries.asciidoc Remove docs for the removed `geo_distance_range` query. 2016-11-30 16:36:55 +01:00
geo-shape-query.asciidoc CONSOLEify geo-shape docs 2017-03-31 09:11:54 -04:00
has-child-query.asciidoc docs: describe parent/child performances 2017-10-26 11:49:13 +02:00
has-parent-query.asciidoc docs: describe parent/child performances 2017-10-26 11:49:13 +02:00
ids-query.asciidoc
joining-queries.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
match-all-query.asciidoc
match-phrase-prefix-query.asciidoc Correct some spelling in match-phrase-prefix docs (#24956) 2017-05-30 09:02:01 -04:00
match-phrase-query.asciidoc
match-query.asciidoc Refactor simple_query_string to handle text part like multi_match and query_string (#26145) 2017-08-21 13:12:27 +02:00
minimum-should-match.asciidoc
mlt-query.asciidoc [DOCS] Replace mention of string field type with text and keyword 2017-09-25 11:12:06 +02:00
multi-match-query.asciidoc Make fields optional in multi_match query and rely on index.query.default_field by default (#27380) 2017-11-17 10:25:21 +01:00
multi-term-rewrite.asciidoc Remove parse field deprecations in query builders (#26711) 2017-09-20 16:22:21 +02:00
nested-query.asciidoc
parent-id-query.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
percolate-query.asciidoc Automatically prepare indices for splitting (#27451) 2017-11-23 09:48:54 +01:00
prefix-query.asciidoc Remove parse field deprecations in query builders (#26711) 2017-09-20 16:22:21 +02:00
query-string-query.asciidoc Expose `fuzzy_transpositions` parameter in fuzzy queries (#26870) 2017-10-05 09:01:09 +02:00
query-string-syntax.asciidoc Clarify pure wilcard matching with `query_string` (#26814) 2017-10-04 09:55:26 +02:00
query_filter_context.asciidoc
range-query.asciidoc
regexp-query.asciidoc
regexp-syntax.asciidoc Update regexp-syntax.asciidoc (#20973) 2016-10-17 16:32:17 +02:00
script-query.asciidoc Scripting: Change keys for inline/stored scripts to source/id (#25127) 2017-06-09 08:29:25 -07:00
simple-query-string-query.asciidoc Expose `fuzzy_transpositions` parameter in fuzzy queries (#26870) 2017-10-05 09:01:09 +02:00
span-containing-query.asciidoc
span-field-masking-query.asciidoc Documentation for field_masking_span query (#20395) 2016-09-13 12:27:33 +01:00
span-first-query.asciidoc
span-multi-term-query.asciidoc Update span-multi-term-query.asciidoc (#22733) 2017-01-23 17:33:40 +01:00
span-near-query.asciidoc
span-not-query.asciidoc [Docs] Clarify `span_not` query behavior for non-overlapping matches (#27150) 2017-10-30 11:29:40 +01:00
span-or-query.asciidoc
span-queries.asciidoc Documentation for field_masking_span query (#20395) 2016-09-13 12:27:33 +01:00
span-term-query.asciidoc
span-within-query.asciidoc
special-queries.asciidoc Removed deprecated template query. 2017-05-11 14:56:45 +02:00
term-level-queries.asciidoc Added new terms_set query 2017-11-01 10:55:18 +01:00
term-query.asciidoc
terms-query.asciidoc Make `index` in TermsLookup mandatory (#25753) 2017-07-17 18:50:30 +02:00
terms-set-query.asciidoc Added new terms_set query 2017-11-01 10:55:18 +01:00
type-query.asciidoc
wildcard-query.asciidoc