Commit graph

12279 commits

Author SHA1 Message Date
Ryan Ernst
7fb6ca447a
Add ephemeral node id to shutdown metadata (#118722)
Shutdown metadata is keyed on node id. This makes sense since only one
node with a given node id can exist within a cluster. However, it is
possible that shutdown was initiated for one instance of a node, but
that node is restarted. This commit adds the ephemeral node id to
shutdown metadata so that nodes with the same id but different ephemeral
id can be distinguished.
2024-12-30 10:13:58 -08:00
Lisa Cawley
5e0fbef58b
[DOCS] Link to new API site (#119038)
Co-authored-by: shainaraskas <58563081+shainaraskas@users.noreply.github.com>
2024-12-30 16:52:16 +00:00
Max Hniebergall
7e126d75a4
[Inference API] Update get-inference docs to use elasticsearch service (#119238)
* update get-inference docs to use elasticsearch service

* fix indentation
2024-12-30 10:11:40 -05:00
Jim Ferenczi
12e86b1cd0
Refactor semantic text field to align with text field behaviour (#119183)
Co-authored-by: Mike Pellegrini <mike.pellegrini@elastic.co>
2024-12-30 09:31:02 +01:00
Stef Nestor
ec35dc2049
(Doc+) Videos of rejected requests (#119311)
* (Doc+) Videos of rejected requests
2024-12-27 13:49:57 -07:00
Stef Nestor
c8f2703cdf
(Doc+) Flush out Slow Logs (#118518)
* (Doc+) Slow Logs

---------

Co-authored-by: shainaraskas <58563081+shainaraskas@users.noreply.github.com>
2024-12-27 10:12:00 -07:00
Stef Nestor
db1c41b41d
(Doc+) Enrich run on ingest+data nodes not coordinating-only (#119136)
* (Doc+) Enrich run on ingest+data nodes not coordinating-only

👋 howdy, team! I'm not otherwise finding it so documenting https://github.com/elastic/elasticsearch/issues/95969 in ES docs

> Currently we tell users of enrich that they should co-locate the nodes that perform the enrichment (ingest nodes) with the actual enrich data so that enrich operations don't require a remote search operation.

* feedback

Co-authored-by: Lee Hinman <dakrone@users.noreply.github.com>

---------

Co-authored-by: Lee Hinman <dakrone@users.noreply.github.com>
2024-12-25 08:17:18 -07:00
Niels Bauman
9641c7623f
Run TransportGetComponentTemplateAction on local node (#116868)
This action solely needs the cluster state, it can run on any node.
Additionally, it needs to be cancellable to avoid doing unnecessary work
after a client failure or timeout.

The `?local` parameter becomes a no-op and is marked as deprecated.

Relates #101805
Relates #107984
2024-12-23 20:01:21 +00:00
Niels Bauman
dac3bfd52e
Fix usage API docs test (#119192)
This ensures the usage API docs tests are passing again. We achieve this
by: 1. ignoring the contents of `inference.models` because the models
might not yet have been initialized and 2. adding missing fields to the
`logsdb` usage.
2024-12-23 16:03:47 +01:00
Tanguy Leroux
103d29f0c8
Revert min_read_only_index_version in doc after #119083 (#119125) 2024-12-20 05:38:09 +11:00
Carlos Delgado
6ee641bdfd
ESQL - Update WHERE command docs with MATCH and full text functions examples (#118987) 2024-12-19 16:44:53 +01:00
Marci W
696ee806e7
Revise content to match new troubleshooting guidelines (#118033)
* Revise to match new guidelines

* Address review suggestions and comments

* Apply suggestions from review

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

* Apply suggestions from review

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

* Apply suggestions from review

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

* Apply suggestions from review

---------

Co-authored-by: shainaraskas <58563081+shainaraskas@users.noreply.github.com>
2024-12-19 10:09:14 -05:00
kosabogi
78bd9ec6f0
[DOCS] Updates SharePoint Online page (#118318) 2024-12-19 11:43:34 +01:00
Jim Ferenczi
6f261067f2
Add a generic rescorer retriever based on the search request's rescore functionality (#118585)
This pull request introduces a new retriever called `rescorer`, which leverages the `rescore` functionality of the search request.  
The `rescorer` retriever re-scores only the top documents retrieved by its child retriever, offering fine-tuned scoring capabilities.  

All rescorers supported in the `rescore` section of a search request are available in this retriever, and the same format is used to define the rescore configuration.  

<details>
<summary>Example:</summary>

```yaml
  - do:
      search:
        index: test
        body:
          retriever:
            rescorer:
              rescore:
                window_size: 10
                query:
                  rescore_query:
                    rank_feature:
                      field: "features.second_stage"
                      linear: { }
                  query_weight: 0
              retriever:
                standard:
                  query:
                    rank_feature:
                      field: "features.first_stage"
                      linear: { }
          size: 2
```

</details>

Closes #118327

Co-authored-by: Liam Thompson <32779855+leemthompo@users.noreply.github.com>
2024-12-18 19:47:12 +00:00
Bogdan Pintea
bc3b629d8d
ESQL: Docs: add example of date bucketing with offset (#116680)
Add an example of how to create date histograms with an offset.

Fixes #114167
2024-12-18 17:12:14 +01:00
Sean Story
5255bfb6fb
Replace 'ent-search-generic' with 'search-default' pipeline (#118899)
* Replace 'ent-search-generic' with 'search-default' pipeline

* missed one

* [CI] Auto commit changes from spotless

---------

Co-authored-by: elasticsearchmachine <infra-root+elasticsearchmachine@elastic.co>
2024-12-18 08:03:08 -06:00
Liam Thompson
54fa07450a
[DOCS] Make Wolfi hardened Docker option more prominent (#118755) 2024-12-18 13:54:17 +01:00
Ievgen Degtiarenko
7cf28a910e
ESQL Add esql hash function (#117989)
This change introduces esql hash(alg, input) function that relies on the Java MessageDigest to compute the hash.
2024-12-18 09:56:42 +01:00
Satyam Mishra
41c3dde414
Updated ilm docs as per the issue (#118148)
This PR updates the Elasticsearch ILM tutorial for the newer screenshot
and the primary shard update in the text.
2024-12-18 10:32:39 +11:00
Pius Fung
1054503ba8
Update start-trained-model-deployment.asciidoc (#118887)
Updating with changes in https://github.com/elastic/elasticsearch/pull/115041
2024-12-17 13:03:28 -08:00
Tanguy Leroux
f3a1664906
Add min. read-only index version compatible to DiscoveryNode (#118744)
#118443 added a new index version for indices that can be opened in read-only mode by Lucene. This change adds this information to the discovery node's VersionInformation and the transport serialization logic.

In a short future we'd like to use this information in methods like IndexMetadataVerifier#checkSupportedVersion and NodeJoineExecutor to allow opening indices in N-2 versions as read-only indices on ES V9.
2024-12-17 18:59:49 +01:00
Luigi Dell'Aquila
1d2840ece1
EQL: add support for partial search results (#116388)
Allow queries to succeed if some shards are failing
2024-12-17 17:13:52 +01:00
Adam Szaraniec
f64c05ac32
Update alias.asciidoc (#118553)
Add section about removing index
2024-12-17 10:09:22 -06:00
Rene Groeschke
6516a535ab
Add wolfi documentation from 8.16 branch (#118835)
port from https://github.com/elastic/elasticsearch/pull/118684
2024-12-17 23:45:27 +11:00
Slobodan Adamović
6c56c32f7a
Grant necessary Kibana application privileges to reporting_user role (#118058)
Previously, Kibana was authorizing (and granting application privileges)
to create reports, simply based on the `reporting_user` role name. This
PR makes these application privileges explicitly granted to the
`reporting_user` role.
2024-12-14 04:40:23 +11:00
Mark Tozzi
1e26791515
Esql bucket function for date nanos (#118474)
This adds support for running the bucket function over a date nanos field. Code wise, this just delegates to DateTrunc, which already supports date nanos, so most of the PR is just tests and the auto-generated docs.

Resolves #118031
2024-12-13 09:25:52 -05:00
Liam Thompson
528593b55f
[DOCS] Link to Elastic Rerank model landing page (#118574)
- Add link to Python notebook
- Fix heading level
2024-12-13 14:00:29 +00:00
Gal Lalouche
2be4cd983f
ESQL: Support ST_EXTENT_AGG (#117451)
This PR adds support for ST_EXTENT_AGG aggregation, i.e., computing a bounding box over a set of points/shapes (Cartesian or geo). Note the difference between this aggregation and the already implemented scalar function ST_EXTENT.

This isn't a very efficient implementation, and future PRs will attempt to read these extents directly from the doc values.
We currently always use longitude wrapping, i.e., we may wrap around the dateline for a smaller bounding box. Future PRs will let the user control this behavior.
Fixes #104659.
2024-12-13 12:41:24 +02:00
Alexander Spies
140d88c59a
ESQL: Dependency check for binary plans (#118326)
Make the dependency checker for query plans take into account binary plans and make sure that fields required from the left hand side are actually obtained from there (and analogously for the right).
2024-12-13 11:38:53 +01:00
John Wagster
ce0e4e4fa8
small doc fix for updates related to _source defaults found by community member (#118605) 2024-12-12 13:17:32 -06:00
Marci W
3cbdfba610
Fix invalid index mode (#118579) 2024-12-12 10:59:47 -05:00
Mayya Sharipova
b460f081c2
[DOCS] _index_prefix for highligh matched_fields (#118569)
Enhance documenation to explain that "_index_prefix" subfield must
be added to `matched_fields` param for highlighting a main field.
When doing prefix queries on fields that are indexed with prefixes,
"_index_prefix" subfield is used. If we try to highlight the main
field, we may not get any results. "_index_prefix" subfield must
be added to `matched_fields` which instructs ES to use matches
from "_index_prefix" to highlight the main field.
2024-12-12 10:24:55 -05:00
kosabogi
b2998378a3
[DOCS] Adds default inference endpoints information (#118463)
* Adds default inference andpoints information

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

Co-authored-by: Liam Thompson <32779855+leemthompo@users.noreply.github.com>

---------

Co-authored-by: Liam Thompson <32779855+leemthompo@users.noreply.github.com>
2024-12-12 12:15:28 +01:00
kosabogi
8c10f0cc38
Changes elser service to elasticsearch service in the Semantic search with the inference API page (#118536) 2024-12-12 12:15:17 +01:00
kosabogi
3cf7f97141
Adds CCS matrix for 8.17 (#118527)
Co-authored-by: Liam Thompson <32779855+leemthompo@users.noreply.github.com>
2024-12-12 11:17:16 +01:00
Liam Thompson
8fb6edab63
[DOCS] Consolidate connectors release notes on one page (#118464) 2024-12-12 10:52:41 +01:00
Sean Story
4db3f7b751
Add known issue for salesforce DLS (#118489) 2024-12-11 13:34:00 -06:00
Marci W
ae9bb90fd1
Update and edit logsdb docs for logsdb / synthetic source GA (#118303)
* Update licensing; fix screenshots; edit generally

* Small edit for clarity and style

* Update docs/reference/index-modules.asciidoc

Co-authored-by: Liam Thompson <32779855+leemthompo@users.noreply.github.com>

* Apply changes from review

Co-authored-by: Liam Thompson <32779855+leemthompo@users.noreply.github.com>

* Address review comments

* Match similar change from review

* More changes from review

* Apply suggestions from review

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

* Apply suggestions from review

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

* Update docs/reference/data-streams/logs.asciidoc

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

* Apply suggestions from review

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

* Apply suggestions from review

* Change to general subscription note

* Apply suggestions from review

Co-authored-by: Oleksandr Kolomiiets <olkolomiiets@gmail.com>

* Apply suggestions from review

Co-authored-by: Oleksandr Kolomiiets <olkolomiiets@gmail.com>

* Apply suggestions from review; additional edits

* Apply suggestions from review; clarity tweaks

* Restore previous paragraph structure and context

---------

Co-authored-by: Liam Thompson <32779855+leemthompo@users.noreply.github.com>
Co-authored-by: shainaraskas <58563081+shainaraskas@users.noreply.github.com>
Co-authored-by: Oleksandr Kolomiiets <olkolomiiets@gmail.com>
2024-12-11 13:24:24 -05:00
Liam Thompson
56e1ca52ea
[DOCS][101] Aggregations quickstart tutorial (#116251) 2024-12-11 16:06:24 +01:00
David Kyle
a7fdc10bd4
[DOCS][ML] Use elasticsearch service instead of deprecated elser service in tutorials (#118007) 2024-12-11 10:51:24 +00:00
Quentin Pradet
c473da5e64
Fix rest-api-spec and docs for bulk API (#118415) 2024-12-11 12:38:42 +04:00
Benjamin Trent
645657cc56
Remove old _knn_search tech preview API in v9 (#118104)
Removes the old `_knn_search` API that was never out of tech preview and
deprecated throughout the v8 cycle. 

To utilize the API, `compatible-with=8` can be utilized.
2024-12-11 02:01:25 +11:00
István Zoltán Szabó
17765e7398
[DOCS] Adds transform breaking changes to the migration guide (#118285)
* [DOCS] Adds transform breaking changes to the migration guide.

* [DOCS] Fixes typo.

* [DOCS] Fixes ordered list.
2024-12-10 15:39:03 +01:00
István Zoltán Szabó
d026904dda
[DOCS] Reviews docker examples. (#118339) 2024-12-10 15:16:27 +01:00
István Zoltán Szabó
27b07b3406
[DOCS] Documents dimensions param for openai service of Inference API (#118317)
Co-authored-by: David Kyle <david.kyle@elastic.co>
2024-12-10 14:12:10 +01:00
Carlos Delgado
eb59b989ef
ESQL: Expand type compatibility for match function and operator (#117555) 2024-12-09 19:56:10 +01:00
Dan Rubinstein
f40dc99f91
Adding transforms migration guide for 9.0 (#117353)
* Adding transforms migration guide for 9.0

* Adding shared transform attribute and simplifying wording

---------

Co-authored-by: Elastic Machine <elasticmachine@users.noreply.github.com>
2024-12-09 10:14:32 -05:00
Pete Gillin
bc25a73543
Update UpdateForV9 in AttachmentProcessor (#118186)
We are not going to make this change in V9. We may do it in V10. This
change just bumps the annotation to remind us to revisit.

Since we are living with this for a while, it seems worth improving
the documentation. This now encourages explicitly setting the option
one way or the other, since you get a warning if you omit it. It also
changes the existing examples to use true rather than false, as that's
our recommendation. And it adds a new section with an example where
it's true, and moves the content previously in a note into that
section.
2024-12-09 14:28:24 +00:00
Liam Thompson
931f675891
Update connectors overview diagram (#118261) 2024-12-09 15:25:10 +01:00
kanoshiou
67ee03411b
ESQL: Enable async get to support formatting (#111104)
I've updated the listener for GET /_query/async/{id} to EsqlResponseListener, so it now accepts parameters (delimiter, drop_null_columns and format) like the POST /_query API. Additionally, I have added tests to verify the correctness of the code.

You can now set the format in the request parameters to specify the return style.

Closes #110926
2024-12-09 13:08:48 +01:00