Commit graph

11048 commits

Author SHA1 Message Date
Liam Thompson
d44e05d2c2
[DOCS] Add ES quickstart (#102226)
* [DOCS] TEST restore quickstart

* Use up to date Docker instructions, minor user-friendly modifications

* Use books dataset, update verbiage, add examples

* Update verbiage

* Updated Elasticsearch 'Getting Started' docs: added SSL, Docker setup, Python resources, and expanded next steps

* minor formatting

* Collapse responses, TODO comment tests

* Add request tests

* Edit superfluities

* Apply suggestions

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

* Update docs/reference/tab-widgets/quick-start-install.asciidoc

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

---------

Co-authored-by: István Zoltán Szabó <istvan.szabo@elastic.co>
2023-11-24 15:27:41 +01:00
Sanjay J
51eef046a0
Add support for configuring proxy scheme in S3 client settings and EC2 discovery plugin (#102495)
Closes #101873
2023-11-24 10:33:21 +02:00
Nhat Nguyen
774a05cc0a
Update doc fields for pow and date_extract function (#102554)
These two generated files have not been updated and committed.
2023-11-23 17:33:38 -08:00
István Zoltán Szabó
cb5a702174
[DOCS] Expands anomaly alerts docs with info on Anomaly Explorer integration. (#102477) 2023-11-23 14:33:06 +01:00
Andrei Dan
2212df73e8
[DOCS] migrate ILM to DSL headings and TLDR (#102068)
This adds some headings and a TL;DR section to the migration to DSL
tutorial.
2023-11-23 06:37:16 -05:00
David Turner
61191b880c
Link to troubleshooting docs from other disco pages (#102509)
I have several times struggled to find the docs about restoring from a
snapshot if a quorum cannot be found. That info is on the discovery
troubleshooting page, but it seems I expect it to be on somewhere like
the quorums or voting docs pages instead. This commit adds links from
those pages to the troubleshooting page.
2023-11-23 09:45:21 +00:00
Fabio Busatto
9f1875ee2c
[DOCS] Fix docs for user profiles (#102452)
* [DOCS] Fix docs for user profiles
2023-11-23 10:38:17 +01:00
Mark Tozzi
7345e643ba
[ES|QL] pow function always returns double (#102183)
This corrects an earlier mistake in the ES|QL language design. Initially we had thought to have pow return the same type as its inputs, but in practice even for integer inputs this quickly grows out of the representable range, and we returned null much of the time. This also created a lot of edge cases around casting to/from doubles (which the underlying java function uses). The version in this PR follows the java spec, by always casting its inputs to doubles, and returning a double. Doing it this way also allows for a rather significant reduction in lines of code.

I removed many of the tests covering pow specific edge cases. This seems reasonable to me as I expect java.lang.math.pow to be well behaved and most of those edge cases were around type testing which no longer applies. At the same time, this simplification allows us to leverage the new scalar function testing framework, which means better null coverage, better type coverage, and much easier extensibility.

We do consider this a breaking change, but as the feature is still in tech preview and this is a relatively small surface area, we are not too concerned with disruptions.

Resolves #99055
Relates to #100558
---------

Co-authored-by: Elastic Machine <elasticmachine@users.noreply.github.com>
2023-11-21 09:58:07 -05:00
Luca Cavanna
9cd96df179
Add support for index_filter to open pit (#102388)
The open point in time API accepts a list of indices and opens a point in time view against those indices.
Like we do already for field caps, this commit allows users to provide an index_filter parameter as part of
the request body, that will be used to execute the can match phase and exclude the indices that can't possibly
match such filter.

Closes #99740
2023-11-21 15:35:49 +01:00
Albert Zaharovits
bd10775b02
Grant API Key API with JWTs (#101904)
Introduces support for JWTs to the grant API Key API.
Callers can now pass-in a JWT in the request, like:
POST /_security/api_key/grant
{
  "grant_type": "access_token",
  "access_token" : "some.signed.JWT",
  "client_authentication": { // optional
    "scheme": "SharedSecret",
    "value": "ES-Client-Authentication header value after scheme"
  }
}
The JWT will be authenticated by a backing JWT realm and
a new API Key will be returned for the authenticated user.
2023-11-21 14:11:08 +02:00
Venkata Krishnan
eb443417ea
Update scripted-metric-aggregation.asciidoc (#101899) 2023-11-21 12:35:19 +01:00
István Zoltán Szabó
6af01d0567
[DOCS] Adds Search Labs links to the ES landing page (#102401)
* [DOCS] Adds Search Labs links to the ES landing page.

* [DOCS] Addresses feedback.
2023-11-21 12:21:34 +01:00
Kathleen DeRusso
4567d397fa
Clarify text expansion query docs to not suggest enabling track_total_hits for performance (#102102) 2023-11-20 08:56:26 -05:00
Mary Gouseti
5a3409b7c5
ES-6566: [DSL] Introduce new endpoint to expose data stream lifecycle stats (#101845) 2023-11-20 10:38:41 +02:00
Bogdan Pintea
5a2cb35023
Docs: add v8.11.1 release notes (#102097) (#102197)
Add v8.11.1 release notes.

(cherry picked from commit 35629234f5)
2023-11-17 22:19:29 +01:00
Nik Everett
d46c386c86
ESQL: Extra tests for trim/ltrim/rtrim (#102308)
This adds some extra tests, docs, and descriptions for the `trim`,
`ltrim`, and `rtrim` functions.
2023-11-16 14:44:56 -05:00
Keith Massey
643d825c45
Adding a simulate ingest api (#101409)
This commit introduces a new _ingest/simulate API that runs any pipelines
on the given data that would be executed for a given index, but instead of
indexing the data into the index, returns the transformed documents and
the list of pipelines that were executed.
2023-11-15 17:25:09 -06:00
Veljko Potparic
5f30563d6c
Add support for Serbian Language Analyzer (#100921)
Starting with Lucene Version 8.6, an Analyzer for the Serbian language is available. 
This change adds support for this to the analysis-common module.
2023-11-15 23:46:55 +01:00
James Baiera
6fa7f60073
Add ability to create a data stream failure store (#99134)
Adds the ability to configure a data stream to create a new kind of backing index called a failure store which will eventually be used to store error information when ingest pipelines fail to ingest a document or when a document fails to be parsed correctly by the configured mapping on the data stream.
2023-11-15 15:32:51 -05:00
David Kyle
6298b36562
Accept a single or multiple inputs to _inference (#102075)
Enhances the _inference API to take either a single input 
or multiple inputs.
2023-11-15 14:43:57 +00:00
David Turner
e063d1ddc8
Fix nesting of linearizable register docs (#102218)
Removes the `[discrete]` line from the docs introduced in #102050 so
that these subsections are nested at the right level.
2023-11-15 09:07:20 -05:00
David Turner
053c6638cb
Reorganise repository-s3 docs page (#102058)
These docs have various subsections under the _Client settings_ and
_Repository settings_ sections which are nothing to do with those
settings. The reasons for this are historical and no longer relevant.
This commit moves these subsections together and up a level so that they
better reflect the structure of the information.
2023-11-15 05:02:15 -05:00
Abdon Pijpelink
158ca9674f
[DOCS] More ES|QL limitations (#101972) 2023-11-14 17:49:40 +01:00
David Turner
20a1503001
Add docs about linearizable registers in repositories (#102050)
We don't mention linearizable registers in the snapshot/restore docs
today, but these things are verified for correctness by the repository
analysis API and some users with incorrect repository implementations
struggle to understand the verification errors. This commit adds some
docs to describe them and their various implementations.
2023-11-14 11:23:55 -05:00
David Kyle
330e8b99bf
[ML] Add prefix strings option to trained models (#102089)
Certain NLP models such as multilingual-e5-large require a prefix 
string to be applied to the input text. For asymmetric tasks such as 
information retrieval the prefix can be different when ingesting the
data and when searching it. For example text embedding model can
have a one prefix applied when the model is evaluated as part of an
knn search and a different prefix when ingesting documents.
2023-11-14 13:02:02 +00:00
Abdon Pijpelink
b03939ec9d
[DOCS] Update ES|QL getting started for demo environment (#102134) 2023-11-14 13:17:48 +01:00
István Zoltán Szabó
c303ab885a
[DOCS] Simplifies dense vector mapping in semantic search example (#102080) 2023-11-14 10:52:56 +01:00
Lorenzo Dematté
8bfa33ddd9
[doc] Add known issue to all versions affected by GC behaviour change (#102025) 2023-11-14 09:55:14 +01:00
Bogdan Pintea
6bb63f5861
ESQL: Add syntax clarifications on identifiers and literals (#101790)
Document the syntax for identifiers and literals.
2023-11-13 12:38:58 -05:00
Liam Thompson
ddd94446f8
[DOCS] Fix incorrect image paths (#102082) 2023-11-13 16:00:00 +01:00
Andrei Dan
6054a5eb18
[DOCS] Fix typo (#101791) 2023-11-13 06:07:03 -05:00
Abdon Pijpelink
75db2edb45
[DOCS] Clarify ES|QL grok escaping (#102059) 2023-11-13 11:31:51 +01:00
Jan Kuipers
2e95b992b2
Add stats by model to the machine learning usage stats. (#101915)
* Add inference counts by NLP model to the machine learning usage stats.

* Update docs/changelog/101915.yaml

* Add inference_counts_by_model to yamlRestTest.

* Strip leading dot from internal model IDs.

* Add last access and task type to the stats by model.

* Change stats_by_model for map to list

* Simplify code.

* Fix style
2023-11-13 08:50:15 +01:00
David Turner
8572d6e618
Repo analysis: allow configuration of register ops (#102051)
Adds the `?register_operation_count` parameter that allows to control
the number of register operations separately from the number of regular
blob operations.
2023-11-13 02:20:23 -05:00
Keith Massey
65d26b2d49
Allowing non-dynamic index settings to be updated by automatically unassigning shards (#101723) 2023-11-10 08:21:51 -06:00
Abdon Pijpelink
ae2626f07a
[DOCS] DISSECT does not support reference keys (#102002) 2023-11-10 12:40:23 +01:00
Zing Zai
9fdc67c845
Update movfn-aggregation.asciidoc (#101959)
Updated one-day to one-month interval to match the code
2023-11-09 22:44:55 +08:00
Abdon Pijpelink
2a4414ddd2
[DOCS] Add multivalue limitations to 'Limitations' page (#101952) 2023-11-09 13:19:13 +01:00
Benjamin Trent
379e53190a
Update 8.11.0.asciidoc
forward port of: https://github.com/elastic/elasticsearch/pull/101908/files
2023-11-08 14:24:16 -05:00
István Zoltán Szabó
481ebd2e21
[DOCS] Improves readability of PUT trained models API docs page (#101880)
* [DOCS] Improves readability of PUT trained models API docs page.

* [DOCS] Fixes URLs.
2023-11-08 17:57:57 +01:00
Nastasha Solomon
94287eee19
[DOCS] Adds AI assistant functionality to Using ES|QL page (#101918)
Co-authored-by: Abdon Pijpelink <abdon.pijpelink@elastic.co>
2023-11-08 11:04:55 -05:00
Fabio Busatto
11cb81a09a
Update SVG reference for starts_with ESQL docs (#101909) 2023-11-08 13:39:49 +01:00
Matt Culbreth
5a2b618145
Forward port 8.11.0 docs (#101885) 2023-11-07 17:16:41 -05:00
David Turner
4b1909a47b
Expose roles by default in cat allocation API (#101753)
In #96994 we added a column for node roles to the `GET _cat/allocation`
API but left it hidden by default to avoid changing behaviour. In fact
it's ok to change the behaviour of the CAT APIs since they're only
intended for human consumption, and it's awfully useful to see the node
roles in this API response, so this commit makes this column display by
default.
2023-11-07 16:35:34 -05:00
David Kilfoyle
e3b8611005
Remove Functionbeat from 'How monitoring works' page (#101889) 2023-11-07 15:06:05 -05:00
Abdon Pijpelink
4a2ed90f92
[DOCS] Explain ES|QL CASE behavior with even no. arguments (#101829) 2023-11-07 18:08:54 +01:00
Abdon Pijpelink
34d03912bd
[DOCS] Add CCS to ES|QL limitations (#101867) 2023-11-07 18:08:34 +01:00
Abdon Pijpelink
2b4ba7a744
[DOCS] Small ES|QL improvements (#101877)
* [DOCS] Small ES|QL improvements

* Fix test failure
2023-11-07 17:24:59 +01:00
amyjtechwriter
d25435e185
disabling source (#101839) 2023-11-07 13:43:28 +00:00
Abdon Pijpelink
70128f5b74
[DOCS] Mark 'ignore_throttled' deprecated in all docs (#101838) 2023-11-07 13:03:49 +01:00