Commit graph

12605 commits

Author SHA1 Message Date
David Turner
cdaa5dd7ad
Clarify breaking change note for #112903 (#122998)
Closes #122994
2025-02-20 12:11:56 +00:00
Lee Hinman
2ae80c799d
Allow setting the type in the reroute processor (#122409)
* Allow setting the `type` in the reroute processor

This allows configuring the `type` from within the ingest `reroute` processor. Similar to `dataset`
and `namespace`, the type defaults to the value extracted from the index name. This means that
documents sent to `logs-mysql.access.default` will have a default value of `logs` for the type.

Resolves #121553

* Update docs/changelog/122409.yaml
2025-02-18 12:38:00 -07:00
Nik Everett
df2f3b3b3f
ESQL: Update kibana signatures (#121951)
This updates the kibana signature json files in two ways:
* Renames `eval` to `scalar` - that's the name we use inside of ESQL and
  we may as well make the name the same.
* Calls the `CATEGORIZE` and `BUCKET` function `grouping` because they
  can only be used in the "grouping" positions of the `STATS` command.

Closes #113411
2025-02-07 09:51:09 -05:00
Fang Xing
f58fdf81e9
[ES|QL] Change function_named_parameters in Kibana doc to expected format (#121585)
* change function_named_parameters in kibana doc to expected format
2025-02-04 12:20:34 -05:00
elasticsearchmachine
69bdf465b0 Bump to version 9.1.0 2025-01-30 16:55:46 +00:00
Jim Ferenczi
fb3c666663
Remove outdated reference to internal semantic text format (#121276)
The semantic text format was updated in #119183. This commit removes the last remaining reference to the old format from the documentation to ensure consistency.
2025-01-30 15:01:55 +01:00
Chris Hegarty
4baffe4de1
Upgrade to Lucene 10.1.0 (#119308)
This commit upgrades to Lucene 10.1.0.
2025-01-30 13:41:02 +00:00
Liam Thompson
c8dfb4ea9e
[DOCS] Fix missing id syntax (#121264)
* [DOCS] Fix missing id syntax

* Update docs/reference/troubleshooting/common-issues/disk-usage-exceeded.asciidoc

* fix id
2025-01-30 12:52:37 +01:00
Jim Ferenczi
dbeb55cb3d
Enable Mapped Field Types to Override Default Highlighter (#121176)
This commit introduces the `MappedFieldType#getDefaultHighlighter`, allowing a specific highlighter to be enforced for a field.
The semantic field mapper utilizes this new functionality to set the `semantic` highlighter as the default.
All other fields will continue to use the `unified` highlighter by default.
2025-01-29 21:55:53 +00:00
Slobodan Adamović
c5ab17c3aa
Deprecate certificate-based remote cluster security model (#120806)
Today, Elasticsearch supports two models to establish secure connections
and trust between two Elasticsearch clusters:

- API key based security model
- Certificate based security model

This PR deprecates the _Certificate based security model_ in favour of *API key based security model*.
The _API key based security model_ is preferred way to configure remote clusters,
as it allows to follow security best practices when setting up remote cluster connections
and defining fine-grained access control.

Users are encouraged to migrate remote clusters from certificate to API key authentication.
2025-01-29 19:43:04 +01:00
Kuni Sen
a0f1856a40
(Doc+) Expand watermark resolution (#119174)
* (Doc+) Expand watermark resolution

Relaunch https://github.com/elastic/elasticsearch/pull/116892 since the original one seems to be outdated and hard to update branch.

* 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>
2025-01-29 19:31:50 +01:00
Luiz Santos
c0f3024c3f
Make it clear that previous enrich indices are deleted every 15 minutes (#109085)
Before this change, one could interpret that enrich policies are executed every 15 minutes, which is not true.
2025-01-29 19:28:43 +01:00
Liam Thompson
9edd64e608
[DOCS] Fix failing docs test (at least try) (#118934)
Fix failing docs test:

* Unmute test
* Replace hardcoded values with regex in snippet test
2025-01-29 19:21:58 +01:00
Nikolaj Volgushev
51b4fffb5e
Default to SSHA-256 as API key stored credential hasher (#120997)
API keys are high-entropy secure random strings. This means that the
additional work factor of functions like PBKDF or bcrypt are not
necessary, and a faster hash function like salted SHA-256 provides
adequate security against offline attacks (hash collision, brute force,
etc.).

This PR adds `SSHA-256` to the list of supported stored hash algorithms
for API key secrets, and makes it the default algorithm. Additionally,
this PR changes the format of API key secrets, moving from an encoded
UUID to a random string which increase the entropy of API keys from 122
bits to 128 bits, without changing overall secret length. 

Relates: ES-9504
2025-01-30 05:14:15 +11:00
Michael Peterson
d3f20e5b4b
Updated resolve/cluster end user docs with information about the timeout flag and no index expression endpoint (#121199) 2025-01-29 18:22:40 +01:00
Stanislav Malyshev
3669e061d4
Fix typo in docs example (#121206) 2025-01-29 09:44:42 -07:00
Peter Straßer
6b76457a23
Fix syntax errors in the rescore retriever example (#121024) 2025-01-29 16:10:59 +01:00
Michael Peterson
e9b877e58b
Clarify the behavior of remote/info and resolve/cluster for connected status of remotes (#118993) 2025-01-29 10:08:25 -05:00
Kathleen DeRusso
4b4c59de7f
Fix error in docs code snippet (#121187) 2025-01-29 16:05:05 +01:00
Benjamin Trent
038aab864e
Mark bbq indices as GA and add rolling upgrade integration tests (#121105)
With the introduction of our new backing algorithm and making rescoring
easier with the `rescore_vector` API, let's mark bbq as GA. 

Additionally, this commit adds rolling upgrade tests to ensure
stability.
2025-01-30 01:58:08 +11:00
Pat Whelan
9009606a47
[Transform] add support for extended_stats (#120340)
Building off of `stats` and multi-value aggregations, including the
limitation:
- all values of extended_stats will be mapped to `double` if mapping
  deduction is used

Relates #51925
2025-01-29 15:33:16 +01:00
Martijn van Groningen
952bf229fb
Conditionally enable logsdb by default (#121049)
Enable logsdb by default if logsdb.prior_logs_usage has not been set to true.

Meaning that if no data streams were created matching with the logs-- pattern in 8.x, then logsdb will be enabled by default for data streams matching with logs-*-* pattern.

Also removes LogsPatternUsageService as with version 9.0 and beyond, this component is no longer necessary.

Followup from #120708
Closes #106489
2025-01-29 15:03:28 +01:00
Liam Thompson
f5f0e3bd7f
[DOCS] Update getting-started.asciidoc (#116151) (#121173)
Update `new_field` to `language` which is the actual new field added in dynamic mapping

Co-authored-by: Ekwinder <ekwindersaini@gmail.com>
2025-01-30 00:52:11 +11:00
Valeriy Khakhutskyy
15b93fefdb
Extend documentation note. (#121146) 2025-01-29 13:03:42 +01:00
Jihyun(Brian) Jeong
e1207398c7
(Doc+) Clarify dimension field requirements for time_series aggregation (#119442)
* (Doc+) Clarify dimension field requirements for time_series aggregation

👋 howdy, team!

This PR adds a note explaining that time series indices require:
- index.mode set to "time_series"
- at least one dimension field with time_series_dimension: true
- a routing_path array listing those dimension fields

Without these settings, the time_series aggregation may return empty buckets or behave unexpectedly. By emphasizing the dimension field requirement, we help users configure their time series indices correctly and see meaningful aggregation results.

* Apply suggestions from code review

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

---------

Co-authored-by: Liam Thompson <32779855+leemthompo@users.noreply.github.com>
Co-authored-by: shainaraskas <58563081+shainaraskas@users.noreply.github.com>
2025-01-29 13:03:11 +01:00
Stef Nestor
31597b3897
(Doc+) System Index definition (#120327) 2025-01-29 11:14:36 +01:00
Kofi B
5bcd170a0b
[DOCS] Added additional context to page (#120569) 2025-01-29 09:48:25 +01:00
Kofi B
2258911112
[DOCS] Search multiple indices added info (#120572)
* [DOCS] Search multiple indices added info

* Update docs/reference/search/search-your-data/search-multiple-indices.asciidoc

Co-authored-by: George Wallace <georgewallace@users.noreply.github.com>

* Update docs/reference/search/search-your-data/search-multiple-indices.asciidoc

Co-authored-by: George Wallace <georgewallace@users.noreply.github.com>

* Update docs/reference/search/search-your-data/search-multiple-indices.asciidoc

Co-authored-by: George Wallace <georgewallace@users.noreply.github.com>

* Update docs/reference/search/search-your-data/search-multiple-indices.asciidoc

Co-authored-by: George Wallace <georgewallace@users.noreply.github.com>

* Update docs/reference/search/search-your-data/search-multiple-indices.asciidoc

Co-authored-by: George Wallace <georgewallace@users.noreply.github.com>

---------

Co-authored-by: George Wallace <georgewallace@users.noreply.github.com>
2025-01-29 09:46:39 +01:00
Kofi B
63a890e30d
[DOCS] Upsert documentation clarification (#120684)
Co-authored-by: Liam Thompson <32779855+leemthompo@users.noreply.github.com>
2025-01-29 09:46:01 +01:00
Martijn van Groningen
8185cafaf2
Emit deprecation warning when executing one of the rollup APIs (#113131)
Relates to #112690
2025-01-29 08:48:53 +01:00
Parker Timmins
635a4c21de
Add docs for reindex data stream REST endpoints (#120653)
Add documentation for new REST endpoints related to data stream upgrade. 
Endpoints:
- /_migration/reindex
- /_migration/reindex/{index}/_status
- /_migration/reindex/{index}/_cancel
- /_create_from/{source}/{dest}
2025-01-28 19:44:56 -06:00
Lisa Cawley
bfeba89e0c
[DOCS] Move ML function reference out of appendix (#121111) 2025-01-28 23:56:24 +01:00
Panagiotis Bailis
375814d007
Adding linear retriever to support weighted sums of sub-retrievers (#120222) 2025-01-28 19:33:12 +02:00
George Wallace
1a05f41a71
Adjusted alias doc for clarity (#120437) (#121064)
Co-authored-by: Kofi B <kofi.bartlett@elastic.co>
Co-authored-by: Liam Thompson <32779855+leemthompo@users.noreply.github.com>
2025-01-29 03:52:52 +11:00
István Zoltán Szabó
b925b0cbcc
[DOCS] Adds anomaly detection info to migration guide (#121015)
Co-authored-by: Valeriy Khakhutskyy <1292899+valeriy42@users.noreply.github.com>
2025-01-28 17:50:37 +01:00
István Zoltán Szabó
08255da9ac
[DOCS] Fixes max_chunk_size parameter name. (#121052) 2025-01-28 17:10:08 +01:00
István Zoltán Szabó
7400a14995
[DOCS] Documents that deployment_id can be used as inference_id in certain cases. (#121055) 2025-01-28 17:01:18 +01:00
Slobodan Adamović
953f1749a4
[Docs] Update Query Roles API documentation (#120740)
The query role API now returns built-in roles as well.
This PR notes this and adds an example on how the 
built-in roles can be filtered out.
2025-01-28 16:29:50 +01:00
Liam Thompson
3939198477
Update match-phrase-query.asciidoc (#118828) (#121033)
(cherry picked from commit 8e9cccba6a)

Co-authored-by: Damien RENIER <153135842+damien-renier-elastic@users.noreply.github.com>
2025-01-28 16:19:14 +01:00
Panagiotis Bailis
8e2044de15
Normalize negative scores for text_similarity_reranker retriever (#120930) 2025-01-28 16:56:47 +02:00
Amine GANI
38ea49a1b9
Fix incorrect use of "updateable" flag in synonyms documentation (#120866)
Co-authored-by: Amine GANI <amine.gani@adelean.com>
Co-authored-by: Carlos Delgado <6339205+carlosdelest@users.noreply.github.com>
2025-01-28 15:39:25 +01:00
Carlos Delgado
a87bd7ae26
ESQL - Allow full text functions disjunctions for non-full text functions (#120291) 2025-01-28 14:08:13 +01:00
Roberto Seldner
ddc2362592
Update async-search.asciidoc - Indicating search.max_async_search_response_size is a Dynamic (#112758)
Indicating `search.max_async_search_response_size` is a Dynamic setting here as it does not appear to be documented elsewhere.
2025-01-28 11:39:10 +01:00
Pius Fung
38b0e925f5
Add warning on scripted metric aggregation's intermediate state memory usage (#119379) 2025-01-28 11:10:43 +01:00
Sean Story
636e3645ac
Clarify need to submit for authorization (#119460) 2025-01-28 11:09:15 +01:00
István Zoltán Szabó
7837a96ce5
[DOCS] Adds EIS reference docs (#120706) 2025-01-28 11:02:28 +01:00
Sylvain Morin
e18baa12fa
Minor fix in documentation (#119385)
Co-authored-by: Iraklis Psaroudakis <kingherc@gmail.com>
2025-01-28 10:56:33 +01:00
Charlotte Hoblik
ee0ad557e6
Fix typo in tutorial (#120928) 2025-01-28 10:54:20 +01:00
Carlos Delgado
d91d51600e
ESQL - Add Match function options (#120360) 2025-01-28 08:54:33 +01:00
Lee Hinman
e0f5a60d32
Document that disabling stack templates is not recommended (#120963)
There are many features of the Elasticsearch ecosystem that may malfunction, or fail to work entirely, if these templates are not installed. This commit adds documentation cautioning against disabling the installation of templates.
2025-01-27 15:17:48 -07:00