Commit graph

12605 commits

Author SHA1 Message Date
Liam Thompson
d3fdb36852
[DOCS] Fix response value in esql-query-api.asciidoc (#111882) 2024-08-14 16:26:54 +02:00
Nik Everett
2e22e73cdf
ESQL: Remove date_nanos from generated docs (#111884)
This removes date_nanos from the docs generated for all of our functions
because it's still under construction. I've done so as a sort of one-off
hack. My plan is to replace this in a follow up change with a
centralized registry of "under construction" data types. So we can make
new data types under a feature flag more easilly in the future. We're
going to be doing that a fair bit.
2024-08-15 00:22:25 +10:00
István Zoltán Szabó
7f67ba9958
[DOCS] Expands inference API main page info (#111830) 2024-08-14 16:04:11 +02:00
David Turner
e5fd63bbb8
More detail around packet captures (#111835)
Clarify that it's best to analyse the captures alongside the node logs,
and spell out in a bit more detail how to use packet captures and logs
to pin down the cause of a `disconnected` node.
2024-08-13 21:55:38 +01:00
kosabogi
a03affe40c
[DOCS] Fixes the description of 'affected_resources' in health API documentation (#111833)
* Fixed the description of 'affected_resources' in health API documentation

* Update docs/reference/health/health.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>
2024-08-13 18:51:49 +02:00
Larisa Motova
9ac0718d90
Add docs for shard level stats in node stats (#111082)
Fixes #111081
2024-08-13 14:59:03 +03:00
David Turner
664573ca38
Document manual steps in ILM delete phase (#111734)
Spells out some cases in which ILM doesn't delete the underlying
searchable snapshot and instructs users to delete them manually instead.

Co-authored-by: shainaraskas <58563081+shainaraskas@users.noreply.github.com>
2024-08-13 08:43:04 +01:00
Jim Ferenczi
6ee9801a99
Update the intervals query docs (#111808)
Since https://github.com/apache/lucene-solr/pull/620, intervals disjunctions are automatically rewritten to handle cases where minimizations can miss valid matches.
This change updates the documentation to take this behaviour into account (users don't need to manually pull intervals disjunctions to the top anymore).
2024-08-13 13:39:55 +09:00
Aurélien FOUCRET
2d7724b3f8
LTR documentation - Remove tech preview note. (#111803) 2024-08-12 17:57:07 +02:00
Liam Thompson
06e24a19b7
[DOCS] Add retriever examples, semantic reranking step-by-step guide (#111793) 2024-08-12 17:45:25 +02:00
Quentin Pradet
7b7c310ea5
[DOCS] Fix elasticsearch-py helpers page link (#111789) 2024-08-12 09:38:02 +02:00
Nik Everett
e6cb43b39b
Add known issue for #111679 (#111760)
and restore the pytorch known issue
2024-08-10 03:09:05 +10:00
Valeriy Khakhutskyy
5a7a032cea
[ML] Force time shift documentation (#111668)
Co-authored-by: István Zoltán Szabó <istvan.szabo@elastic.co>
2024-08-09 11:12:46 +02:00
Alexander Spies
585480fe44
ESQL: Fix for overzealous validation in case of invalid mapped fields (#111475)
Fix validation of fields mapped to different types in different indices and align with validation of fields of unsupported type.

* Allow using multi-typed fields in KEEP and DROP, just like unsupported fields.
* Explicitly invalidate using both these field kinds in RENAME.
* Map both kinds of fields to UnsupportedAttribute to enforce consistency.
* Consider convert functions containing valid multi-typed fields as resolved to avoid weird workarounds when resolving STATS.
* Add a bunch of tests.
2024-08-09 09:38:14 +02:00
elasticsearchmachine
aaf65b744b
Forward port release notes for v8.15.0 (#111714) 2024-08-08 18:10:39 +01:00
Keith Massey
c6a7537df7
Ingest download databases docs (#111688)
Co-authored-by: Joe Gallo <joegallo@gmail.com>
2024-08-08 09:23:56 -05:00
Mary Gouseti
9185056efe
Clean up global retention from the cluster state and obsolete transport actions (#111636)
In this PR we remove unused code including relating to the global data retention with APIs implementation:

- The transport action for updating, deleting and retrieving the global retention.
- The `DataStreamGlobalRetention` from the cluster state (this should be bwc safe because we never exposed the APIs to add a data stream lifecycle to the cluster state).
- Make unused privileges monitor and managing global retention a noop.
- Remove cluster state update tasks.

The kept `DataStreamGlobalRetentionResolver` considering it could hold and provide the global retention from the settings when we implement it. We just renamed it to DataStreamGlobalRetentionProvider for now to better match what it does.

The factory retention settings should still work after this change.
2024-08-08 09:52:35 +03:00
Liam Thompson
d3ec3a86ed
[DOCS] Document CCS enrich with api-key based auth (#111682) 2024-08-07 19:37:16 +02:00
Mark Tozzi
67c69bb224
[ESQL] Date nanos type (#110205)
Resolves #109987

Add initial support for the date nanos data type. At this point, almost no functions are supported, including casting. This just covers loading and returning the values. Like millisecond dates, nanosecond dates are internally modeled as long values, so we don't need a new block type to support them.

This has very patchwork function support. Ideally, I don't think I would have added any function support yet, but the five MV functions you see here declare that they accept any non-spatial type, and will error tests if not wired up for new types. There are other functions, like Values, which also claim to support all non-spatial types, but don't currently enforce that in testing, so I didn't add them yet. Finally, there are functions like == which should work for all types, but are implemented as a specific list. I've left those for a follow up ticket as well.
2024-08-07 13:17:26 -04:00
István Zoltán Szabó
0b064c7539
[DOCS] Publishes Anthropic inference service docs. (#111619) 2024-08-07 11:18:43 +02:00
Stef Nestor
0a850548f5
Add link to flood-stage watermark exception message (#111315)
Links the exception when hitting the flood-stage watermark to docs about this
watermark and how to troubleshoot and resolve the problem.
2024-08-06 17:15:42 +01:00
Mike Pellegrini
e11fa74333
Gracefully handle invalid synonym rules in updateable synonyms (#110901)
Gracefully handle invalid synonym rules by setting lenient to true by default when synonyms are updateable

---------

Co-authored-by: carlosdelest <carlos.delgado@elastic.co>
2024-08-06 10:44:23 -04:00
David Turner
6cf61a0355
Weaken docs around Azure Identity mechanisms (#111622)
Let's not mention `DefaultAzureCredentialProvider` so that we can
consider it an implementation detail and avoid committing to any
unwanted BwC guarantees.

Relates #111577
Relates #111344
2024-08-06 11:28:02 +01:00
Nik Everett
cc294a1a0f
ESQL: Finish migration of null testing (#111563)
This finishes the migration of `null` testing from a test method, namely
`testSimpleWithNulls`. It migrates it to `anyNullIsNull` and hand rolled
null cases.
2024-08-05 12:28:15 -04:00
Liam Thompson
4173feefc2
[DOCS] Update CCS matrix for 8.15 (#111587) 2024-08-05 15:31:23 +02:00
Woody Walton
715449ec00
Update paginate-search-results.asciidoc (#111565)
Modified broken link to the Python docs page
2024-08-05 09:15:21 -04:00
David Turner
4e77288abe
Rework Azure repo docs for new auth mechanisms (#111577)
Adds information about using Azure Managed Identity and Azure Workload
Identity to the relevant docs, and also reworks the docs a bit for
easier reading.

Relates #111344
2024-08-05 20:09:03 +10:00
Stef Nestor
11bea77d3e
(Doc+) cluster.routing.allocation.enable effects going forward (#111557)
* (Doc+) cluster.routing.allocation.enable effects going forward

Noting setting e.g.  `cluster.routing.allocation.enable: primaries` ([doc](https://www.elastic.co/guide/en/elasticsearch/reference/master/modules-cluster.html#cluster-shard-allocation-settings)) does not de-allocate existing replicas. Instead this setting affects allocations going forward.

---------

Co-authored-by: shainaraskas <58563081+shainaraskas@users.noreply.github.com>
2024-08-02 14:43:22 -06:00
Kathleen DeRusso
02c494963a
[Query rules] Add exclude query rule type (#111420)
* Cleanup: Remove pinned IDs from applied rules in favor of single applied docs

* Add support for query rules of type exclude, to exclude specified documents from result sets

* Support exluded documents that specify the _index as well as the _id

* Cleanup

* Update docs/changelog/111420.yaml

* Update docs

* Spotless

* PR feedback - docs updates

* Apply PR feedback

* PR feedback

---------

Co-authored-by: Elastic Machine <elasticmachine@users.noreply.github.com>
2024-08-02 08:03:54 -04:00
Keith Massey
9df3a3d186
Truncating watcher history if it is too large (#111245) 2024-08-01 15:57:54 -05:00
Liam Thompson
4034615e29
[DOCS] Clarify copy_to behavior with strict dynamic mappings (#111408)
* [DOCS] Clarify copy_to behavior with strict dynamic mappings

* Add id

* De-verbosify

* Delete pesky comma

* More info about root and nest

* Fixes per review, clarify non-recursive explanation

* Skip tests for illustrative example

* Fix example syntax

* Fix typo
2024-08-01 14:37:17 +02:00
István Zoltán Szabó
d6c532135e
[DOCS] Adds adaptive_allocations to inference and trained model API docs (#111476) 2024-08-01 12:37:07 +02:00
Fang Xing
d87254369a
type = operator in kibana operator definition (#111436) 2024-07-31 11:07:18 -04:00
Felix Barnsteiner
3090438037
Add support for boolean dimensions (#111457)
Closes #111338
2024-07-31 23:00:32 +10:00
Pablo Machado
f79c62157d
ESQL: Add MV_PSERIES_WEIGHTED_SUM for score calculations used by security solution (#109017)
* Create MV_RIEMANN_ZETA scalar multivalue function



---------

Co-authored-by: Nik Everett <nik9000@gmail.com>
2024-07-31 12:08:28 +02:00
David Turner
586405d11f
Remove trappy timeout from ClusterSearchShardsRequest (#111442)
Exposes the `?master_timeout` parameter to the REST API and sets it
appropriately on internal/test requests.

Relates #107984
2024-07-31 08:53:24 +01:00
István Zoltán Szabó
845dc6f252
[DOCS] Expands top_n parameter description in the PUT inference API docs (#111446)
Co-authored-by: Adam Demjen <demjened@gmail.com>
2024-07-30 17:32:14 +02:00
Iván Cea Fontenla
bc69827e1e
ESQL: WEIGHTED_AVG aggregation tests and docs (#111449) 2024-07-31 00:42:23 +10:00
István Zoltán Szabó
3f7f5ac48a
[DOCS] Adds elser service to the inference tutorial (#111406)
* [DOCS] Adds elser service to the inference tutorial.

* [DOCS] Amends search intro text.

* [DOCS] Addresses feedback.
2024-07-30 14:49:58 +02:00
Mayya Sharipova
7de305c4ec
Remove 4096 bool query max limit from docs (#111421)
indices.query.bool.max_clause_count is set automatically and does
not default to 4096 as before. This remove mentions of 4096
from query documentations.

Relates to PR#91811
2024-07-29 15:20:39 -04:00
Iván Cea Fontenla
735d80dffd
ESQL: Add COUNT and COUNT_DISTINCT aggregation tests (#111409) 2024-07-30 03:07:15 +10:00
Liam Thompson
38f301a4de
[DOCS] Additional reranking docs updates (#111350)
* Simplify overview, specify available rerank options

* Update links

* Clarify eland-uploaded models is for hugging face
2024-07-29 14:37:45 +02:00
weizijun
2e0d0e2c90
fix text_similarity_reranker doc (#111256) 2024-07-29 12:17:25 +02:00
Joe Gallo
1aa5b2face
Fix geoip processor isp_organization_name property and docs (#111372) 2024-07-26 18:28:44 -04:00
István Zoltán Szabó
1a5b008921
[DOCS] Clarifies semantic query behavior on sparse and dense vector fields (#111339)
* [DOCS] Clarifies semantic query behavior on sparse and dense vector fields.

* [DOCS] Adds a NOTE to the semantic query docs.
2024-07-26 16:53:38 +02:00
Carlos Delgado
ff3a77ca46
Clarify some semantic_text docs (#111329) 2024-07-26 16:45:29 +02:00
Liam Thompson
56f5dfb9a0
[DOCS] Update retriever reranker options (#111337)
* [DOCS] Update retriever reranker options

* Fix typo
2024-07-26 15:47:43 +02:00
Iván Cea Fontenla
826d49448b
ESQL: Added Median and MedianAbsoluteDeviation aggregations tests and kibana docs (#111231) 2024-07-26 22:11:01 +10:00
Pius
d04f5c4e10
[DOCS] Clarify that inference ID cannot match model ID (#111310)
* Clarify that inference ID cannot match model ID

* Update service-elasticsearch.asciidoc
2024-07-26 12:09:53 +02:00
István Zoltán Szabó
22ead8d106
[DOCS] Documents automatic text chunking behavior for semantic text. (#111331) 2024-07-26 12:02:47 +02:00