Commit Graph

10461 Commits

Author SHA1 Message Date
elasticsearchmachine 14dfd288bf Merge pull request ESQL-1153 from elastic/main
🤖 ESQL: Merge upstream
2023-05-17 13:19:10 -04: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
elasticsearchmachine 531bdd58d0 Merge pull request ESQL-1142 from elastic/main
🤖 ESQL: Merge upstream
2023-05-16 13:15:53 -04: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
Nik Everett b7b9f71a49 Implement `mv_count` (ESQL-1126)
Implements the `mv_count` function which returns a count of the values
in a column.
2023-05-12 15:57:49 -04:00
elasticsearchmachine b19728ef11 Merge pull request ESQL-1131 from elastic/main
🤖 ESQL: Merge upstream
2023-05-12 13:16:48 -04: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
elasticsearchmachine dcf1e32bae Merge pull request ESQL-1129 from elastic/main
🤖 ESQL: Merge upstream
2023-05-12 01:14:21 -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
Abdon Pijpelink af465dbaac List COUNT_DISTINCT function under STATS...BY 2023-05-11 17:29:10 +02:00
Abdon Pijpelink e13281acc0 Show how to create multi-values with ROW 2023-05-11 17:25:46 +02:00
Abdon Pijpelink a3ce029b60 Add metadata to each page 2023-05-11 17:14:11 +02:00
Abdon Pijpelink 35356b86a2 Move each function to its own file 2023-05-11 17:02:27 +02:00
Nik Everett 555781a8a0 Docs for remaining mv functions (ESQL-1114)
This adds docs for all of the remaining `mv_*` functions that have been
implemented at this point.
2023-05-11 07:03:58 -04:00
Nik Everett ce1d634d77 Docs for `mv_min` (ESQL-1092)
This adds docs for the `mv_min` function. It uses an as yet unsupported
syntax, `ROW a=[2,1]`, but I think we'll support it before long.
2023-05-10 17:26:59 -04:00
elasticsearchmachine 7ce57001a4 Merge pull request ESQL-1111 from elastic/main
🤖 ESQL: Merge upstream
2023-05-10 13:21:06 -04: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
elasticsearchmachine ed5421168f Merge pull request ESQL-1107 from elastic/main
🤖 ESQL: Merge upstream
2023-05-10 08:05:53 -04: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
elasticsearchmachine a38a018ef8 Merge pull request ESQL-1095 from elastic/main
🤖 ESQL: Merge upstream
2023-05-05 13:19:17 -04: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
elasticsearchmachine 069424b0c0 Merge pull request ESQL-1085 from elastic/main
🤖 ESQL: Merge upstream
2023-05-04 13:21:33 -04:00
Nik Everett 87e6fcc948 Docs for `split` (ESQL-1084)
This adds docs for the new `split` function.
2023-05-04 06:26:48 -04: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
elasticsearchmachine 3ffa8fc730 Merge pull request ESQL-1081 from elastic/main
🤖 ESQL: Merge upstream
2023-05-03 13:32:09 -04:00
István Zoltán Szabó 6db4d906ad
[DOCS] Document xpack.ml.model_repository setting (#95789) 2023-05-03 17:19:13 +02:00
elasticsearchmachine 7df7247d79 Merge pull request ESQL-1079 from elastic/main
🤖 ESQL: Merge upstream
2023-05-03 10:34:09 -04: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
elasticsearchmachine 0bfcddf73f Merge pull request ESQL-1075 from elastic/main
🤖 ESQL: Merge upstream
2023-05-02 20:02:37 -04: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
Costin Leau 5d4c377c96 Merge remote-tracking branch 'remotes/upstream-internal/main' into esql/lang 2023-05-02 06:08:01 -07:00
Abdon Pijpelink e48ce6c756
[DOCS] Update default monitoring method on Elastic Cloud (#95662) 2023-05-02 11:31:33 +02:00
Abdon Pijpelink 0111df54a8 Merge pull request ESQL-1068 from elastic/esql-docs-update-apr28
Esql docs update apr28
2023-05-01 17:09:38 +02:00
Abdon Pijpelink b8e824d341 Add CIDR_MATCH function 2023-05-01 16:29:39 +02:00