Commit graph

8865 commits

Author SHA1 Message Date
Alexander Reelsen
c7ac9e7073
[DOCS] http -> https, remove outdated plugin docs (#60380)
Plugin discovery documentation contained information about installing
Elasticsearch 2.0 and installing an oracle JDK, both of which is no
longer valid.

While noticing that the instructions used cleartext HTTP to install
packages, this commit replaces HTTPs links instead of HTTP where possible.

In addition a few community links have been removed, as they do not seem
to exist anymore.
2020-07-31 15:58:38 -04:00
Leaf-Lin
947186719e
[DOCS] Add rollups to Tune for disk usage (#60436) 2020-07-31 15:53:44 -04:00
James Rodewig
724f706f89
[DOCS] Replace twitter dataset in docs APIs (#60521) 2020-07-31 11:52:26 -04:00
James Rodewig
aec26b1a23
[DOCS] Move search pagination content to one page (#60515) 2020-07-31 11:43:06 -04:00
James Rodewig
3728ae6811
[DOCS] Replace twitter dataset in index API docs (#60473) 2020-07-31 09:09:54 -04:00
Adam Locke
f9d2cb8415
Adding new screenshots and updating copy. (#60407) 2020-07-30 15:30:40 -04:00
James Rodewig
f320567e5a
[DOCS] Merge search topic and overview pages (#60459) 2020-07-30 15:01:21 -04:00
James Rodewig
4ebf0cddc0
[DOCS] Fix template param in put index template API (#60474) 2020-07-30 14:54:22 -04:00
James Rodewig
fc0997a939
[DOCS] Note remote reindex is not fwd compatible (#60425) 2020-07-30 09:08:59 -04:00
James Rodewig
af73504865
[DOCS] Move field collapse content to separate page (#60424) 2020-07-30 09:03:50 -04:00
James Rodewig
6740f6d678 [DOCS] Fix awkward wording in kuromoji analyzer docs 2020-07-30 08:53:15 -04:00
debadair
ee191a6310
[DOCS] Add info about why we removed test fw docs (#60346)
* [DOCS] Add info about why we removed test fw docs

* Apply suggestions from code review

Co-authored-by: James Rodewig <40268737+jrodewig@users.noreply.github.com>
2020-07-29 13:13:41 -07:00
James Rodewig
69f604f8b9
[DOCS] Replace twitter dataset in API conventions + README (#60408) 2020-07-29 13:21:58 -04:00
Tim Brooks
b1a6271ec8
Add configured indexing memory limit to node stats (#60342)
This commit adds the configured memory limit to the node stats API.
2020-07-29 11:20:59 -06:00
James Rodewig
eca1a1e659
[DOCS] Add number_of_routing_shards index setting to index modules (#60311)
Changes:

* Adds the `number_of_routing_shards` index setting to index modules docs.
* Updates the split API docs to mention that `number_of_routing_shards`
is a static setting.
2020-07-29 10:34:37 -04:00
James Rodewig
3c6655eeb2
[DOCS] Fix typo in Watcher docs (#60326) (#60387)
Co-authored-by: Martin-Kemp <30285179+Martin-Kemp@users.noreply.github.com>
2020-07-29 10:15:00 -04:00
Bogdan Pintea
3a8b00cc74
SQL: Add option to provide the delimiter for the CSV format (#59907)
* Add option to provide the delimiter to the CSV fmt

This adds the option to provide the desired character as the separator
for the CSV format (the default remains comma).
A set of characters are excluded though - like CR, LF, `"` - to avoid
slipping onto the CSV-dialects slope. The tab is also forbidden, the
user needs to choose the "tsv" format explicitely.

Update the doc to make it clear that the textual CSV, TSV and TXT
formats pass the cursor back to the user through the Cursor HTTP header.
2020-07-29 16:08:39 +02:00
James Rodewig
4131f9ad01
[DOCS] Fix typo in take snapshot docs (#60204) (#60382)
Co-authored-by: VLADIMIR MIRONOV <mironov.v@torrowtech.com>
2020-07-29 09:15:51 -04:00
David Turner
1f5b842607
Clarify remote clusters' use of transport layer (#60268)
Today there are a few places in the transport layer docs where we talk
about communication between nodes _within a cluster_. We also use the
transport layer for remote cluster connections, and these statements
also apply there, but this is not clear from today's docs. This commit
generalises these statements to make it clear that they apply to remote
cluster connections too.

It also adds a link from the docs on configuring TCP retries to the
(deeply-buried) docs on preserving long-lived connections.
2020-07-29 13:01:17 +01:00
Tim Brooks
56e5d32760
Fix documentation about indexing_pressure.memory.limit (#60341)
The documentation about this setting is currently mislabelled. This
commit fixes the issue.
2020-07-28 18:13:02 -06:00
James Rodewig
b6fe37a870
[DOCS] Add full-width char section to kuromoji analyzer docs (#60317) 2020-07-28 13:52:44 -04:00
David Turner
940d618186
Log and track open/close of transport connections (#60297)
Transport connections between nodes remain in place until one or other
node shuts down or the connection is disrupted by a flaky network.
Today it is very difficult to demonstrate that transient failures and
cluster instability are caused by the network even though this is often
the case. In particular, transport connections open and close without
logging anything, even at `DEBUG` level, making it very hard to quantify
the scale of the problem or to correlate the networking problems with
external events.

This commit adds the missing `DEBUG`-level logging when transport
connections open and close, and also tracks the total number of
transport connections a node has opened as a measure of the stability of
the underlying network.
2020-07-28 16:58:00 +01:00
markharwood
2c501a580c
Search - remove allow-expensive-query checks from wildcard field. (#60273)
Removing allow-expensive-query checks because we think this field type is fast enough.

Closes #60139
2020-07-28 16:19:50 +01:00
Adam Locke
714c8861dc
[DOCS] Adds table with icons for version compatibility (#60159)
* Adds table with icons for simplicity.

* Updating table for clarity.

* Changing table formatting and incorporating more feedback.

* Changing table alignment.
2020-07-28 10:27:55 -04:00
James Rodewig
56b10db121
[DOCS] Update pre-existing data stream refs (#60289) 2020-07-28 09:32:15 -04:00
Alexander Reelsen
2505bed538
[DOCS] Fix broken link to Lucene docs (#59365) 2020-07-28 08:54:03 -04:00
Yannick Welsch
b2b01dc6de
Properly document keepalive and other tcp options (#60216)
Keepalive options are not well-documented (only in transport section, although also available at http and network level).

Co-authored-by: David Turner <david.turner@elastic.co>
Co-authored-by: James Rodewig <40268737+jrodewig@users.noreply.github.com>
2020-07-28 10:14:56 +02:00
Julie Tibshirani
8a89d95372
Add search fields parameter to support high-level field retrieval. (#60100)
This feature adds a new `fields` parameter to the search request, which
consults both the document `_source` and the mappings to fetch fields in a
consistent way. The PR merges the `field-retrieval` feature branch.

Addresses #49028 and #55363.
2020-07-27 13:25:55 -07:00
James Rodewig
700c04d629
[DOCS] Fix fuzzy_rewrite ref in match query docs (#60237) 2020-07-27 15:17:17 -04:00
James Rodewig
441c3a21b1
[DOCS] Update my-index examples (#60132)
Changes the following example index names to `my-index-000001` for consistency:

* `my-index`
* `my_index`
* `myindex`
2020-07-27 14:46:39 -04:00
James Rodewig
9f34e8e771
[DOCS] Fix ingest processor docs for autogen doc IDs (#60147)
If you autogen doc IDs, you cannot use the `{{_id}}` value in an ingest
processor.

This adds a related admonition to the ingest processor docs.
2020-07-27 13:37:22 -04:00
James Rodewig
74c9e56735
[DOCS] Fix default gap policy for moving fn, moving avg aggs (#60223) (#60230) 2020-07-27 12:32:35 -04:00
homersimpsons
b0cc62f69e
[DOCS] Fix rewrite => fuzzy_rewrite in multi match query docs (#60175) 2020-07-27 12:13:33 -04:00
Ulas Keles
a20fd49533
[DOCS] Fix formatting in simple query string query docs 2020-07-27 11:54:19 -04:00
James Rodewig
4c69f3dd97
[DOCS] Add Kibana screenshots to data stream docs (#60118) 2020-07-27 10:19:00 -04:00
James Rodewig
f3323b9e55
[DOCS] Clarify compatibility for upgrade via reindex (#60045) (#60207)
Co-authored-by: Inbar Shimshon <inbar.shimshon@elastic.co>
2020-07-27 09:38:30 -04:00
Yannick Welsch
2078509af5
Set specific keepalive options by default on supported platforms (#59278)
keepalives tell any intermediate devices that the connection remains alive, which helps with overzealous firewalls that are
killing idle connections. keepalives are enabled by default in Elasticsearch, but use system defaults for their
configuration, which often times do not have reasonable defaults (e.g. 7200s for TCP_KEEP_IDLE) in the context of
distributed systems such as Elasticsearch.

This PR sets the socket-level keep_alive options for network.tcp.{keep_idle,keep_interval} to 5 minutes on configurations
that support it (>= Java 11 & (MacOS || Linux)) and where the system defaults are set to something higher than 5
minutes. This helps keep the connections alive while not interfering with system defaults or user-specified settings
unless they are deemed to be set too high by providing better out-of-the-box defaults.
2020-07-27 13:38:24 +02:00
David Turner
ad96d94aef Fix whitespace bug in #59222 2020-07-27 12:25:38 +01:00
David Turner
d3cf8d3ab9
Suggest reducing tcp_retries2 (#59222)
Adds documentation suggesting reducing `tcp_retries2` on Linux to detect
network partitions more quickly.

Relates #34405
2020-07-27 11:39:44 +01:00
debadair
db0adfd2b8
[DOCS] Refactored index-templates topic. (#59737)
* [DOCS] Refactored index-templates topic.

* [DOCS] Add separate files.

* [DOCS] Add delete component template.

* Apply suggestions from code review

Co-authored-by: James Rodewig <james.rodewig@elastic.co>

* [DOCS] Incorporated review comments
2020-07-23 19:02:11 -07:00
Lisa Cawley
1781d4a7b9
[DOCS] Fix security links in machine learning APIs (#60098) 2020-07-23 12:14:56 -07:00
James Rodewig
d5b03f668b
[DOCS] Move search sort docs to separate page (#60123)
Moves the search sort docs from the deprecated 'Request Body Search'
page to a new subpage of 'Run a search'.

No substantive changes were made to the content.
2020-07-23 12:58:57 -04:00
Adrien Grand
003a68f7fa
Mention how CCR can help optimize indexing throughput. (#54870) 2020-07-23 18:39:29 +02:00
James Rodewig
2774cd6938
[DOCS] Swap [float] for [discrete] (#60124)
Changes instances of `[float]` in our docs for `[discrete]`.

Asciidoctor prefers the `[discrete]` tag for floating headings:
https://asciidoctor.org/docs/asciidoc-asciidoctor-diffs/#blocks
2020-07-23 11:48:22 -04:00
Lisa Cawley
8ad8421262
[DOCS] Refresh transform screenshots with histograms (#59264) 2020-07-23 08:48:06 -07:00
James Rodewig
453298ff7c
[DOCS] Remove SQL access settings page (#60078)
This page previously documented `xpack.sql.enabled`.

However, in 7.8 and above, `xpack.sql.enabled` is always enabled and
the setting has no effect. There is no reason to maintain this page.
2020-07-22 16:42:52 -04:00
bellengao
a9e52194ad
[DOCS] Correct the default value of ignore_throttled param (#60036) 2020-07-22 16:34:50 -04:00
Lisa Cawley
3f4da04c3e
[DOCS] Changes level offset of transform pages (#60066) 2020-07-22 10:55:48 -07:00
James Rodewig
98d21fe551
[DOCS] Fix shrink index API prereqs (#59985) 2020-07-22 13:10:10 -04:00
Tim Brooks
5c227dac88
Implement human readable indexing pressure stats (#60022)
The indexing pressure stats do not currently have human readable
variants. This commit add human readable variants and updates the
documentation.
2020-07-22 09:54:51 -06:00