OpenSearch/docs/reference
Nik Everett 514b2f3414
Clean up a few of vwh's rough edges (#59341) (#59807)
This cleans up a few rough edged in the `variable_width_histogram`,
mostly found by @wwang500:
1. Setting its tuning parameters in an unexpected order could cause the
   request to fail.
2. We checked that the maximum number of buckets was both less than
   50000 and MAX_BUCKETS. This drops the 50000.
3. Fixes a divide by 0 that can occur of the `shard_size` is 1.
4. Fixes a divide by 0 that can occur if the `shard_size * 3` overflows
   a signed int.
5. Requires `shard_size * 3 / 4` to be at least `buckets`. If it is less
   than `buckets` we will very consistently return fewer buckets than
   requested. For the most part we expect folks to leave it at the
   default. If they change it, we expect it to be much bigger than
   `buckets`.
6. Allocate a smaller `mergeMap` in when initially bucketing requests
   that don't use the entire `shard_size * 3 / 4`. Its just a waste.
7. Default `shard_size` to `10 * buckets` rather than `100`. It *looks*
   like that was our intention the whole time. And it feels like it'd
   keep the algorithm humming along more smoothly.
8. Default the `initial_buffer` to `min(10 * shard_size, 50000)` like
   we've documented it rather than `5000`. Like the point above, this
   feels like the right thing to do to keep the algorithm happy.

Co-authored-by: Elastic Machine <elasticmachine@users.noreply.github.com>

Co-authored-by: Elastic Machine <elasticmachine@users.noreply.github.com>
2020-07-17 15:16:09 -04:00
..
aggregations Clean up a few of vwh's rough edges (#59341) (#59807) 2020-07-17 15:16:09 -04:00
analysis [DOCS] Reformat `predicate_token_filter` tokenfilter (#57705) (#59714) 2020-07-16 13:35:09 -04:00
autoscaling Add get autoscaling policy API (#54762) 2020-04-04 18:04:25 -04:00
cat [DOCS] Make `<target>` defs consistent 2020-06-30 15:55:37 -04:00
ccr Allow follower indices to override leader settings (#58103) 2020-06-18 11:56:06 -04:00
cluster [DOCS] Replace `datatype` with `data type` (#58972) (#59184) 2020-07-07 14:59:35 -04:00
commands Introduce node.roles setting (#58512) 2020-06-25 14:14:51 -04:00
data-streams [DOCS] Add `write_index_only` param to ds mapping tutorials (#59618) (#59639) 2020-07-15 13:02:01 -04:00
docs [7.x] Adding new `require_alias` option to indexing requests (#58917) (#59769) 2020-07-17 10:24:58 -04:00
eql [DOCS] EQL: Update EQL search response format (#59554) (#59668) 2020-07-15 17:23:48 -04:00
graph [DOCS] Collapse nested objects in Explore API docs (#55067) 2020-04-13 09:27:03 -04:00
high-availability [DOCS] Fixes license management links (#58213) 2020-06-16 16:49:48 -07:00
how-to [DOCS] Move highlighting docs to separate page (#59768) (#59781) 2020-07-17 10:57:00 -04:00
ilm [DOCS] Simplify index template snippets for data streams (#59533) (#59553) 2020-07-14 17:28:43 -04:00
images [DOCS] Combo version of ILM docs. (#57909) (#59029) 2020-07-03 13:01:08 -07:00
index-modules [DOCS] Update similarity.asciidoc (#59400) (#59644) 2020-07-15 14:12:00 -04:00
indices [DOCS] Simplify index template snippets for data streams (#59533) (#59553) 2020-07-14 17:28:43 -04:00
ingest Update regex file for es user agent node processor (#59697) (#59794) 2020-07-17 11:04:01 -05:00
licensing [DOCS] Clarify subscription requirements (#58958) (#59307) 2020-07-09 12:24:45 -07:00
mapping [DOCS] Move highlighting docs to separate page (#59768) (#59781) 2020-07-17 10:57:00 -04:00
migration Default gateway.auto_import_dangling_indices to false (#59302) 2020-07-15 17:10:42 +01:00
ml [7.x] [ML] add new `custom` field to trained model processors (#59542) (#59700) 2020-07-16 10:57:38 -04:00
modules Update node.asciidoc (#59201) (#59479) 2020-07-13 16:51:14 -07:00
monitoring [DOCS] Change Beats links to refactored getting started docs (#58790) 2020-07-02 17:11:25 -07:00
query-dsl [DOCS] Move highlighting docs to separate page (#59768) (#59781) 2020-07-17 10:57:00 -04:00
release-notes [7.x] [DOCS] Update upgrade docs and release highlights for 7.9 (#59674) 2020-07-16 15:58:40 -04:00
rest-api [7.x] Adding new `require_alias` option to indexing requests (#58917) (#59769) 2020-07-17 10:24:58 -04:00
rollup [DOCS] Add data streams to rollup APIs (#59423) (#59465) 2020-07-13 16:57:40 -04:00
scripting Scripting: Deprecate general cache settings (#55753) (#58283) 2020-06-18 11:54:23 -06:00
search [DOCS] Move highlighting docs to separate page (#59768) (#59781) 2020-07-17 10:57:00 -04:00
searchable-snapshots/apis [DOCS] Add data streams to searchable snapshot API docs (#59325) (#59409) 2020-07-13 09:05:27 -04:00
settings [DOCS] Clarifies transform node settings (#59023) (#59192) 2020-07-07 13:54:54 -07:00
setup [DOCS] Clarify subscription requirements (#58958) (#59307) 2020-07-09 12:24:45 -07:00
slm [DOCS] Update snapshot/restore and SLM docs for data streams (#58513) (#59403) 2020-07-13 09:26:51 -04:00
snapshot-restore [7.x] [DOCS] Update snapshot/restore docs to align with API changes (#59730) (#59803) 2020-07-17 14:33:18 -04:00
sql SQL: Implement DATE_PARSE function for parsing strings into DATE values (#57391) (#59699) 2020-07-16 17:24:30 +02:00
transform [DOCS] Fixes getting time features example in Painless in Transforms (#59379) 2020-07-13 10:57:59 +02:00
upgrade [DOCS] Relocate `shard allocation` module content (#56535) (#57448) 2020-06-01 13:15:08 -04:00
vectors
aggregations.asciidoc
analysis.asciidoc
api-conventions.asciidoc [DOCS] Add data streams to API conventions (#58695) (#58785) 2020-06-30 17:33:35 -04:00
async-search.asciidoc
cat.asciidoc
cluster.asciidoc
data-rollup-transform.asciidoc
docs.asciidoc
frozen-indices.asciidoc
getting-started.asciidoc
glossary.asciidoc [DOCS] Update snapshot/restore and SLM docs for data streams (#58513) (#59403) 2020-07-13 09:26:51 -04:00
gs-index.asciidoc
high-availability.asciidoc [DOCS] Add docs for designing resilient clusters (#47233) (#57743) 2020-06-05 12:08:45 -04:00
how-to.asciidoc [DOCS] Add 'how to' doc about avoiding oversharding (#55480) 2020-04-22 10:44:16 -04:00
index-modules.asciidoc [7.x] [DOCS] Add supported ESS settings to ES docs (#57953) (#58981) 2020-07-02 19:40:45 -04:00
index.asciidoc [DOCS] EQL: Prepare docs for release (#59259) (#59407) 2020-07-13 09:04:15 -04:00
index.x.asciidoc
indices.asciidoc Dangling indices documentation (#58751) 2020-07-09 14:02:23 +01:00
ingest.asciidoc
intro.asciidoc [DOCS] Replace `datatype` with `data type` (#58972) (#59184) 2020-07-07 14:59:35 -04:00
mapping.asciidoc [DOCS] Replace `datatype` with `data type` (#58972) (#59184) 2020-07-07 14:59:35 -04:00
query-dsl.asciidoc
redirects.asciidoc [DOCS] Move highlighting docs to separate page (#59768) (#59781) 2020-07-17 10:57:00 -04:00
release-notes.asciidoc [DOCS] Adds ml-cpp PRs to release notes (#59188) 2020-07-07 11:56:40 -07:00
scripting.asciidoc
search.asciidoc [DOCS] EQL: Prepare docs for release (#59259) (#59407) 2020-07-13 09:04:15 -04:00
setup.asciidoc [7.x] [DOCS] Add supported ESS settings to ES docs (#57953) (#58981) 2020-07-02 19:40:45 -04:00
upgrade.asciidoc [7.x] [DOCS] Update upgrade docs and release highlights for 7.9 (#59674) 2020-07-16 15:58:40 -04:00