Commit graph

12605 commits

Author SHA1 Message Date
Liam Thompson
4e04bf19ce
[DOCS] Update Using ESQL in Kibana doc (#108715)
* [DOCS] Update Using ESQL in Kibana doc

* Add dashboard panel instructions,screenshots

* Add query history info, images

* Update enabling ESQL info
2024-05-17 12:36:04 +02:00
elasticsearchmachine
f44b97b127 Merge remote-tracking branch 'origin/main' into lucene_snapshot 2024-05-16 16:20:50 +00:00
Tim Grein
8a43665d77
[Inference API] Fix two typos in docs (#108724) 2024-05-16 15:01:56 +02:00
Tim Grein
6ff29c32c7
[Inference API] Add completion task type to cohere docs (#108723) 2024-05-16 14:59:29 +02:00
Tim Grein
34293131b8
[Inference API] Add Azure OpenAI completion docs (#108704) 2024-05-16 13:22:01 +02:00
elasticsearchmachine
a14514c176 Merge remote-tracking branch 'origin/main' into lucene_snapshot 2024-05-16 10:01:28 +00:00
Nick Tindall
3ecdd77e97
[DOCS] Align docs to implementation for timeout parameters (#108593)
* [DOCS] Fix documentation for timeout-related parameters

Closes #108224
2024-05-16 13:05:39 +10:00
Bogdan Pintea
3b21ec8818
ESQL: Remove OPTIONS clause in FROM command (#108692)
This remove the `OPTIONS` clause of the `FROM` command.
2024-05-15 18:15:02 -04:00
Joe Gallo
babab0a8c0
Add support for the 'Connection Type' database to the geoip processor (#108683) 2024-05-15 17:58:08 -04:00
Keith Massey
639eee577e
Adding user_type support for the enterprise database for the geoip processor (#108687) 2024-05-15 12:23:52 -05:00
Iván Cea Fontenla
62b372b4dc
ESQL: CBRT function (#108574)
- Added the cube root function to ESQL (`CBRT(x)`). Nearly identical to SQRT, but without the negative numbers exception
- Added docs generation support for Windows end lines (CRLF), as within the examples, it was writing the "\r" without the "\n" (Which was being converted to "\\n"), and some other inconsistencies
- Some updates to `package-info.java` documentation over how to create functions
- Fixes https://github.com/elastic/elasticsearch/issues/108675

Functions issue: https://github.com/elastic/elasticsearch/issues/98545
2024-05-15 16:50:15 +02:00
Keith Massey
69ec54d541
Add support for the 'ISP' database to the geoip processor (#108651) 2024-05-15 09:27:06 -05:00
Fang Xing
172c05918c
[DOCS] ES|QL implicit casting (#108618)
* implicit casting doc
2024-05-15 09:07:09 -04:00
Jedr Blaszyk
22676bc91d
[Connector API] Update connector filtering docs with info about draft activation (#108671) 2024-05-15 12:46:50 +02:00
elasticsearchmachine
0ce5dadc6b Merge remote-tracking branch 'origin/main' into lucene_snapshot 2024-05-15 10:02:23 +00:00
Liam Thompson
37668fa418
[DOCS] Add crosslink to update retriever.asciidoc (#108608)
Link to https://www.elastic.co/guide/en/elasticsearch/reference/master/retrievers-overview.html from API reference
2024-05-15 10:10:08 +02:00
Joe Gallo
cc6597df23
Add support for the 'Domain' database to the geoip processor (#108639) 2024-05-14 17:49:05 -04:00
Tim Grein
662a171dcd
[Inference API] Remove duplicate section in inference api task settings docs (#108615) 2024-05-14 17:44:37 +02:00
elasticsearchmachine
46a9663957 Merge remote-tracking branch 'origin/main' into lucene_snapshot 2024-05-14 10:01:36 +00:00
Niels Bauman
920290a37b
Extract DataStreamIndices from DataStream class (#107562)
We were seeing more and more common fields between "regular" backing indices and failure store indices (i.e. `indices`, `rolloverOnWrite`, `autoShardingEvent`). To avoid having to duplicate these fields (and possibly any future fields), we extract a class that contains these fields.
2024-05-14 11:14:13 +02:00
Slobodan Adamović
77ce60530c
[docs] Document new role description field (#108422)
This commit updates Role API docs to include new description field 
(introduced in #107088) and adds descriptions for all built-in roles.
2024-05-14 10:16:55 +02:00
Slobodan Adamović
05d728e3ef
[DOCS] Document manage_inference and monitor_inference cluster privileges (#108553) 2024-05-13 16:34:46 +02:00
Jedr Blaszyk
782234a84d
[Connector API][Docs] List supported enum values for the list request (#108557) 2024-05-13 15:20:12 +02:00
Thomas Neirynck
6020bc7e06
[Docs] Add warning kibana has incomplete support for nested fields (#107971) 2024-05-13 08:42:21 -04:00
ChrisHegarty
e8faece732 Merge branch 'main' into lucene_snapshot 2024-05-13 11:35:51 +01:00
Liam Thompson
5ff94f8cd8
[DOCS] Update run-elasticsearch-locally.asciidoc (#108545)
Remove confusing link as already available in note at end of page
2024-05-13 10:55:39 +02:00
Fang Xing
11de886346
[ES|QL] Add/Modify annotations for spatial and conditional functions for better doc generation (#107722)
* annotation for spatial functions and conditional functions
2024-05-10 14:49:25 -04:00
Luigi Dell'Aquila
fed808850d
ES|QL: Add unit tests for now() function (#108498) 2024-05-10 14:28:19 +02:00
David Turner
6ecb295ff1
Document transport.compress trade-offs more clearly (#108458)
Spells out explicitly that setting `transport.compress: true` may cost
extra CPU.
2024-05-09 14:04:45 -04:00
David Turner
91bed34e72
Clarify docs on deleting searchable snapshots (#108451)
The word `cannot` implies Elasticsearch prevents you from doing these
things, but it doesn't have this protection today (see #73947). This
commit clarifies this by saying `must not` instead.

Closes #108450
2024-05-09 18:37:31 +01:00
Stef Nestor
1a55e2fa76
(Doc+) Capture Elasticsearch diagnostic (#108259)
* (Doc+) Capture Elasticsearch diagnostic

* add diagnostic topic to nav, chunk content, style edits

* fix test

---------

Co-authored-by: shainaraskas <shaina.raskas@elastic.co>
2024-05-09 10:27:19 -06:00
Mayya Sharipova
2337eb05a0
Unified Highlighter to support matched_fields (#107640)
Add support to the Unified highlighter to combine matches on multiple fields
to highlight a single field: "matched_fields".

Based on Lucene PR: https://github.com/apache/lucene/pull/13268

Lucene PR is based on the concept of masked fields where masked fields
are different from the original highlighted field. This PR in
Elasticsearch uses the already existing highlighter parameter
"matched_fields".
2024-05-09 10:35:29 -04:00
Mayya Sharipova
e178684d32
Correct typo in documentation (#108462)
Correct a small typo: one closing ">" was missing.
2024-05-09 10:33:14 -04:00
Nik Everett
5a612d4100
ESQL: Remove remaining IT_tests_only (#108434)
This moves examples from files marked to run in integration tests only
to the files where they belong and disables this pattern matching. We
now use supported features.
2024-05-09 09:32:46 -04:00
István Zoltán Szabó
06a0758769
[DOCS] Fixes typo in Cohere ES tutorial (#108456)
* [DOCS] Fixes typo in Cohere ES tutorial.

* [DOCS] Fixes list.
2024-05-09 15:09:11 +02:00
István Zoltán Szabó
fa2f81353e
[DOCS] Adds complete Cohere tutorial (#108415) 2024-05-09 09:59:56 +02:00
Nick Tindall
68a8664c21
[DOCS] Fix stored_fields parameter description (#98385) (#108445)
(referenced from get and multi_get API docs)

Closes #98385
2024-05-09 03:17:10 -04:00
Lee Hinman
90b238e9d8
Mention alias filters don't apply for get-by-id in docs (#108433)
Resolves #3861
2024-05-08 15:28:25 -06:00
shainaraskas
9d9f23ca96
[DOCS] Add API example + diagrams to shard allocation awareness docs (#108390) 2024-05-08 12:52:50 -04:00
Bogdan Pintea
8864058f83
ESQL: Add more time span units (#108300)
This adds `nanosecond`, `microsecond` and `quarter` to the set of
supported time spans. It also adds a few standard and common
abbreviations to some existing ones.
2024-05-08 08:51:02 -04:00
Martijn van Groningen
e043bce1af
Add more rollup usage stats (#108245)
This change adds `number_of_rollup_jobs` and `number_of_rollup_indices`
to  `rollup` usage. The former indicates the number of active rollup
jobs running and the latter indicated the number of rollup indices
(which could be the result of previous rollup jobs).
2024-05-07 13:02:54 -04:00
Liam Thompson
b2ebaeee7b
[DOCS] Add retrievers overview (#107959) 2024-05-07 18:20:49 +02:00
Liam Thompson
d0f4966431
[DOCS] Add local dev setup instructions (#107913)
* [DOCS] Add local dev setup instructions

- Replace existing Run ES in Docker locally page, with simpler no-security local dev setup
- Move this file into Quickstart folder, along with existing quickstart guide
- Update self-managed instructions in Quickstart guide to use local dev approach
2024-05-07 18:10:48 +02:00
Lisa Cawley
a079cdc17d
[DOCS] Update transform and anomaly detection rule creation steps (#107975) 2024-05-07 07:52:45 -07:00
Jonathan Buttner
9623e522c3
[ML] Inference document configurable settings (#108273)
* Starting to document various inference settings

* Finish settings

* Update docs/reference/settings/inference-settings.asciidoc

Co-authored-by: Max Hniebergall <137079448+maxhniebergall@users.noreply.github.com>

* Update docs/reference/settings/inference-settings.asciidoc

Co-authored-by: István Zoltán Szabó <istvan.szabo@elastic.co>

* Update docs/reference/settings/inference-settings.asciidoc

Co-authored-by: István Zoltán Szabó <istvan.szabo@elastic.co>

* Update docs/reference/settings/inference-settings.asciidoc

Co-authored-by: István Zoltán Szabó <istvan.szabo@elastic.co>

* Update docs/reference/settings/inference-settings.asciidoc

Co-authored-by: István Zoltán Szabó <istvan.szabo@elastic.co>

* Update docs/reference/settings/inference-settings.asciidoc

Co-authored-by: István Zoltán Szabó <istvan.szabo@elastic.co>

* Update docs/reference/settings/inference-settings.asciidoc

Co-authored-by: István Zoltán Szabó <istvan.szabo@elastic.co>

* Update docs/reference/settings/inference-settings.asciidoc

Co-authored-by: István Zoltán Szabó <istvan.szabo@elastic.co>

---------

Co-authored-by: Max Hniebergall <137079448+maxhniebergall@users.noreply.github.com>
Co-authored-by: István Zoltán Szabó <istvan.szabo@elastic.co>
2024-05-07 10:19:08 -04:00
Liam Thompson
9b7e9b5d59
[DOCS] ESQL goes GA (#108342) 2024-05-07 14:12:50 +02:00
Bogdan Pintea
de725aef80
Add docs clarifications on DATE_DIFF args (#108301)
This adds some clarifications on the time unit strings the function
takes as arguments, noting the differences between these and the time
span literals, as well as the abbreviations' source.
2024-05-07 12:59:01 +02:00
Nik Everett
089fd7d7da
ESQL: Rework integration-only csv testing (#108313)
This reworks the integration-test-only csv testing for `metadata` to use
the `required_feature:` syntax instead of the `-IT_tests_only`
extension. This is a little more flexible and way nicer on the eyes.
2024-05-06 11:06:50 -04:00
Nikolaj Volgushev
31afff92f8
Invalidate cross cluster API key docs (#108297)
This PR documents privilege requirements for cross-cluster API key
invalidation, which were updated in
https://github.com/elastic/elasticsearch/pull/107411.
2024-05-06 10:02:14 -04:00
Liam Thompson
1be1110740
[DOCS] Clarify retriever is not API (#108295) 2024-05-06 15:52:25 +02:00