Commit graph

10432 commits

Author SHA1 Message Date
István Zoltán Szabó
eaadf351c2
[DOCS] Fixes transform scheduled_now documentation (#96766) 2023-06-12 16:07:30 +02:00
Pablo Alcantar Morales
5a623ee3bf
Add script information to the cluster info endpoint (#96613)
Add a new target (`script`) to the `/_info` API. It consolidates all the script information from the cluster nodes and returns a summary at the cluster level (compared with `_nodes/stats/script` it lacks the `<node>` dimension).
2023-06-12 10:10:21 +02:00
István Zoltán Szabó
656d367e8d
[DOCS] Removes the technical preview admonition from query_vector_builder docs. (#96735) 2023-06-12 09:55:39 +02:00
Marantidis Kiriakos
a8cf4d6006
Add support for pattern replace filter in normalizers (#96588)
This change adds support for `pattern_replace` token filters use in custom normalizers. 

Closes #83005
2023-06-10 00:32:39 +02:00
Saikat Sarkar
e27648edc8
Change tech preview to beta (#96748) 2023-06-09 11:09:21 -06:00
Michael Peterson
110b1a686e
Add end-user documentation for CCS using async-search (#96507)
Added documentation to search-across-clusters.asciidoc showing that async-search
can now support the ccs_minimize_roundtrips=true flag and how it behaves relative to
async CCS when ccs_minimize_roundtrips=true.

I also updated the "Don't minimize network roundtrips" section to reflect the fact that the 
REST based Search Shards API is no longer called but rather an internal transport-layer only 
version of search_shards.
2023-06-09 08:55:38 -04:00
István Zoltán Szabó
53c082b5aa
[DOCS] Fixes field name in text_expansion query. (#96724) 2023-06-09 11:43:46 +02:00
Luca Cavanna
2b67a45fc2
[DOCS] Remove leftover experimental tag for knn search (#96722)
Knn search was made GA in Elasticsearch 8.5, see #91065 .
This commit removes a leftover experimental marking from the search
docs.
2023-06-09 11:10:03 +02:00
Pablo Alcantar Morales
88419af5c0
fix incorrect definition of target (#96707) 2023-06-08 16:34:00 +02:00
Bogdan Pintea
c19d7a8507 Remove the "coming" note (#96701)
Remove the "coming" note from release notes.

(cherry picked from commit 33647f9bd8)
2023-06-08 10:16:26 -03:00
James Rodewig
df8dbdd1f1
[Main][DOCS] Add release notes for 8.8.1 release (#96590) (#96676)
Co-authored-by: Bogdan Pintea <bogdan.pintea@elastic.co>
2023-06-08 07:44:00 -04:00
Ioana Tagirta
67007413b1
Add beta label to Behavioral Analytics API reference (#96657) 2023-06-07 14:45:36 +02:00
István Zoltán Szabó
890dd08df0
[DOCS] Adds a compound query example to the ELSER semantic search tutorial (#96460)
Co-authored-by: David Kyle <david.kyle@elastic.co>
2023-06-07 10:19:24 +02:00
Ignacio Vera
15a6aca060
update docs for vector tile and geohex (#96595)
Geohex aggregation is now supported since Elasticsearch 8.7 for geo_shape fields so update docs accordingly.
2023-06-06 11:39:56 +02:00
Joe Wu
fe78e48744
fix typo, my-app -> my_app (#96543)
fix typo, `my-app` -> `my_app`
2023-06-05 09:48:27 +02:00
David Turner
846d640ddf
Suggest capturing a heap dump to diagnose high heap (#96526)
The `high-jvm-memory-pressure.html` troubleshooting docs give some
suggestions, but vitally they omit the advice to capture a heap dump
which is what we really need users to do if they want to understand
their high heap usage. This commit adds a note to the docs to that
effect.
2023-06-02 09:43:52 -04:00
Liam Thompson
5f09aa0d4e
[DOCS] Reverse order of approximate and exact NN search instructions (#96517) 2023-06-02 15:41:26 +02:00
John Verwolf
5002c5f334
Docs: Improve the Field Usage Stats API Documentation (#96333)
Adds descriptions of the values returned in the response body of the _field_usage_stats API.

Closes #88313
2023-06-01 09:56:47 -07:00
Michael Peterson
8b1cd47455
Support CCS minimize round trips in async search (#96012)
* Support CCS minimize round trips in async search

This commit makes the smallest set of changes to allow async-search based cross-cluster search
to work with the CCS minimize_round_trips feature without changing the internals/architecture of
the search action.

When ccsMinimizeRoundtrips is set to true on SubmitAsyncSearchRequest, the AsyncSearchTask on the
primary CCS coordinator sends a synchronous SearchRequest to all to clusters for a remote coordinator
to orchestrate and return the entire result set to the CCS coordinator as a single response.

This is the same functionality provided by synchronous CCS search using minimize_roundtrips.
Since this is an async search, it means that the async search coordinator has no visibility
into search progress on the remote clusters while they are running the search, thus losing one of
the key features of async search. However, this is a good first approach for improving overall search
latency for cross cluster searches that query a large number of shards on remote clusters, since
Kibana does not currently expose incremental progress of an async search to users.

Relates #73971
2023-06-01 10:34:16 -04:00
Mary Gouseti
8bcdaa9d62
Test fix: Update to the latest form the data_lifecycle telemetry section (#96484) 2023-06-01 15:33:26 +03:00
Pablo Alcantar Morales
f5d47ccb0d
Add thread_pool information to the cluster info endpoint (#96407)
Add a new target (thread_pool) to the /_info API. It consolidates all the thread pools information from the cluster nodes and returns a summary at the cluster level (compared with _nodes/stats/thread_pool it lacks the <node> dimension)
2023-06-01 10:47:39 +02:00
David Turner
b1c3ae582b
Bring-your-own JDK docs improvements (#96404)
- Bury these docs a little more, there's no need for them to be on the landing page for "Set up Elasticsearch".

- Clarify the responsibilities for JDK updates.
2023-06-01 03:39:00 -04:00
David Turner
9a8bb61580
Known-issue docs for #95454 (#96459) 2023-05-31 09:48:05 -04:00
David Turner
b7d9442ac1
Add known issue docs for #95114 (#96448) 2023-05-31 10:01:42 +01:00
Keith Massey
17ff9f0fb1
Adding data_lifecycle to the _xpack/usage API (#96177)
This adds a `data_lifecycle` section to the _xpack/usage API, giving basic information about data lifecycles in the cluster. The data looks something like:
```
    "data_lifecycle": {
        "available": true,
        "enabled": true,
        "lifecycle": {
            "count": 1,
            "default_rollover_used": true,
            "retention": {
                "minimum_millis": 360000,
                "maximum_millis": 360000,
                "average_millis": 360000.0
            }
        }
    }
```
2023-05-30 13:48:03 +03:00
Abdon Pijpelink
16aba067a0
[DOCS] Make 2028 dims 'experimental' warning inline (#96369) 2023-05-30 10:13:38 +02:00
Martijn van Groningen
d5f9e113a5
Update tsds-index-settings.asciidoc (#96366)
* index.routing_path only gets generated for backing indices of tsdb data streams.
* Updated the dimension_fields.limit setting default.

Closes #96330
2023-05-26 19:23:53 +02:00
Sloane Perrault
9649ee0536
add analytics_collections to ent search usage test (#96385) 2023-05-26 12:10:54 -04:00
Keith Massey
322805858f
Adding manage_dlm privilege (#95512)
This adds a new index privilege called `manage_dlm`. The `manage_dlm`
has permission to perform all DLM actions on an index, including put and
delete. It also adds the ability to call DLM get and explain to the
`view_index_metadata` existing index privilege.
2023-05-26 11:16:41 -04:00
Pablo Alcantar Morales
244da063ca
Add ingest information to the cluster info endpoint (#96328) 2023-05-26 09:28:12 +02:00
Mary Gouseti
d67a3ed8d9
Update release notes for 8.8.0 release (#96354) 2023-05-25 21:40:07 +03:00
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