OpenSearch/docs/reference/query-dsl
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
..
bool-query.asciidoc Rewrite description of `bool`'s `should` (#24342) 2017-04-26 14:09:26 -04:00
boosting-query.asciidoc Add back doc execution to query dsl. 2016-05-24 12:43:41 +02:00
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 Update full-text-queries.asciidoc 2016-05-10 12:18:21 +02:00
function-score-query.asciidoc [Docs] Specify function score logarithm modifiers (#28821) 2018-02-27 10:29:43 -08:00
fuzzy-query.asciidoc Update fuzzy-query.asciidoc (#28032) 2018-01-01 08:44:04 +01:00
geo-bounding-box-query.asciidoc [GEO] Add WKT Support to GeoBoundingBoxQueryBuilder 2018-01-15 13:30:51 -06:00
geo-distance-query.asciidoc Allow `_doc` as a type. (#27816) 2017-12-14 17:47:53 +01: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 Allow `_doc` as a type. (#27816) 2017-12-14 17:47:53 +01:00
has-child-query.asciidoc Improve wording 2018-02-15 15:31:00 +00:00
has-parent-query.asciidoc docs: describe parent/child performances 2017-10-26 11:49:13 +02:00
ids-query.asciidoc Remove legacy mapping code. (#29224) 2018-04-11 09:41:37 +02:00
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 Add back doc execution to query dsl. 2016-05-24 12:43:41 +02:00
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 Add support to match_phrase query for zero_terms_query. (#29598) 2018-04-19 11:25:27 -07:00
match-query.asciidoc Fix a reference to match_phrase_prefix in the match query docs. (#30282) 2018-05-01 13:46:33 -07:00
minimum-should-match.asciidoc Query DSL: Remove filter parsers. 2015-05-07 20:14:34 +02:00
mlt-query.asciidoc Allow `_doc` as a type. (#27816) 2017-12-14 17:47:53 +01: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 [TEST] wait for yellow after setup doc tests (#18726) 2016-06-03 16:37:28 +02:00
parent-id-query.asciidoc Allow `_doc` as a type. (#27816) 2017-12-14 17:47:53 +01:00
percolate-query.asciidoc Default to one shard (#30539) 2018-05-14 12:22:35 -04:00
prefix-query.asciidoc Remove parse field deprecations in query builders (#26711) 2017-09-20 16:22:21 +02:00
query-string-query.asciidoc fix query string example for boolean query (#28881) 2018-03-30 15:10:14 +02:00
query-string-syntax.asciidoc Improve query string docs (#28882) 2018-03-30 16:36:40 +02:00
query_filter_context.asciidoc Add back doc execution to query dsl. 2016-05-24 12:43:41 +02:00
range-query.asciidoc Add back doc execution to query dsl. 2016-05-24 12:43:41 +02:00
regexp-query.asciidoc Reject regex search if regex string is too long (#28542) 2018-02-23 10:41:24 -08:00
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 Add back doc execution to query dsl. 2016-05-24 12:43:41 +02:00
span-field-masking-query.asciidoc Documentation for field_masking_span query (#20395) 2016-09-13 12:27:33 +01:00
span-first-query.asciidoc Add back doc execution to query dsl. 2016-05-24 12:43:41 +02:00
span-multi-term-query.asciidoc Update span-multi-term-query.asciidoc (#22733) 2017-01-23 17:33:40 +01:00
span-near-query.asciidoc Add back doc execution to query dsl. 2016-05-24 12:43:41 +02:00
span-not-query.asciidoc [Docs]Corrected spelling errors. (#28976) 2018-03-19 10:22:40 -07:00
span-or-query.asciidoc Add back doc execution to query dsl. 2016-05-24 12:43:41 +02:00
span-queries.asciidoc Documentation for field_masking_span query (#20395) 2016-09-13 12:27:33 +01:00
span-term-query.asciidoc Add back doc execution to query dsl. 2016-05-24 12:43:41 +02:00
span-within-query.asciidoc Add back doc execution to query dsl. 2016-05-24 12:43:41 +02:00
special-queries.asciidoc added docs for `wrapper` query. 2018-03-14 11:51:22 +01:00
term-level-queries.asciidoc [Docs] Add term query with normalizer example 2018-05-03 10:23:14 +02:00
term-query.asciidoc Documents applicability of term query to range type (#28166) 2018-01-18 17:19:01 -05:00
terms-query.asciidoc Fixed typo in search for wrong type (#28645) 2018-02-13 02:47:01 -05:00
terms-set-query.asciidoc Default to one shard (#30539) 2018-05-14 12:22:35 -04:00
type-query.asciidoc Allow `_doc` as a type. (#27816) 2017-12-14 17:47:53 +01:00
wildcard-query.asciidoc Update wildcard-query.asciidoc (#20057) 2016-08-18 14:04:46 +02:00
wrapper-query.asciidoc added docs for `wrapper` query. 2018-03-14 11:51:22 +01:00