Skip to content

Commit

Permalink
Bring 8.17.1 to 8.x
Browse files Browse the repository at this point in the history
  • Loading branch information
pquentin committed Jan 23, 2025
1 parent 0566caa commit 43f147e
Show file tree
Hide file tree
Showing 1,247 changed files with 3,520 additions and 1,506 deletions.
2 changes: 1 addition & 1 deletion docs/examples/00272f75a6afea91f8554ef7cda0c1f2.asciidoc
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
// This file is autogenerated, DO NOT EDIT
// rest-api/security/clear-cache.asciidoc:69
// rest-api/security/clear-cache.asciidoc:75

[source, python]
----
Expand Down
2 changes: 1 addition & 1 deletion docs/examples/004743b9c9f61588926ccf734696b713.asciidoc
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
// This file is autogenerated, DO NOT EDIT
// indices/forcemerge.asciidoc:210
// indices/forcemerge.asciidoc:216

[source, python]
----
Expand Down
2 changes: 1 addition & 1 deletion docs/examples/008ed823c89e703c447ac89c6b689833.asciidoc
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
// This file is autogenerated, DO NOT EDIT
// migration/apis/feature-migration.asciidoc:152
// migration/apis/feature-migration.asciidoc:158

[source, python]
----
Expand Down
2 changes: 1 addition & 1 deletion docs/examples/00b3b6d76a368ae71277ea24af318693.asciidoc
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
// This file is autogenerated, DO NOT EDIT
// indices/shard-stores.asciidoc:134
// indices/shard-stores.asciidoc:140

[source, python]
----
Expand Down
2 changes: 1 addition & 1 deletion docs/examples/00fea15cbca83be9d5f1a024ff2ec708.asciidoc
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
// This file is autogenerated, DO NOT EDIT
// inference/service-elasticsearch.asciidoc:163
// inference/service-elasticsearch.asciidoc:204

[source, python]
----
Expand Down
46 changes: 46 additions & 0 deletions docs/examples/015e6e6132b6d6d44bddb06bc3b316ed.asciidoc
Original file line number Diff line number Diff line change
@@ -0,0 +1,46 @@
// This file is autogenerated, DO NOT EDIT
// search/search-your-data/retrievers-examples.asciidoc:801

[source, python]
----
resp = client.search(
index="retrievers_example",
retriever={
"rrf": {
"retrievers": [
{
"standard": {
"query": {
"range": {
"year": {
"gt": 2023
}
}
}
}
},
{
"standard": {
"query": {
"term": {
"topic": "elastic"
}
}
}
}
],
"rank_window_size": 10,
"rank_constant": 1
}
},
source=False,
aggs={
"topics": {
"terms": {
"field": "topic"
}
}
},
)
print(resp)
----
18 changes: 18 additions & 0 deletions docs/examples/0165d22da5f2fc7678392b31d8eb5566.asciidoc
Original file line number Diff line number Diff line change
@@ -0,0 +1,18 @@
// This file is autogenerated, DO NOT EDIT
// search/search-your-data/retrievers-examples.asciidoc:1113

[source, python]
----
resp = client.inference.put(
task_type="rerank",
inference_id="my-rerank-model",
inference_config={
"service": "cohere",
"service_settings": {
"model_id": "rerank-english-v3.0",
"api_key": "{{COHERE_API_KEY}}"
}
},
)
print(resp)
----
2 changes: 1 addition & 1 deletion docs/examples/01bc0f2ed30eb3dd23511d01ce0ac6e1.asciidoc
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
// This file is autogenerated, DO NOT EDIT
// transform/apis/start-transform.asciidoc:79
// transform/apis/start-transform.asciidoc:85

[source, python]
----
Expand Down
2 changes: 1 addition & 1 deletion docs/examples/01cd0ea360282a2c591a366679d7187d.asciidoc
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
// This file is autogenerated, DO NOT EDIT
// troubleshooting/common-issues/task-queue-backlog.asciidoc:60
// troubleshooting/common-issues/task-queue-backlog.asciidoc:83

[source, python]
----
Expand Down
2 changes: 1 addition & 1 deletion docs/examples/01dc7bdc223bd651574ed2d3954a5b1c.asciidoc
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
// This file is autogenerated, DO NOT EDIT
// rest-api/watcher/execute-watch.asciidoc:147
// rest-api/watcher/execute-watch.asciidoc:153

[source, python]
----
Expand Down
2 changes: 1 addition & 1 deletion docs/examples/020c95db88ef356093f03be84893ddf9.asciidoc
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
// This file is autogenerated, DO NOT EDIT
// ccr/apis/follow/get-follow-stats.asciidoc:35
// ccr/apis/follow/get-follow-stats.asciidoc:41

[source, python]
----
Expand Down
2 changes: 1 addition & 1 deletion docs/examples/0246f73cc2ed3dfec577119e8cd15404.asciidoc
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
// This file is autogenerated, DO NOT EDIT
// indices/put-mapping.asciidoc:177
// indices/put-mapping.asciidoc:183

[source, python]
----
Expand Down
2 changes: 1 addition & 1 deletion docs/examples/02520ac7816b2c4cf8fb413fd16122f2.asciidoc
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
// This file is autogenerated, DO NOT EDIT
// ml/anomaly-detection/apis/flush-job.asciidoc:75
// ml/anomaly-detection/apis/flush-job.asciidoc:81

[source, python]
----
Expand Down
2 changes: 1 addition & 1 deletion docs/examples/0280247e0cf2e561c548f22c9fb31163.asciidoc
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
// This file is autogenerated, DO NOT EDIT
// rest-api/security/invalidate-tokens.asciidoc:199
// rest-api/security/invalidate-tokens.asciidoc:205

[source, python]
----
Expand Down
2 changes: 1 addition & 1 deletion docs/examples/02f65c6bab8f40bf3ce18160623d1870.asciidoc
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
// This file is autogenerated, DO NOT EDIT
// indices/get-index-template-v1.asciidoc:35
// indices/get-index-template-v1.asciidoc:41

[source, python]
----
Expand Down
2 changes: 1 addition & 1 deletion docs/examples/0308cbd85281f95fc458042afe3f587d.asciidoc
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
// This file is autogenerated, DO NOT EDIT
// docs/get.asciidoc:79
// docs/get.asciidoc:85

[source, python]
----
Expand Down
2 changes: 1 addition & 1 deletion docs/examples/032eac56b798bea29390e102538f4a26.asciidoc
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
// This file is autogenerated, DO NOT EDIT
// indices/refresh.asciidoc:103
// indices/refresh.asciidoc:109

[source, python]
----
Expand Down
2 changes: 1 addition & 1 deletion docs/examples/0350ff5ebb8207c004eb771088339cb4.asciidoc
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
// This file is autogenerated, DO NOT EDIT
// search/rrf.asciidoc:121
// search/rrf.asciidoc:127

[source, python]
----
Expand Down
2 changes: 1 addition & 1 deletion docs/examples/03891265df2111a38e0b6b24c1b967e1.asciidoc
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
// This file is autogenerated, DO NOT EDIT
// rest-api/security/get-service-accounts.asciidoc:299
// rest-api/security/get-service-accounts.asciidoc:320

[source, python]
----
Expand Down
2 changes: 1 addition & 1 deletion docs/examples/03c4b815bf1e6a8c5cfcc6ddf94bc093.asciidoc
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
// This file is autogenerated, DO NOT EDIT
// sql/apis/sql-search-api.asciidoc:11
// sql/apis/sql-search-api.asciidoc:17

[source, python]
----
Expand Down
2 changes: 1 addition & 1 deletion docs/examples/04412d11783dac25b5fd2ec5407078a3.asciidoc
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
// This file is autogenerated, DO NOT EDIT
// connector/apis/update-connector-api-key-id-api.asciidoc:87
// connector/apis/update-connector-api-key-id-api.asciidoc:93

[source, python]
----
Expand Down
2 changes: 1 addition & 1 deletion docs/examples/0470d7101637568b9d3d1239f06325a7.asciidoc
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
// This file is autogenerated, DO NOT EDIT
// cluster/update-desired-nodes.asciidoc:15
// cluster/update-desired-nodes.asciidoc:21

[source, python]
----
Expand Down
2 changes: 1 addition & 1 deletion docs/examples/048652b6abfe195da8ea8cef10ee01b1.asciidoc
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
// This file is autogenerated, DO NOT EDIT
// transform/apis/reset-transform.asciidoc:61
// transform/apis/reset-transform.asciidoc:67

[source, python]
----
Expand Down
2 changes: 1 addition & 1 deletion docs/examples/04d6ce0c903bd468afbecd3aa1c4a78a.asciidoc
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
// This file is autogenerated, DO NOT EDIT
// ingest/apis/put-pipeline.asciidoc:120
// ingest/apis/put-pipeline.asciidoc:126

[source, python]
----
Expand Down
2 changes: 1 addition & 1 deletion docs/examples/04de2e3a9c00c2056b07bf9cf9e63a99.asciidoc
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
// This file is autogenerated, DO NOT EDIT
// inference/service-google-vertex-ai.asciidoc:127
// inference/service-google-vertex-ai.asciidoc:133

[source, python]
----
Expand Down
2 changes: 1 addition & 1 deletion docs/examples/04f5dd677c777bcb15d7d5fa63275fc8.asciidoc
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
// This file is autogenerated, DO NOT EDIT
// cluster/health.asciidoc:42
// cluster/health.asciidoc:48

[source, python]
----
Expand Down
2 changes: 1 addition & 1 deletion docs/examples/0502284d4685c478eb68761f979f4303.asciidoc
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
// This file is autogenerated, DO NOT EDIT
// ml/df-analytics/apis/evaluate-dfanalytics.asciidoc:315
// ml/df-analytics/apis/evaluate-dfanalytics.asciidoc:321

[source, python]
----
Expand Down
2 changes: 1 addition & 1 deletion docs/examples/05284c8ea91769c09c8db47db8a6629a.asciidoc
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
// This file is autogenerated, DO NOT EDIT
// cat/repositories.asciidoc:51
// cat/repositories.asciidoc:57

[source, python]
----
Expand Down
2 changes: 1 addition & 1 deletion docs/examples/05f6049c677a156bdf9b83e71a3b87ed.asciidoc
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
// This file is autogenerated, DO NOT EDIT
// rest-api/security/ssl.asciidoc:84
// rest-api/security/ssl.asciidoc:90

[source, python]
----
Expand Down
2 changes: 1 addition & 1 deletion docs/examples/0601b5cb5328c9ebff30f4be1b210f93.asciidoc
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
// This file is autogenerated, DO NOT EDIT
// snapshot-restore/apis/get-snapshot-status-api.asciidoc:327
// snapshot-restore/apis/get-snapshot-status-api.asciidoc:333

[source, python]
----
Expand Down
2 changes: 1 addition & 1 deletion docs/examples/06454a8e85e2d3479c90390bb955eb39.asciidoc
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
// This file is autogenerated, DO NOT EDIT
// snapshot-restore/apis/get-snapshot-api.asciidoc:583
// snapshot-restore/apis/get-snapshot-api.asciidoc:589

[source, python]
----
Expand Down
2 changes: 1 addition & 1 deletion docs/examples/066e0bdcdfa3b8afa5d1e5777f73fccb.asciidoc
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
// This file is autogenerated, DO NOT EDIT
// indices/rollover-index.asciidoc:327
// indices/rollover-index.asciidoc:333

[source, python]
----
Expand Down
2 changes: 1 addition & 1 deletion docs/examples/06b5d3d56c4d4e3b61ae42ea26401c40.asciidoc
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
// This file is autogenerated, DO NOT EDIT
// search/multi-search.asciidoc:10
// search/multi-search.asciidoc:16

[source, python]
----
Expand Down
2 changes: 1 addition & 1 deletion docs/examples/0709a38613d2de90d418ce12b36af30e.asciidoc
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
// This file is autogenerated, DO NOT EDIT
// troubleshooting/common-issues/red-yellow-cluster-status.asciidoc:109
// troubleshooting/common-issues/red-yellow-cluster-status.asciidoc:113

[source, python]
----
Expand Down
2 changes: 1 addition & 1 deletion docs/examples/0721c8adec544d5ecea3fcc410e45feb.asciidoc
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
// This file is autogenerated, DO NOT EDIT
// rest-api/security/activate-user-profile.asciidoc:98
// rest-api/security/activate-user-profile.asciidoc:104

[source, python]
----
Expand Down
10 changes: 10 additions & 0 deletions docs/examples/0722b302b2b3275a988d858044f99d5d.asciidoc
Original file line number Diff line number Diff line change
@@ -0,0 +1,10 @@
// This file is autogenerated, DO NOT EDIT
// quickstart/aggs-tutorial.asciidoc:45

[source, python]
----
resp = client.indices.get_mapping(
index="kibana_sample_data_ecommerce",
)
print(resp)
----
2 changes: 1 addition & 1 deletion docs/examples/073864d3f52f8f79aafdaa85a88ac46a.asciidoc
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
// This file is autogenerated, DO NOT EDIT
// rest-api/security/clear-cache.asciidoc:76
// rest-api/security/clear-cache.asciidoc:82

[source, python]
----
Expand Down
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
// This file is autogenerated, DO NOT EDIT
// index-modules/slowlog.asciidoc:133
// index-modules/slowlog.asciidoc:180

[source, python]
----
Expand All @@ -10,7 +10,9 @@ resp = client.indices.put_settings(
"index.indexing.slowlog.threshold.index.info": "5s",
"index.indexing.slowlog.threshold.index.debug": "2s",
"index.indexing.slowlog.threshold.index.trace": "500ms",
"index.indexing.slowlog.source": "1000"
"index.indexing.slowlog.source": "1000",
"index.indexing.slowlog.reformat": True,
"index.indexing.slowlog.include.user": True
},
)
print(resp)
Expand Down
2 changes: 1 addition & 1 deletion docs/examples/0755471d7dce4785d2e7ed0c10182ea3.asciidoc
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
// This file is autogenerated, DO NOT EDIT
// transform/apis/get-transform-stats.asciidoc:330
// transform/apis/get-transform-stats.asciidoc:336

[source, python]
----
Expand Down
2 changes: 1 addition & 1 deletion docs/examples/07a5fdeb7805cec1d28ba288b28f5ff5.asciidoc
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
// This file is autogenerated, DO NOT EDIT
// rollup/apis/stop-job.asciidoc:75
// rollup/apis/stop-job.asciidoc:81

[source, python]
----
Expand Down
2 changes: 1 addition & 1 deletion docs/examples/07ba3eaa931f2cf110052e3544db51f8.asciidoc
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
// This file is autogenerated, DO NOT EDIT
// docs/reindex.asciidoc:878
// docs/reindex.asciidoc:884

[source, python]
----
Expand Down
2 changes: 1 addition & 1 deletion docs/examples/07c07f6d497b1a3012aa4320f830e09e.asciidoc
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
// This file is autogenerated, DO NOT EDIT
// ccr/apis/follow/post-forget-follower.asciidoc:133
// ccr/apis/follow/post-forget-follower.asciidoc:139

[source, python]
----
Expand Down
Loading

0 comments on commit 43f147e

Please sign in to comment.