Commit graph

12183 commits

Author SHA1 Message Date
elasticsearchmachine
b378a1bb54 Bump 8.x to 8.18.0 2024-11-21 14:37:05 -05:00
Carlos Delgado
ea4b41fca8
ESQL - match operator included in non-snapshot builds (#116819) 2024-11-21 07:45:22 +01:00
Mark Tozzi
c3f73d0319
Esql Enable Date Nanos (#117080)
This enables date nanos support as tech preview. Basic operations, like reading values, binary comparisons, and functions that don't care about type should work, but some functions are not yet supported. Most notably, Bucket is not yet supported, although Date_Trunc is and can be used for grouping. See the docs for the full list of limitations.

relates to #109352
2024-11-20 09:31:01 -05:00
Costin Leau
bc785f5ca1
Esql/lookup join grammar (#116515)
First PR for adding LOOKUP JOIN in ESQL.
Introduces grammar and wires the main building blocks to execute a query; follow-ups are required (see #116208 for more details).

Co-authored-by: Nik Everett <nik9000@users.noreply.github.com>
2024-11-19 17:52:24 -08:00
Stef Nestor
72c44595f4
(Doc+) link videos for allocation and ilm (#116880)
* (Doc+) link videos for allocation and ilm

---------

Co-authored-by: shainaraskas <58563081+shainaraskas@users.noreply.github.com>
2024-11-19 14:43:50 -07:00
Liam Thompson
c699af2c67
[DOCS] Rename how-to subsection, move recipes to search relevance (#117044) 2024-11-19 18:27:05 +01:00
Craig Taverner
f3cd48209e
Added stricter range type checks and runtime warnings for ENRICH (#115091)
It has been noted that strange or incorrect error messages are returned if the ENRICH command uses incompatible data types, for example a KEYWORD with value 'foo' using in an int_range match: https://github.com/elastic/elasticsearch/issues/107357

This error is thrown at runtime and contradicts the ES|QL policy of only throwing errors at planning time, while at runtime we should instead set results to null and add a warning. However, we could make the planner stricter and block potentially mismatching types earlier.

However runtime parsing of KEYWORD fields has been a feature of ES|QL ENRICH since it's inception, in particular we even have tests asserting that KEYWORD fields containing parsable IP data can be joined to an ip_range ENRICH index.

In order to not create a backwards compatibility problem, we have compromised with the following:

* Strict range type checking at the planner time for incompatible range types, unless the incoming index field is KEYWORD
* For KEYWORD fields, allow runtime parsing of the fields, but when parsing fails, set the result to null and add a warning

Added extra tests to verify behaviour of match policies on non-keyword fields. They all behave as keywords (the enrich field is converted to keyword at policy execution time, and the input data is converted to keyword at lookup time).
2024-11-19 16:34:21 +01:00
Simon Cooper
b30a4b23f2
Output a consistent format when generating error json (#90529)
Now, error fields will always have 'type' and 'reason' fields, and the information in those fields is the same regardless of whether the output is detailed or not
2024-11-19 13:35:04 +00:00
Fang Xing
d33bff6468
[ES|QL][DOCS] Add docs for date_period and time_duration (#116368)
* add docs for date_period and time_duration
2024-11-19 07:48:35 -05:00
Bogdan Pintea
b5addca40a
ESQL: Docs: COUNT: add an explanation to the use of the 3VL (#116684)
Add an explanation of why `... OR NULL` is needed with `COUNT(...)`.

Fixes: #99954
2024-11-19 10:37:47 +01:00
Jason Tu
efc3ba9958
Update indexing-speed.asciidoc (#116559) 2024-11-18 13:17:17 -05:00
Peter Straßer
c804953105
Provide access to new settings for HyphenationCompoundWordTokenFilter (#115585)
Allow the new flags added in Lucene in the HyphenationCompoundWordTokenFilter

Adds access to the two new flags no_sub_matches and no_overlapping_matches.

Lucene issue: https://github.com/apache/lucene/issues/9231
2024-11-18 17:38:49 +01:00
Luca Cavanna
99689281e0
Remove support for deprecated force_source highlighting parameter (#116943)
force_source is being parsed as a no-op since 8.8. This commit removes support
for it at REST, meaning a search request that provides it gets now an error back.
2024-11-18 17:36:39 +01:00
Cauê Marcondes
e019fc03e0
Remove apm_user role (#116712)
Co-authored-by: Elastic Machine <elasticmachine@users.noreply.github.com>
2024-11-18 15:28:30 +00:00
Liam Thompson
4e17c61d39
[DOCS] Remove 'rescore' from retriever.asciidoc (#116921) 2024-11-18 11:34:28 +01:00
Sean Story
f55e5d020b
Note a limitation in Basic Sync Rules (#116859) 2024-11-18 09:33:03 +01:00
shainaraskas
2d2ad00872
fix formatting errors (#116843) 2024-11-14 15:45:16 -05:00
Liam Thompson
a193fc34a3
[Docs] Link to ECK Azure snapshot docs (#111586) 2024-11-14 18:39:38 +01:00
Brendan Cully
b77df851b1
Add warning about restart migration (#116769)
We have gotten more than one SDH due to customers not understanding
why restarts involving fully-mounted indices can pull a lot of data
from the snapshot tier, so it may help to be more explicit about
why this happens and how it can be avoided.
2024-11-14 18:07:09 +01:00
Gal Lalouche
c45977a5fd
[ESQL] Update docs format (missing space before '=') (#116808) 2024-11-14 16:05:28 +02:00
Luke Whiting
2f26ec2351
Introduce Email Address Allow Lists For Watcher (#116672)
* New setting plus mutual exclusiveness validation

* New domain list checking

* Email service tests

* Documentation updates

* PR Changes

Fix comment
2024-11-14 12:38:14 +01:00
Gal Lalouche
591cd591ad
[ES|QL] Update length docs (#116734)
ESQL Update length docs (#116734)
2024-11-14 13:14:43 +02:00
Fang Xing
b37a829efa
[ES|QL] Implicit casting string literal to intervals in EsqlScalarFunction and GroupingFunction (#115814)
* implicit casting from string literals to datetime intervals
2024-11-13 18:25:06 -05:00
Kathleen DeRusso
1b03a96e52
Add tracking for query rule types (#116357)
* Add total rule type counts to list calls and xpack usage

* Add feature

* Update docs/changelog/116357.yaml

* Fix docs test failure & update yaml tests

* remove additional spaces

---------

Co-authored-by: Mark J. Hoy <mark.hoy@elastic.co>
2024-11-13 17:05:05 +01:00
Max Hniebergall
d1788af03f
Update service-elser.asciidoc (#116272) 2024-11-13 08:42:07 -05:00
kosabogi
bada2a60ed
Updates chunk settings documentation (#116719) 2024-11-13 14:14:56 +01:00
Gal Lalouche
b4898c959f
[ES|QL] Add support BYTE_LENGTH scalar function (#116591)
Also added documentation and examples for BIT_LENGTH and LENGTH regarding unicode.
2024-11-13 00:42:19 +02:00
Liam Thompson
a71c132481
[DOCS] Update sharepoint-online connector perms (#116641) 2024-11-12 16:14:02 +01:00
Jake Landis
b7167b73e3
Docs for monitor_stats privilege (#116533)
This commit adds docs for monitor_stats and updates an example snippet to include both remote_indices and remote_cluster.
2024-11-12 09:13:37 -06:00
Jedr Blaszyk
098c8dad90
[Docs] Fix sharepoint docs for 8.16 release (#116661) 2024-11-12 15:27:58 +01:00
Liam Thompson
f121e09fbb
[DOCS] Connectors 8.16.0 release notes (#115856) 2024-11-12 10:59:20 +01:00
Johannes Fredén
bfb30d2e72
[DOCS] Remove tech preview from bulk create/update/delete roles (#116601)
Mark bulk create/update/delete roles GA in 9.0 and 8.17
2024-11-12 18:42:34 +11:00
Joe Gallo
dd32cb6439
Document new ip_location processor (#116623) 2024-11-11 19:55:57 -05:00
Benjamin Trent
89467b212e
Clarify the vector files utilized for preloading (#116488)
Adds clarification for vector preloading, what extension is to what
storage kind, and that quantized vectors are stored in separate files
allowing for individual preload. 

closes: https://github.com/elastic/elasticsearch/issues/116273
2024-11-12 08:30:48 +11:00
Joe Gallo
2302cdbe45
Document new ip_location APIs (#116611) 2024-11-11 13:52:47 -05:00
Joe Gallo
b517abcb07
Document new ip geolocation fields (#116603) 2024-11-11 11:13:56 -05:00
Ievgen Degtiarenko
3ebc1f48aa
Clarify docs around disk capacity expectation. (#115745)
Make it explicit that es expects disks to have the same capacity across all the nodes in the same data tier.
2024-11-11 15:59:11 +01:00
Panagiotis Bailis
64c362b154
Adding more retriever examples to documentation (#116196) 2024-11-11 13:19:20 +02:00
Jack Pan
0914679225
Remove trailing semicolon in REPEAT function example (#116218)
Remove trailing semicolon in REPEAT function example (Closes #116156 )
2024-11-11 11:10:05 +01:00
Jake Landis
af99654dac
Add a monitor_stats privilege and allow that privilege for remote cluster privileges (#114964)
This commit does the following:
   * Add a new monitor_stats privilege
   * Ensure that monitor_stats can be set in the remote_cluster privileges
   * Give's Kibana the ability to remotely call monitor_stats via RCS 2.0

Since this is the first case where there is more than 1 remote_cluster privilege,
the following framework concern has been added:
    * Ensure that when sending to elder RCS 2.0 clusters that we don't send the new privilege
        previous only supported all or nothing remote_cluster blocks
    * Ensure that we when sending API key role descriptors that contains remote_cluster,
       we don't send the new privileges for RCS 1.0/2.0 if it not new enough
    * Fix and extend the BWC tests for RCS 1.0 and RCS 2.0
2024-11-08 11:59:32 -06:00
Nik Everett
b285204fde
DOCS: Correct explanation of percentiles_bucket (#116499)
Corrects the explanation of `percentiles_bucket` so it's clear that it
returns the `nth` largest item always, and it rounds `n` towards
infinity. That's how it's worked since 2016 but the docs talked about
"not greater than" which I don't think is particularly clear.
2024-11-08 12:40:53 -05:00
Benjamin Trent
c48e5e5980
Fixing list for size estimates (#116486) 2024-11-08 15:59:34 +01:00
David Kyle
b161f2c22a
Document using xpack.ml.use_auto_machine_memory_percent setting in docker getting started (#114009)
If xpack.ml.use_auto_machine_memory_percent is not explicitly set to true then
the default value (false) means ML will only use 30% of the available memory making
it impractical to run the ELSER model. This is useful for users wanting to get started 
with semantic search.The single node docker instructions have been updated with a 
command that gives the container enough memory to run the ELSER model and enables xpack.ml.use_auto_machine_memory_percent. For the multi-node guide the docker 
compose file is updated to enable the ml setting for every node in the cluster.
2024-11-08 13:46:13 +01:00
florent-leborgne
ba65914285
refresh ESQL kibana docs (#116441) 2024-11-08 10:39:18 +01:00
Jake Landis
e27c90969c
Fix missing remote_cluster docs (#116366)
Documentation for the remote_cluster in the role was added
in #111682 and #108840, but a few places were missed.
This commit fill the gaps in the documentation.
2024-11-07 13:43:50 -06:00
Liam Thompson
c42b1ef95a
[DOCS] Use explicit link text in query rules retriever (#116389) 2024-11-07 14:22:53 +01:00
Liam Thompson
22c55fa1ca
[DOCS] Fix boolean for native connectors (#116394) 2024-11-07 12:18:51 +01:00
Tim Grein
81fd1de76b
Add ES|QL bit_length function (#115792) 2024-11-07 08:51:26 +01:00
Kathleen DeRusso
14a7b8fe67
Add documentation for query rules retriever (#115696)
* Add initial query rules retriever docs

* Add docs tests

* Apply suggestions from code review

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

* PR feedback

* Make query rules guide retriever-first

* Add warning to DSL doc

* Update docs/reference/search/retriever.asciidoc

Co-authored-by: Mike Pellegrini <mike.pellegrini@elastic.co>

* Update docs/reference/search/retriever.asciidoc

Co-authored-by: Mike Pellegrini <mike.pellegrini@elastic.co>

* Apply suggestions from code review

Co-authored-by: Mike Pellegrini <mike.pellegrini@elastic.co>

* Give parameters subheading an explicit id

* Fix formatting

---------

Co-authored-by: Elastic Machine <elasticmachine@users.noreply.github.com>
Co-authored-by: Liam Thompson <32779855+leemthompo@users.noreply.github.com>
Co-authored-by: Mike Pellegrini <mike.pellegrini@elastic.co>
2024-11-06 14:42:06 -05:00
Sean Story
337188244f
Clarify that MSSQL supports only SQL Server auth (#116340)
* Clarify that MSSQL supports only SQL Server auth

* typo
2024-11-06 17:52:06 +01:00