Commit graph

11513 commits

Author SHA1 Message Date
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
shainaraskas
58729edc30
add gatekeeper workaround (#108265) 2024-05-06 09:18:51 -04:00
shainaraskas
b84bd458b6
[DOCS] clarify that the repo location setting accepts only one value (#108267) 2024-05-06 09:18:17 -04:00
Bogdan Pintea
b26d7d3e14
Introduce an IP functions group (#108304)
This takes the CIDR_MATCH out of the operators group and adds it to a
new `IP functions` group.
The change also re-aranges the groups, grouping together the
type-specific functions and ordering them alphabetically.
2024-05-06 13:43:30 +02:00
István Zoltán Szabó
d90c0af3a6
[DOCS] Documents param for Health API. (#108296) 2024-05-06 12:23:17 +02:00
Yang Wang
bcf4297e89
Ensure necessary security context for s3 bulk deletions (#108280)
This PR moves the doPrivileged wrapper closer to the actual deletion
request to ensure the necesary security context is established at all
times. Also added a new repository setting to configure max size for s3
deleteObjects request.

Fixes: #108049
2024-05-06 06:02:09 -04:00
elasticsearchmachine
844979414b
Forward port release notes for v8.13.3 (#108256) 2024-05-06 07:44:48 +02:00
Fang Xing
4daac77e3b
[ES|QL] Add/Modify annotations for operators for better doc generation (#108220)
* annotation for operators
2024-05-03 22:59:51 -04:00
Rafi Estrada
295fba33d8
Add note about license to "Restore an Entire Cluster" docs (#87485)
One user reached out mentioning that it would be a good idea to remind
users to re-upload the license after full cluster recovery from snapshot
as one can easily miss this when trying to figure out why some features
aren't working after the restore.
2024-05-03 19:23:51 -04:00
Bogdan Pintea
5f4ef87c47
Fix docs generation of signatures for variadic functions (#107865)
This fixes the generation of the signatures for variadic functions,
except for those that take a list as last argument; i.e.  functions with
optional arguments (like ROUND) or functions with overloading-like
signatures (like BUCKET).
2024-05-03 15:37:22 +02:00
Stef Nestor
5b28d3bff4
[Doc+] Add Secure Connection to Setup CCR Tutorial (#103237) 2024-05-03 09:13:42 +02:00
Liam Thompson
9a62dba53c
[DOCS] Remove remaining beta flags for RCS (#108201) 2024-05-03 09:12:37 +02:00
Nik Everett
9cb5b3174e
Docs: Update known issue (#108211)
Updates the known issue for #108181 to include that this can happen
during a rolling restart.
2024-05-02 13:12:21 -04:00
Stef Nestor
a3f3f59399
(Doc+) Delineate Bootstrapping Data Stream from Alias (#107976)
* (Doc+) Delineate Bootstrapping Data Stream from Alias 

👋 howdy, team! 

This is follow-up to [elasticsearch#107327](https://github.com/elastic/elasticsearch/pull/107327). I realized my mistake was that we had duplicate sentences in different sections so I edited the wrong area. However, it seemed like a good opportunity to consider clarifying the page better by fixing header links so that the sub-sections reflect as sub-headers instead of all being equal. Thoughts?

* Apply suggestions from code review

Co-authored-by: shainaraskas <58563081+shainaraskas@users.noreply.github.com>

---------

Co-authored-by: shainaraskas <58563081+shainaraskas@users.noreply.github.com>
2024-05-02 11:07:07 -06:00
florent-leborgne
0c500e5264
Remove Beta label for RCS2.0 from 8.14 (#108030) 2024-05-02 15:43:21 +02:00
Ignacio Vera
c8a828265d
Add known issue for CCS duplicated buckets (#108182) 2024-05-02 13:33:31 +02:00
Fang Xing
7ae08306a0
mv functions (#107839)
Add annotations for MV functions for better doc generation.
2024-05-01 10:47:22 -04:00
Martijn van Groningen
924ae5f2f7
Simplify tsds getting started (#108090)
* By only using index templates.
* Removing the usage and mentioning of index.routing_path index setting.
2024-05-01 08:33:38 -04:00
Martijn van Groningen
d59ee6cb45
Add documentation around migration from rollup to downsampling (#107965)
This change also updated the deprecation warning on all rollup pages from Rollups will be removed in a future version. Use <<downsampling,downsampling>> instead. to Rollups will be removed in a future version. Please <<rollup-migrating-to-downsampling,migrate>> to <<downsampling,downsampling>> instead..
2024-05-01 08:59:44 +02:00
Oleksandr Kolomiiets
a037e33659
Add documentation for configuring downsampling using DSL (#108043) 2024-04-30 09:23:39 -07:00
Oleksandr Kolomiiets
c3d45b99f2
Document binary field defauls in TSDB indices (#108046) 2024-04-30 08:02:16 -07:00
David Turner
fc287bde8b
Interpret ?timeout=-1 as infinite ack timeout (#107675)
APIs which perform cluster state updates typically accept the
`?master_timeout=` and `?timeout=` parameters to respectively set the
pending task queue timeout and the acking timeout for the cluster state
update. Both of these parameters accept the value `-1`, but
`?master_timeout=-1` means to wait indefinitely whereas `?timeout=-1`
means the same thing as `?timeout=0`, namely that acking times out
immediately on commit.

There are some situations where it makes sense to wait for as long as
possible for nodes to ack a cluster state update. In practice this wait
is bounded by other mechanisms (e.g. the lag detector will remove the
node from the cluster after a couple of minutes of failing to apply
cluster state updates) but these are not really the concern of clients.

Therefore with this commit we change the meaning of `?timeout=-1` to
mean that the acking timeout is infinite.
2024-04-30 09:54:15 -04:00
Benjamin Trent
67748cf616
Adding docs about scaled_float saturation with long values (#107966) 2024-04-30 08:25:37 -04:00
Jedr Blaszyk
bdcbb0416c
[Connector API] Mark connector management APIs as beta in 8.14 (#108004) 2024-04-30 12:35:53 +02:00
Ioana Tagirta
e784706b4e
Allow typed_keys for search application Search API (#108007)
* Allow typed_keys for search application Search API

* Update docs/changelog/108007.yaml

* Use RestSearchAction.TYPED_KEYS_PARAM
2024-04-30 11:31:45 +02:00
Michael Peterson
a451511e3a
Change skip_unavailable default value to true (#105792)
In order to improve the experience of cross-cluster search, we are changing
the default value of the remote cluster `skip_unavailable` setting from `false` to `true`.

This setting causes any cross-cluster _search (or _async_search) to entirely fail when
any remote cluster with `skip_unavailable=false` is either unavailable (connection to it fails)
or if the search on it fails on all shards.

Setting `skip_unavailable=true` allows partial results from other clusters to be
returned. In that case, the search response cluster metadata will show a `skipped`
status, so the user can see that no data came in from that cluster. Kibana also
now leverages this metadata in the cross-cluster search responses to allow users
to see how many clusters returned data and drill down into which clusters did not
(including failure messages).

Currently, the user/admin has to specifically set the value to `true` in the configs, like so:

```
cluster:
    remote:
        remote1:
            seeds: 10.10.10.10:9300
            skip_unavailable: true
```

even though that is probably what search admins want in the vast majority of cases.

Setting `skip_unavailable=false` should be a conscious (and probably rare) choice
by an Elasticsearch admin that a particular cluster's results are so essential to a
search (or visualization in dashboard or Discover panel) that no results at all should
be shown if it cannot return any results.
2024-04-29 15:53:47 -04:00
eyalkoren
ee262954ee
Adding aggregations support for the _ignored field (#101373)
Enables aggregations on the _ignored metadata field replacing the stored field
with doc values.
2024-04-29 16:41:34 +02:00
Bogdan Pintea
4b5c5e2ded
Update BUCKET docs in source (#108005)
This applies a review proposed changes to the source, so that they're
synchronized to the generated output.
2024-04-29 14:27:20 +02:00
Jim Ferenczi
4380cd1bd5
Allow rescorer with field collapsing (#107779)
This change adds the support for rescoring collapsed documents.
The rescoring is applied on the top document per group on each shard.

Closes #27243
2024-04-29 08:48:12 +01:00
Nhat Nguyen
22aad7b201
Support metrics counter types in ESQL (#107877)
This commit adds support for numeric metrics counter fields in ES|QL. 
These counter types, including counter_long, counter_integer, and
counter_double, are different from their parent types. Users will have
limited interaction with these counter types, restricted to:

- Retrieving values without any processing
- Casting to their root type (e.g., to_long(a_long_counter))
- Using them in the metrics rate aggregation

These restrictions are intentional to prevent misuse. If users want to 
use them as numeric values, explicit casting to their root types is
required.
2024-04-26 12:15:48 -07:00
Jedr Blaszyk
98ed236f2b
[Connector API] Update docs filtering, configuration, delete, scheduling (#107842) 2024-04-26 15:16:29 +02:00
Oleksandr Kolomiiets
e1d902d33b
Implement synthetic source support for annotated text field (#107735)
This PR adds synthetic source support for annotated_text fields. Existing implementation for text is reused including test infrastructure so the majority of the change is moving and making things accessible.

Contributes to #106460, #78744.
2024-04-25 10:31:27 -07:00
Panagiotis Bailis
fdefe09041
Fix for from parameter when using sub_searches and rank (#106253) 2024-04-25 20:11:44 +03:00
Bogdan Pintea
a21242054b
ESQL: Document BUCKET as a grouping function (#107864)
This adds the documentation for BUCKET as a grouping function and the
addition of the "direct" invocation mode providing a span (in addition
to the auto mode).
2024-04-25 12:38:12 -04:00
Bogdan Pintea
7af45cc52e
ESQL: Document the cast operator (::) (#107871)
This documents the cast operator, `::`.
2024-04-25 10:10:59 -04:00
Bogdan Pintea
31f2fb85df
Docs: move STARTS/ENDS_WITH under string functions in the docs (#107867)
This moves the STARTS_WITH and ENDS_with under the strings functions
section (as they're not operators).
2024-04-25 09:41:11 -04:00
shainaraskas
164fcf091b
unhide setting (#107019) 2024-04-25 08:26:40 -04:00
Bogdan Pintea
9482673fbe
Docs: move base64 functions under string functions (#107866)
This moves the TO_BASE64 and FROM_BASE64 from the type conversion
functions under string functions (they take a string as input and output
another string).
2024-04-25 13:57:45 +02:00
Oleksandr Kolomiiets
cde894a5ce
Implement synthetic source support for range fields (#107081)
* Implement synthetic source support for range fields

This PR adds basic synthetic source support for range fields. There are
following notable properties of synthetic source produced:
* Ranges are always normalized to be inclusive on both ends (this is how
 they are stored).
* Original order of ranges is not preserved.
* Date ranges are always expressed in epoch millis, format is not
preserved.
* IP ranges are always expressed as a range of IPs while it could
have been originally provided as a CIDR.

This PR only implements retrieval of data for source reconstruction from
 doc values.
2024-04-24 11:32:20 -07:00
Jedr Blaszyk
94041d3cdd
[Connector API] Address docs feedback (#107774) 2024-04-24 08:35:40 +02:00
Tommaso Teofili
cfc8e71e37
Add per-field KNN vector format to Index Segments API (#107216)
Add per-field knn format to Index Segments API, an optional 
vector_formats param can be passed to the REST call
to get per-field vector formats for each segment
2024-04-23 10:12:50 +02:00
草原狼
59b52ba634
Fix line break in "The QUICK brown foxes jumped over the dog!" (#107718)
Preformatted strings preserve line breaks, but no line break was
intended here.
2024-04-22 16:45:36 -04:00
Fang Xing
ad15d50863
[ES|QL] more doc generation via annotations (#107541)
Annotations for math functions, datetime functions, string functions, type conversion functions.
2024-04-22 14:43:36 -04:00