Commit Graph

11135 Commits

Author SHA1 Message Date
Jake Landis 64026130fd
Add setting xpack.security.fips_mode.required_providers (#103483)
This commit adds an optional setting xpack.security.fips_mode.required_providers
to allow enforcing specific JCE/JSSE security providers while running in FIPS mode.

If running in FIPS mode with this value set and the required provider(s) is not found
an exception will be thrown during startup preventing the service from starting.
2023-12-21 12:11:40 -06:00
Daniel Mitterdorfer 26115fc151
Exists query also works with only doc_values (#103647)
With this commit we amend the docs for the `exists` query to clarify
that it works with either `index` *or* `doc_values` set to `true` in the
mapping. Only if both are disabled, the `exists` query won't work.
2023-12-21 16:33:42 +01:00
Chris Hegarty 6ca309983d
ES|QL Async Query API (#103398)
This commit adds two new endpoints to support ES|QL async querying.

The endpoints added are:
 1. GET /_query/async - for initiating a query
 2. GET /_query/async/{id} - for retrieving the result
2023-12-20 11:25:55 +00:00
Johannes Fredén 52eba9c8ca
Update docs to reflect new validation in reload_secure_settings api (#103550) 2023-12-20 12:06:20 +01:00
Martijn van Groningen 842303cd7f
Lower the look_ahead_time setting's maximum value. (#103434)
Initially the index.look_head_time was both used to define the index.time_series.start_time and index.time_series.end_time.

The former is now controlled by index.look_back_time and the maximum value of 7 days for index.look_ahead_time is too generous. As it also delays data being indexed to new index after rollover by up to 7 days.

This PR changes the index.look_ahead_time setting's maximum allowed value from 7 days to 2 hours, which is equal to the index.look_ahead_time setting's default. A look ahead time of 2 hours is high enough to accept data that is ahead of the current time, but avoids configuring the index.look_ahead_time setting to a too high value that causes rolled over indices to not receive writes for a very long period.

This is a breaking change, but configuring the index.look_ahead_time setting to a higher value than 2 hours will not fail. Instead 2 hours will be used a look ahead time.
2023-12-20 09:00:04 +01:00
Mayya Sharipova d6c53e03d2
Improve span queries documentation (#103490)
Improvement includes:
1. Remove reference to Lucene queries (this information is not necessary
for Elastic users, and can be outdated)
2. For `span_field_masking` include a node to use
"require_field_match" : false parameter for highlighters to work.

Closes #101804
2023-12-19 14:51:19 -05:00
Abdon Pijpelink 8e0d4e1846
[DOCS] Improve ES|QL functions reference for functions A-D (#103447)
* Functions starting with A

* Functions starting with 'C'

* More 'C' functions

* Fix tests

* Fix missing snippet

* DATE_* functions

* Apply suggestions from code review

Co-authored-by: Bogdan Pintea <pintea@mailbox.org>

---------

Co-authored-by: Bogdan Pintea <pintea@mailbox.org>
2023-12-19 15:59:02 +01:00
Jedr Blaszyk 9fc0bb4ece
[Connector API][Docs] Document update connector filtering action (#103547) 2023-12-19 12:21:05 +01:00
Jedr Blaszyk aae9730899
[Connectors API][Docs] Document update configuration action (#103522) 2023-12-19 12:02:42 +01:00
Kathleen DeRusso bdde29720a
Update synonyms doc with warning about index creation (#103476)
* Update synonyms doc with warning about index creation

* PR feedback

* Moved warning in docs
2023-12-18 13:18:51 -05:00
Jedr Blaszyk 642ddea0e7
[Connector API][Docs] Document update error, last sync, name actions (#103503) 2023-12-18 15:55:47 +01:00
Jedr Blaszyk 5404fbe68d
[Connector API][Docs] Document update pipeline, scheduling and check-in (#103450) 2023-12-18 13:03:35 +01:00
Martijn van Groningen c7021050f1
Slightly simplify setup tsds section (#103475)
* By not encouraging to use index.look_ahead index setting. The default should would well out of the box and changing this setting can cause tsds to not work correctly.
* Not mentioning the index.codec setting. This is a low level setting has no real benefit in case of tsds. And setting it to best compression can hurt performance without any real benefit.
2023-12-18 11:39:10 +01:00
Tim Grein f79d38fff0
[Connectors API] Add docs for set connector sync job stats API endpoint (#103469)
Add docs for set connector sync job stats API endpoint.
2023-12-18 11:32:35 +01:00
Kathleen DeRusso a2dc45bc02
[Synonyms] Mark Synonyms as GA (#103223)
* Remove beta from synonyms docs and json definitions

---------

Co-authored-by: Elastic Machine <elasticmachine@users.noreply.github.com>
2023-12-14 14:53:43 -05:00
Tim Grein 4217a93454
[Connectors API] Add set connector sync job error API docs (#103456)
Add set connector sync job error API endpoint docs.
2023-12-14 18:24:38 +01:00
Mark Vieira a082197612
Add release notes for 8.11.3 release (#103216) 2023-12-14 08:05:55 -08:00
Tim Grein 58a133ed78
[Connectors API] Add check in connector sync job docs (#103426)
Add docs for the check in connector sync job API endpoint.
2023-12-14 16:10:18 +01:00
Tim Grein b53f9d45b2
[Connectors API] Add cancel connector sync job docs (#103446)
Add docs for the cancel connector sync job API endpoint.
2023-12-14 15:28:13 +01:00
Tim Grein 33e60d516e
[Connectors API] Add get connector sync job docs (#103425)
Add docs for the get connector sync job API endpoint.
2023-12-14 14:51:06 +01:00
Tim Grein 0d6d21c813
[Connectors API] Add delete connector sync job docs (#103407)
Add delete connector sync job API endpoint documentation.
2023-12-14 14:14:57 +01:00
Tim Grein 4e447c6eb7
[Connectors API] Add docs for listing sync jobs (#103401)
Add documentation for listing connector sync jobs API endpoint.
2023-12-14 13:47:50 +01:00
Kathleen DeRusso 3520584aac
Add optional pruning config (weighted terms scoring) to text expansion query (#102862)
Co-authored-by: Jim Ferenczi <jim.ferenczi@elastic.co>
Co-authored-by: Elastic Machine <elasticmachine@users.noreply.github.com>
2023-12-13 14:53:13 -05:00
David Turner 92eae448e9
Clarify that we need stack dumps of the main process (#103391)
ES comprises more than one Java process, but it's the main one which
matters when looking at stack dumps.
2023-12-13 08:41:30 -05:00
Tim Grein 16a4d00999
[Connectors API] Add create connector sync job docs (#103275)
Adds documentation for the create connector sync job API endpoint.
2023-12-13 14:32:23 +01:00
Abdon Pijpelink 1612ad1d65
fix typo (#103149) (#103381)
Fixed a typo and a small grammatical error in the explanation of the `null_value` option

(cherry picked from commit fa52f82838)

Co-authored-by: Nimrod Dolev <nimrodavid@gmail.com>
2023-12-13 07:17:00 -05:00
Jedr Blaszyk 36eb1b7c81
[Connector API] Document get, list and delete endpoints (#103306) 2023-12-13 09:27:32 +01:00
Abdon Pijpelink e6aeb07576
[DOCS] Add security update to 8.11.2 RNs (#103324) 2023-12-12 13:26:07 -08:00
Brian Seeders e2f48f0409
Add v8.11.3 release notes 2023-12-12 15:56:33 -05:00
Craig Taverner e1835c97e8
ESQL: Documentation for support for geo_point and point (#103207)
* Start working on geo_point and point docs for ESQL

* Added to_cartesianpoint and includes

* Sub-headings for easier reading

* Improve sub-headings

* Hide to_long and support for longs in to_geopoint and to_cartesianpoint
2023-12-12 12:19:23 +01:00
István Zoltán Szabó c55495d502
[DOCS] Adds inference API end-to-end example (#103042)
Co-authored-by: David Kyle <david.kyle@elastic.co>
2023-12-12 12:02:47 +01:00
Benjamin Trent 7fde357f3a
Improve docs around knn similarity search (#103158)
Adding equations to the docs around how to best calculate similarity & score. The similarity parameter for search was added in 8.8.

The max-inner-product mentions will be removed for all versions before 8.11 when backporting.

closes: https://github.com/elastic/elasticsearch/issues/102924
2023-12-11 14:56:16 -05:00
Nik Everett 3b738905e1
ESQL: Add type tables for operators to docs (#103206)
This adds a tiny blurb for each operator to the docs with a railroad
diagram of the operator's syntax and a table of the input and output
types. This also fixes the tests to correctly generate the tables for
operators.
2023-12-11 10:51:38 -05:00
Mayya Sharipova b014843078
Return matched_queries in Percolator (#103084)
Return matched_queries for named queries in Percolator.

In a response, each hit together with
a `_percolator_document_slot` field will contain
`_percolator_document_slot_<slotNumber>_matched_queries` fields that will show
which sub-queries matched each percolated document.

Closes #10163
2023-12-11 09:07:26 -05:00
Jedr Blaszyk 73644bd650
[Connector API] Add docs for create connector API (#103177) 2023-12-11 13:03:06 +01:00
Abdon Pijpelink 6b60a53732
Update rrf.asciidoc (#103078) (#103109)
typo

(cherry picked from commit 851cab63eb)

Co-authored-by: Ugo Sangiorgi <ugo.sangiorgi@elastic.co>
2023-12-11 13:02:49 +01:00
Abdon Pijpelink 7ddf450d19
[DOCS] Empty keys for ES|QL DISSECT (#102632)
* [DOCS] Empty keys for ES|QL DISSECT

* Update test
2023-12-11 11:23:27 +01:00
Tim Vernum 394444cd27
[Docs] Custom S3 CA must be reinstalled on upgrade (#103168)
This commit updates the docs to call out that custom certificate
authorities for S3 repositories will need to be reinstalled every time
ES is upgraded, is the node is using the bundled JDK
2023-12-11 00:01:29 -05:00
Benjamin Trent 47b57537ae
Add docs for the include_named_queries_score param (#103155)
The only docs for this _search param were mentioned in the bool query docs. While it makes contextual sense to have it there, we should also add it as a _search parameter in the search API docs.

It was introduced in 8.8.
2023-12-08 14:39:18 -05:00
Mark Tozzi 690a8a2ef8
[ES|QL] Trig & hyperbolic function finishing pass (#103205)
Relates to #100558

These functions were mostly done already. I added descriptions and argument descriptions for most of them, otherwise not much work.
2023-12-08 14:27:22 -05:00
Nik Everett 6e0c031342
ESQL: Generate railroad diagrams for operators (#103143)
This enables the generation of railroad diagrams for unary minus and a
bunch of binary operators like `+`, `-`, `%`, and `>=`.

Relates to #100558
2023-12-08 09:24:34 -05:00
Andrei Dan 17811280c2
[DOCS] DSL downsampling docs (#103148) 2023-12-08 06:52:18 -05:00
Johannes Fredén 39d9ce8f89
[DOCS] Update SAML guide to reference attribute_delimiters.group (#103102)
This is a follow up PR from
https://github.com/elastic/elasticsearch/pull/102769. The SAML realm can
now be configured to split the `groups` attribute by delimiter, this
updates the docs to mention that.
2023-12-08 05:11:11 -05:00
Brian Seeders 9a45339935
Update docs for v8.11.2 release (#103088) (#103147) 2023-12-07 13:44:01 -05:00
Johannes Fredén 077b47db37
Add support for splitting saml groups by delimiter (#102769)
* Add support for splitting saml groups by delimiter
2023-12-07 08:55:46 +01:00
Brian Seeders 5856539f4d
Bump to version 8.13.0 2023-12-06 18:30:34 -05:00
Kathleen DeRusso 4dd9e2a772
[Query Rules] Add some usability clarifications to docs (#102990)
* [Query Rules] Add some usability clarifications to docs

* Fix typo
2023-12-06 17:16:56 -05:00
Mary Gouseti 1617a8db36
[ILM] More resilient when a policy is added to searchable snapshot (#102741)
In this PR we enable ILM to handle the following scenarios:
- An ILM policy with the a searchable snapshot action in hot or cold is added on a partially mounted searchable snapshot.
- An ILM policy with the a searchable snapshot action in frozen is added on a fully mounted searchable snapshot.

The searchable snapshot could have had a previous ILM policy that has been removed via POST <index>/_ilm/remove or it might not have been managed at all.
2023-12-06 17:29:39 +02:00
Iraklis Psaroudakis 6e248a868e
Fix Windows tcpretries as well (#103048)
In previous PR #102968 fixed the Linux value but not the Windows one.

Relates #102788
2023-12-06 15:26:36 +02:00
Johannes Fredén 70b15945a9
Add ldap user metadata mappings for full name and email (#102925)
* Add ldap user metadata mappings for full name and email
2023-12-06 13:28:21 +01:00