Commit graph

10401 commits

Author SHA1 Message Date
Abdon Pijpelink
d68a2e04ce
[DOCS] Fixes a typo in the stop transform API docs (#96358) 2023-05-25 19:43:45 +02:00
David Turner
2a49ad929c
Slightly better hot threads for transport workers (#96315)
A completely idle `transport_worker` thread is reported as `0.0%` idle,
which is confusing. Moreover the docs on the network threading model do
not reflect the changes made in #90482. This commit fixes both of those
things.
2023-05-25 12:08:08 +01:00
debadair
777598d602
[DOCS] Remove redirect pages (#88738)
* [DOCS] Remove manual redirects

* [DOCS] Removed refs to modules-discovery-hosts-providers

* [DOCS] Fixed broken internal refs

* Fixing bad cross links in ES book, and adding redirects.asciidoc[] back into docs/reference/index.asciidoc.

* Update docs/reference/search/point-in-time-api.asciidoc

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

* Update docs/reference/setup/restart-cluster.asciidoc

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

* Update docs/reference/sql/endpoints/translate.asciidoc

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

* Update docs/reference/snapshot-restore/restore-snapshot.asciidoc

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

* Update repository-azure.asciidoc

* Update node-tool.asciidoc

* Update repository-azure.asciidoc

---------

Co-authored-by: amyjtechwriter <61687663+amyjtechwriter@users.noreply.github.com>
Co-authored-by: Elastic Machine <elasticmachine@users.noreply.github.com>
Co-authored-by: Amy Jonsson <amy.jonsson@elastic.co>
Co-authored-by: James Rodewig <james.rodewig@elastic.co>
2023-05-24 12:32:46 +01:00
Maxime Gréau
66ce733e31
[DOCS] Verifying Elasticsearch container image signatures with Cosign from Sigstore (#96298)
* [DOCS] Verifying Elasticsearch container image signatures with Cosign/Sigstore

This commit adds a step to verify the Elasticsearch container image signatures after pulling the image and before starting any cluster.

The goal is to introduce an easy and standard way for Elastic users to verify the provenance of the Elasticsearch container images before deploying them to any infrastructure and therefore protect against supply chain attacks.

* Update docker.asciidoc

* Update docs/reference/setup/install/docker.asciidoc

* Update docs/reference/setup/install/docker.asciidoc

* Update docs/reference/setup/install/docker.asciidoc

Co-authored-by: David Kilfoyle <41695641+kilfoyle@users.noreply.github.com>

* Update docs/reference/setup/install/docker.asciidoc

Co-authored-by: David Kilfoyle <41695641+kilfoyle@users.noreply.github.com>

* Remove JSON section from sample output

* Fix up command output format

* Change 'console' to 'sh'

---------

Co-authored-by: David Kilfoyle <41695641+kilfoyle@users.noreply.github.com>
Co-authored-by: David Kilfoyle <david.kilfoyle@elastic.co>
2023-05-23 14:09:22 -04:00
Mayya Sharipova
d5895087ef
Docs: Knn doesn't support ccs_minimize_roundtrips (#96222)
Add a note that approximate knn search doesn't support the
parameter ccs_minimize_roundtrips in CCS search.

Relates to #88694
2023-05-23 12:59:55 -04:00
Pablo Alcantar Morales
64e32679c8
Generalise new cluster info endpoint (#96259) 2023-05-23 16:30:56 +02:00
István Zoltán Szabó
ff5c86eb7c
[DOCS] Adds example of using stored scripts in Transforms (#96285) 2023-05-23 15:57:08 +02:00
Abdon Pijpelink
32d764cce7
[DOCS] Fix small typo (#96242) 2023-05-23 15:47:43 +02:00
Abdon Pijpelink
44796f7be0
[DOCS] Update CCS compatibility matrix for 8.9 (#96277) 2023-05-23 15:46:48 +02:00
Pablo Alcantar Morales
dc5d0546e9
New HTTP info (/_info/http) endpoint (#96198)
Adding a new endpoint under `_info/http`. This endpoint summarises the HTTP info of all the nodes into one big response, at cluster level. Compared with `_nodes/stats`, it lacks the nodes dimension.
2023-05-22 07:43:23 +02:00
István Zoltán Szabó
59ee140d17
[DOCS] Removes metadata tags from ELSER tutorial. (#96200) 2023-05-17 16:25:58 +02:00
István Zoltán Szabó
b164555072
[DOCS] Adds deployment ID param documentation to trained model APIs (#96174) 2023-05-17 15:56:58 +02:00
István Zoltán Szabó
a6ab5ce824
[DOCS] Adds reference documentation to the text expansion query (#96151) 2023-05-17 09:39:23 +02:00
Daniel Mitterdorfer
3aed3499ff
Bootstrap profiling indices at startup (#95666)
With this commit we bootstrap all indices and related structures that
are required for Elastic Universal Profiling.
2023-05-16 16:56:51 +02:00
Tim Vernum
5e2c7d5353
[DOCS] Recommend API service tokens (over file) (#96091)
File based service tokens were added to support orchestration
requirements in environments such as ECE and ECK. Outside of these
environments we recommend that API based tokens are used instead.

Resolves: #83491
2023-05-16 00:05:05 -04:00
Kostas Krikellas
deffa800db
Support value retrieval in top_hits (#95828)
This is used when the `top_hits` output is passed to pipeline
aggregators like bucket selectors. The logic retrieves the requested
field from the source of the first SearchHit. This implies that (a) the
spec of the wrapping aggregator (e.g. `bucket_path`) points to an
appropriate field using a bracketed reference (e.g.
`my_top_hits[my_metric]`) and (b) the `top_hits` contains a `size: 1`
setting.

This PR also includes extensions to YAML tests for `top_metrics` and
`top_hits` to cover the cases where these are used in pipeline
aggregations through `bucket_selector`, similar to a HAVING clause in
SQL.

Related to https://github.com/elastic/elasticsearch/issues/73429.
2023-05-15 09:21:11 -04:00
István Zoltán Szabó
e0a4edc46d
[DOCS] Adds example of semantic search with ELSER (#95992)
Co-authored-by: David Roberts <dave.roberts@elastic.co>
Co-authored-by: Abdon Pijpelink <abdon.pijpelink@elastic.co>
2023-05-15 14:18:33 +02:00
Saarika Bhasi
7d418ef61a
[Docs] Adds mustache dependency search templates (#95118)
* Adds Mustache dependency in Search template
* Adds more Mustache examples with Search template

Co-authored-by: T. Scot Clausing <tsclausing@gmail.com>

* Update docs/reference/search/search-your-data/search-template.asciidoc

Co-authored-by: T. Scot Clausing <tsclausing@gmail.com>

* Adds examples for search templates

* Copy changes from PR suggestions and modify examples

* Minor edits

* Re-wording

* Added Suggestion: re-structure docs to align with mustache manual

* Fix CI checks

* Feedback: Remove gradle dependency

* Remove params from examples, removed pretty, minor refractoring

* Minor rewording variable description

---------

Co-authored-by: T. Scot Clausing <tsclausing@gmail.com>
Co-authored-by: Abdon Pijpelink <abdon.pijpelink@elastic.co>
2023-05-12 10:57:52 -04:00
Jack Conradson
24c600748a
Add initial documentation for RRF (#95687)
This is a follow up to (#93396) that adds documentation for RRF including an example with a 
breakdown of the RRF formula.
2023-05-11 14:51:49 -07:00
Abdon Pijpelink
9180bea2f0
[DOCS] Fix small typo in secure-settings.asciidoc (#96040)
The word "in" was missing.
2023-05-11 19:05:25 +02:00
David Turner
3e61112b1e
Reword note on tmpfs (#95974)
There's no need to talk about unwelcome behaviour or power outages here,
and it caused at least one user some concern. This commit clarifies the
message.

Relates #95166
2023-05-10 13:47:01 +01:00
Andrei Dan
f8b367d2bc
[ILM] Fix the migrate to tiers service and migrate action tiers configuration (#95934)
The migrate action (although no allowed in the frozen phase) would seem
to convert `frozen` to `data_frozen,data_cold,data_warm,data_hot` tier
configuration. As the migrate action is not allowed in the frozen phase
this would never happen, however the code is confusing as it seems like
it could.

The migrate to data tiers routing service shared the code used by the
`migrate` action that converted `frozen` to
`data_frozen,data_cold,data_warm,data_hot` if it would encounter an
index without any `_tier_preference` setting  but with a custom node
attribute configured to `frozen` e.g. `include.data: frozen`

As part of https://github.com/elastic/elasticsearch/issues/84758 we have
seen frozen indices with the `data_frozen,data_cold,data_warm,data_hot`
tier preference however we could never reproduce it.

Relates to https://github.com/elastic/elasticsearch/issues/84758
2023-05-09 13:18:01 -04:00
Akib Rhast
5a148d3d3f
Update term-suggest.asciidoc (#86780)
* Update term-suggest.asciidoc

It is really easy to miss the fact, that that's the default setting, since it is not highlighted or called out in anyway

* Apply review suggestion

---------

Co-authored-by: Abdon Pijpelink <abdon.pijpelink@elastic.co>
2023-05-09 12:23:45 +02:00
amyjtechwriter
c3e186ea01
Example of dot notation to access and array field for set processor. (#95893) 2023-05-09 10:21:27 +01:00
Abdon Pijpelink
2fcd0f6a11
Fix typo in Graph Explore API docs (#95907) 2023-05-08 15:38:35 +02:00
David Turner
a8d82d996f
Note renaming a cluster requires a full restart (#95858) 2023-05-05 10:35:58 +01:00
Luzia Kündig
49ccc6c275
Update range-query.asciidoc (#95822)
the example query for "date between today and yesterday" only returns documents from the day before if "lt" is used.
2023-05-05 11:15:40 +02:00
Jim Ferenczi
154176b607
Fix _xpack/usage for enterprise_search in docs tests (#95845)
The previous fix (#95565) didn't work since the section was misplaced.
Note that this test runs only on snapshot build so I tested manually and the failure is now related to remote_clusters section missing.

Closes #95603
2023-05-05 10:11:13 +01:00
cai-elastic
5cd135af0b
Remove reference to obsolete node.master (#95814) 2023-05-04 08:08:28 +01:00
tmgordeeva
2abbce0e50
Time series docs (#94337)
* Time series docs

Tech preview docs with a very basic example.

---------

Co-authored-by: lcawl <lcawley@elastic.co>
2023-05-03 11:01:07 -07:00
István Zoltán Szabó
6db4d906ad
[DOCS] Document xpack.ml.model_repository setting (#95789) 2023-05-03 17:19:13 +02:00
David Kilfoyle
8e7d4b0750
[DOCS] Note limits for queries on downsampled indices (#95749) 2023-05-03 09:58:23 -04:00
Salvatore Campagna
6b1e0603ce
Test histogram with zero-count buckets and synthetic source (#95400) 2023-05-03 15:23:36 +02:00
Jean-Pierre Matsumoto
87b8f1cf73
Bad ref to 'node_id' parameter in Task Mgt doc (#90380)
* Bad ref to 'node_id' parameter in Task Mgt doc

Here in documentation:
https://www.elastic.co/guide/en/elasticsearch/reference/8.4/tasks.html#tasks-api-query-params

Name of parameter to filter node is `nodes`.

* Change 'node_id' into 'nodes' and add 'nodes' as a common param

---------

Co-authored-by: Abdon Pijpelink <abdon.pijpelink@elastic.co>
2023-05-03 11:55:29 +02:00
David Turner
7a517cb4a0
Add note on jstack frequency for troubleshooting (#95764)
Suggest calling `jstack` every 15s to ensure that at least one capture
shows a stuck thread. Also adds a link to this guide to the list on the
troubleshooting overview page.
2023-05-03 10:04:13 +01:00
Mayya Sharipova
808dffe65e
Docs: Add updateable flag to synonym filters (#95746)
In #45135 we introduced `updateable` flag to synonym filters,
but we forgot to add this flag to documentation.
This PR fixes this.

Relates to #45135
2023-05-02 17:38:47 -04:00
Quentin Pradet
4733996ec4
[DOCS] Forward port 8.7.1 release notes 2023-05-02 17:33:15 +04:00
Abdon Pijpelink
e48ce6c756
[DOCS] Update default monitoring method on Elastic Cloud (#95662) 2023-05-02 11:31:33 +02:00
Abdon Pijpelink
f2d9a3fbca
[DOCS] Fix 'shards_size' typo (#95696)
* [DOCS] Fix 'shards_size' typo

* Second occurrence of 'shards_size'
2023-05-01 15:24:43 +02:00
Mayya Sharipova
eab19b56da
Clarify path_hierarchy documentation (#44910)
* Resolve merge conflicts and apply review suggestions

* Fix URLs

---------

Co-authored-by: Abdon Pijpelink <abdon.pijpelink@elastic.co>
2023-05-01 11:32:38 +02:00
amyjtechwriter
3d6143b829
Nodes need access to storage.googleapis.com for geoip. (#95554) 2023-04-28 10:40:18 +01:00
Mayya Sharipova
96171591af Fix version in feature-migration test 2023-04-27 14:39:26 -04:00
Mayya Sharipova
07adeb0901
Create .synonyms system index (#95548)
Create .synonyms system index that is exposed
under es.synonyms_api_feature_flag.

This is the first task for creating Synonyms API management,
where synonyms will be stored in the .synonyms system index.

Relates to #38523
2023-04-27 14:11:08 -04:00
Stef Nestor
65b4fe28d4
[+DOC] Troubleshooting / Mapping Explosion (#95397)
* [+DOC] Troubleshooting / Mapping Explosion

---------

Co-authored-by: Steffanie Nestor <steffanie.nestor@elastic.co>
Co-authored-by: Amy Jonsson <amy.jonsson@elastic.co>
2023-04-27 11:08:56 -06:00
Michael Peterson
5169011325
Allow multiple field names/patterns for (path_)(un)match (#66364) (#95558)
* Allow multiple field names/patterns for (path_)(un)match (#66364)

Arrays of patterns are now allowed for dynamic_templates in the match,
unmatch, path_match and path_unmatch fields. DynamicTemplate has been modified to
support List<String> for these fields. The patterns can be either simple wildcards
or regex. As with previous functionality, when match_pattern="regex", simple wildcards
will be flagged with an error, but when match_pattern="simple", using regular expressions
in the match will not throw an error.

One new error pathway was added: if a user specifies a list of non-strings for
one of these pattern fields (e.g., "match": [10, false]) a MapperParserException
will be thrown.

A dynamic_template yamlRestTest was added. This is a BWC change, so the REST test
that uses arrays of patterns is limited to v8.9 and above.

Closes #66364.
2023-04-27 12:58:49 -04:00
David Kilfoyle
626db84fac
[Docs] Small fixes for hot spotting page (#95627) 2023-04-27 10:18:21 -04:00
Kathleen DeRusso
63524f8efc
Add template information to search application API docs (#95591)
Co-authored-by: Chris Cressman <chris@chriscressman.com>
Co-authored-by: Carlos Delgado <6339205+carlosdelest@users.noreply.github.com>
2023-04-27 09:32:25 -04:00
Stef Nestor
4c5a3fb4da
[+Doc] Troubleshooting / Hot Spotting (#95429)
* [+Doc] Troubleshooting / Hot Spotting

---------

Co-authored-by: Abdon Pijpelink <abdon.pijpelink@elastic.co>
2023-04-26 12:29:47 -06:00
Kathleen DeRusso
ba93ddb11d
Add _render_query API call for Search Applications (#95513) 2023-04-26 13:47:41 -04:00
Albert Zaharovits
b90060538a
Fix _xpack_usage for enterprise_search (#95565)
Fixes #95564
2023-04-26 19:23:36 +03:00