Commit graph

12153 commits

Author SHA1 Message Date
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
Liam Thompson
8a988445b3
[DOCS] Fix typo in percentile-aggregation.asciidoc (#116268) 2024-11-06 10:21:16 +01:00
Benjamin Trent
d33a03ce6b
Add support for bitwise inner-product in painless (#116082)
This adds bitwise inner product to painless. 

The idea here is:

 - For two bit arrays, which we determine to be a byte array whose dimensions match `dense_vector.dim/8`, we simply return bitwise `&`
 - For a stored bit array (remember, with `dense_vector.dim/8` bytes), sum up the provided byte or float array using the bit array as a mask.

This is effectively supporting asynchronous quantization. A prime
example of how this works is:
https://github.com/cohere-ai/BinaryVectorDB

Basically, you do your initial search against the binary space and then
rerank with a differently quantized vector allowing for more information
without additional storage space. 

closes:  https://github.com/elastic/elasticsearch/issues/111232
2024-11-06 09:22:04 +11:00
Stef Nestor
e2bbee104c
(Doc+) Resolve watermark on Cloud via Autoscaling (#115990) 2024-11-05 21:11:46 +01:00
kosabogi
954ab8ab79
Updates Connectors section page references (#116239) 2024-11-05 14:32:14 +01:00
David Turner
a1daddc9e3
Add note about incompleteness of CBs (#116176)
The docs kinda imply that circuit breakers protect against OOMEs, at
least that's how some customers seem to interpret them. This commit adds
a note spelling out that this isn't the case.
2024-11-04 16:07:54 +00:00
Giorgos Bamparopoulos
9ad09b6ee0
Fix a typo in the example for using pre-existing pipeline definitions (#116084) 2024-11-04 16:06:16 +01:00
Mark Tozzi
744eb507f6
[ESQL] clean up date trunc tests (#116111)
While working on #110008 I discovered that the Date Trunc tests were only running in folding mode, because the interval types are marked as not representable. The correct way to test this is to set the forceLiteral flag for those fields, which will (as the name suggests) force them to be literals even in non-folding tests.

Doing that turned up errors in the evaluatorToString tests, which I fixed. There are two big changes here. First, the second parameter to the evaluator is a Rounding instance, not the actual interval. Since Rounding includes some information about the specific rounding in the toString results, I am just using a starts with matcher to validate the majority of the string, rather than trying to reconstruct the expected rounding string. Second, passing in a literal null for the interval parameter folds the whole expression to null, and thus a completely different toString. I added a clause in AnyNullIsNull to account for this.

While I was in there, I moved some specific test cases to a different file. I know moving code is something we're trying to minimize right now, but this seemed worth it. The tests in question do not depend on the parameters of the test case, but all methods in the class get run for every set of parameters. This was causing these tests to be run many times with the same values, which bloats our test run time and test count. Moving them to a distinct class means they'll only be executed once per test run. I feel like this benefit outweighs the cost of git history complexity.
2024-11-04 15:32:53 +01:00
Craig Taverner
535ad91bdb
Refine ESQL limitations (full-text, TEXT fields, unassigned indexes) (#116098)
* Refine ESQL limitations (full-text, TEXT fields, unassigned indexes)

This PR refactors a section of the ES|QL Limitations page to:
* Refactor both full-text and text-behaves-as-keyword sections to better reflect the new behaviour (the old text implies that no full-text search of any kind exists anywhere, which immediately contradicts the statements directly above it).
* Update text-behaves-as-keyword to include my recent work on making all functions return KEYWORD instead of TEXT or SEMANTIC_TEXT
* Add a section on multi-index querying to cover two limitations (union types and unassigned indexes).

* Fix full-text-search examples
2024-11-01 17:03:49 +01:00
Nhat Nguyen
6d4e11d6bc
Add logsdb telemetry (#115994)
This PR adds telemetry for logsdb. However, this change only tracks the 
count of indices using logsdb and those that use synthetic source. 
Additional stats, such as shard, indexing, and search stats, will be
added in a follow-up, as they require reaching out to data nodes.
2024-11-01 08:25:40 -07:00
Artem Prigoda
d93d333141
Remove checking of sync commit ids (#114246)
A Lucene commit doesn't contain sync ids `SegmentInfos` anymore, so we can't rely on them during recovery. The fields was marked as deprecated in #102343.
2024-11-01 16:18:12 +01:00
Chris Hegarty
2275894ca0
ES|QL Add full-text search to the functions docs page (#116024)
Now that the match and qstr functions are Tech Previewing, we should add them to the top-level functions doc page.

Co-authored-by: Craig Taverner <craig@amanzi.com>
2024-11-01 12:04:55 +00:00
Craig Taverner
c9c1765986
Remove duplicate 'the the' (#116023)
There were many places where `the the` was typed, in comments, docs and messages. All were incorrect and replaces with a single `the`
2024-10-31 19:14:58 +01:00
Jake Landis
aaf7a3ec72
Prep docs for v9 (#115375)
This commit prepares the documentation for version 9. 

Some of the automation generates docs that are not correct for version 9. 
The content has been commented out with a reference to an internal issue 
for us to address before this documentation is used.
2024-10-31 09:46:19 -05:00
Tim Grein
6a3a447f18
Remove double "the" from median absolute deviation description (#115826) 2024-10-31 15:25:20 +01:00
István Zoltán Szabó
c77fb33070
Adds hands-on learning for Search link to the landing page (#116007)
Co-authored-by: Liam Thompson <32779855+leemthompo@users.noreply.github.com>
2024-10-31 14:49:11 +01:00
Aurélien FOUCRET
0416812456
Term Stats documentation (#115933)
* Term Stats documentation

* Update docs/reference/reranking/learning-to-rank-model-training.asciidoc

Co-authored-by: István Zoltán Szabó <istvan.szabo@elastic.co>

* Fix query example.

---------

Co-authored-by: István Zoltán Szabó <istvan.szabo@elastic.co>
2024-10-30 15:31:26 +01:00
Liam Thompson
feea0a09b8
[DOCS] Update connectors link on landing page (#115904) 2024-10-30 10:14:22 +01:00
kosabogi
aa979b6f11
Adds 8.16 version to css matrix (#115788) 2024-10-29 07:37:03 +01:00
Slobodan Adamović
023c856c24
[DOCS] _cat/shards: clarify required permissions for restricted indices (#115650)
Clarify security requirements when requesting detailed shard information
for restricted indices.
2024-10-28 20:19:51 +01:00
Marci W
2b6828ddcd
Document ?_tstart and ?_tend in Kibana (#114965)
* Document ?_tstart and ?_tend in Kibana

* Edits: restructure, be clearer
2024-10-28 10:14:40 -04:00
István Zoltán Szabó
d67d8eacfe
[DOCS] Comments out default inference config docs. (#115742) 2024-10-28 14:32:02 +01:00
István Zoltán Szabó
4058daf8b2
Revert "[DOCS] Documents that ELSER is the default service for `semantic_text…" (#115748)
This reverts commit 541bcf30e5.
2024-10-28 14:31:42 +01:00
Liam Thompson
ab558e663c
Update quickstart overview, add local install instructions (#115746) 2024-10-28 14:13:14 +01:00
Benjamin Trent
ddad15676e
Updating knn tuning guide and size estimates (#115691) 2024-10-28 08:19:29 -04:00
Liam Thompson
0d8d8bd392
[DOCS] Add search and filtering tutorial/quickstart, edit filtering page (#114353) 2024-10-28 11:05:44 +01:00
David Turner
5fb1e23f45
Clarify status of response to voting config API (#115714)
These APIs return no body, just a status code. This commit clarifies
that in the docs.

Closes #115462
2024-10-28 06:07:27 +00:00
István Zoltán Szabó
e82e6af505
[DOCS] Documents configurable chunking (#115300)
Co-authored-by: David Kyle <david.kyle@elastic.co>
2024-10-25 17:35:48 +02:00
Liam Thompson
e3523c1591
[DOCS] Fix link syntax in connectors-API-tutorial.asciidoc (#115635) 2024-10-25 13:01:41 +02:00
Liam Thompson
f1de84b51c
[DOCS] Fix casing in servicenow docs config (#115634) 2024-10-25 11:39:52 +02:00
Liam Thompson
452ca351d3
[DOCS] Test trivial commit (#115579) (#115628)
(cherry picked from commit e642dd8481)
2024-10-25 20:19:31 +11:00