Skip to content

Commit

Permalink
Release 8.17.1
Browse files Browse the repository at this point in the history
  • Loading branch information
pquentin committed Jan 23, 2025
1 parent 832578c commit 78bca84
Show file tree
Hide file tree
Showing 1,185 changed files with 1,986 additions and 1,308 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:190
// inference/service-elasticsearch.asciidoc:204

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

[source, python]
----
Expand Down
2 changes: 1 addition & 1 deletion docs/examples/0165d22da5f2fc7678392b31d8eb5566.asciidoc
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
// This file is autogenerated, DO NOT EDIT
// search/search-your-data/retrievers-examples.asciidoc:1101
// search/search-your-data/retrievers-examples.asciidoc:1113

[source, python]
----
Expand Down
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/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
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
48 changes: 48 additions & 0 deletions docs/examples/082e78c7a2061a7c4a52b494e5ede0e8.asciidoc
Original file line number Diff line number Diff line change
@@ -0,0 +1,48 @@
// This file is autogenerated, DO NOT EDIT
// mapping/types/rank-vectors.asciidoc:64

[source, python]
----
resp = client.indices.create(
index="my-rank-vectors-bit",
mappings={
"properties": {
"my_vector": {
"type": "rank_vectors",
"element_type": "bit"
}
}
},
)
print(resp)
resp1 = client.bulk(
index="my-rank-vectors-bit",
refresh=True,
operations=[
{
"index": {
"_id": "1"
}
},
{
"my_vector": [
127,
-127,
0,
1,
42
]
},
{
"index": {
"_id": "2"
}
},
{
"my_vector": "8100012a7f"
}
],
)
print(resp1)
----
2 changes: 1 addition & 1 deletion docs/examples/083b92e8ea264e49bf9fd40fc6a3094b.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:250
// inference/service-elasticsearch.asciidoc:264

[source, python]
----
Expand Down
2 changes: 1 addition & 1 deletion docs/examples/0881397074d261ccc2db514daf116c31.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-api-keys.asciidoc:122
// rest-api/security/get-api-keys.asciidoc:128

[source, python]
----
Expand Down
2 changes: 1 addition & 1 deletion docs/examples/08c9af9dd519c011deedd406f3061836.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/preview-datafeed.asciidoc:151
// ml/anomaly-detection/apis/preview-datafeed.asciidoc:157

[source, python]
----
Expand Down
2 changes: 1 addition & 1 deletion docs/examples/08e08feb514b24006e13f258d617d873.asciidoc
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
// This file is autogenerated, DO NOT EDIT
// scripting/using.asciidoc:229
// scripting/using.asciidoc:234

[source, python]
----
Expand Down
2 changes: 1 addition & 1 deletion docs/examples/0957bbd535f58c97b12ffba90813d64c.asciidoc
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
// This file is autogenerated, DO NOT EDIT
// indices/analyze.asciidoc:361
// indices/analyze.asciidoc:367

[source, python]
----
Expand Down
2 changes: 1 addition & 1 deletion docs/examples/095e3f21941a9cc75f398389a075152d.asciidoc
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
// This file is autogenerated, DO NOT EDIT
// ml/trained-models/apis/infer-trained-model.asciidoc:1144
// ml/trained-models/apis/infer-trained-model.asciidoc:1150

[source, python]
----
Expand Down
2 changes: 1 addition & 1 deletion docs/examples/09769561f082b50558fb7d8707719963.asciidoc
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
// This file is autogenerated, DO NOT EDIT
// cluster/nodes-stats.asciidoc:2582
// cluster/nodes-stats.asciidoc:2588

[source, python]
----
Expand Down
2 changes: 1 addition & 1 deletion docs/examples/099006ab11b52ea99693401dceee8bad.asciidoc
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
// This file is autogenerated, DO NOT EDIT
// scripting/using.asciidoc:215
// scripting/using.asciidoc:220

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

0 comments on commit 78bca84

Please sign in to comment.