diff --git a/docs/examples/00272f75a6afea91f8554ef7cda0c1f2.asciidoc b/docs/examples/00272f75a6afea91f8554ef7cda0c1f2.asciidoc index dc87b0549..6c562c4cb 100644 --- a/docs/examples/00272f75a6afea91f8554ef7cda0c1f2.asciidoc +++ b/docs/examples/00272f75a6afea91f8554ef7cda0c1f2.asciidoc @@ -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] ---- diff --git a/docs/examples/004743b9c9f61588926ccf734696b713.asciidoc b/docs/examples/004743b9c9f61588926ccf734696b713.asciidoc index 9e5b1713a..b45ec61fd 100644 --- a/docs/examples/004743b9c9f61588926ccf734696b713.asciidoc +++ b/docs/examples/004743b9c9f61588926ccf734696b713.asciidoc @@ -1,5 +1,5 @@ // This file is autogenerated, DO NOT EDIT -// indices/forcemerge.asciidoc:210 +// indices/forcemerge.asciidoc:216 [source, python] ---- diff --git a/docs/examples/008ed823c89e703c447ac89c6b689833.asciidoc b/docs/examples/008ed823c89e703c447ac89c6b689833.asciidoc index 97fa31508..ba5031dda 100644 --- a/docs/examples/008ed823c89e703c447ac89c6b689833.asciidoc +++ b/docs/examples/008ed823c89e703c447ac89c6b689833.asciidoc @@ -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] ---- diff --git a/docs/examples/00b3b6d76a368ae71277ea24af318693.asciidoc b/docs/examples/00b3b6d76a368ae71277ea24af318693.asciidoc index 41250b193..83c7b6585 100644 --- a/docs/examples/00b3b6d76a368ae71277ea24af318693.asciidoc +++ b/docs/examples/00b3b6d76a368ae71277ea24af318693.asciidoc @@ -1,5 +1,5 @@ // This file is autogenerated, DO NOT EDIT -// indices/shard-stores.asciidoc:134 +// indices/shard-stores.asciidoc:140 [source, python] ---- diff --git a/docs/examples/00fea15cbca83be9d5f1a024ff2ec708.asciidoc b/docs/examples/00fea15cbca83be9d5f1a024ff2ec708.asciidoc index fbf38303d..c9322a6a6 100644 --- a/docs/examples/00fea15cbca83be9d5f1a024ff2ec708.asciidoc +++ b/docs/examples/00fea15cbca83be9d5f1a024ff2ec708.asciidoc @@ -1,5 +1,5 @@ // This file is autogenerated, DO NOT EDIT -// inference/service-elasticsearch.asciidoc:195 +// inference/service-elasticsearch.asciidoc:204 [source, python] ---- diff --git a/docs/examples/015e6e6132b6d6d44bddb06bc3b316ed.asciidoc b/docs/examples/015e6e6132b6d6d44bddb06bc3b316ed.asciidoc index ebc4248f6..78636bc7a 100644 --- a/docs/examples/015e6e6132b6d6d44bddb06bc3b316ed.asciidoc +++ b/docs/examples/015e6e6132b6d6d44bddb06bc3b316ed.asciidoc @@ -1,5 +1,5 @@ // This file is autogenerated, DO NOT EDIT -// search/search-your-data/retrievers-examples.asciidoc:788 +// search/search-your-data/retrievers-examples.asciidoc:801 [source, python] ---- diff --git a/docs/examples/0165d22da5f2fc7678392b31d8eb5566.asciidoc b/docs/examples/0165d22da5f2fc7678392b31d8eb5566.asciidoc index e661c79e1..749e89a02 100644 --- a/docs/examples/0165d22da5f2fc7678392b31d8eb5566.asciidoc +++ b/docs/examples/0165d22da5f2fc7678392b31d8eb5566.asciidoc @@ -1,5 +1,5 @@ // This file is autogenerated, DO NOT EDIT -// search/search-your-data/retrievers-examples.asciidoc:1100 +// search/search-your-data/retrievers-examples.asciidoc:1113 [source, python] ---- diff --git a/docs/examples/01bc0f2ed30eb3dd23511d01ce0ac6e1.asciidoc b/docs/examples/01bc0f2ed30eb3dd23511d01ce0ac6e1.asciidoc index f3c753df4..b10bf0ef1 100644 --- a/docs/examples/01bc0f2ed30eb3dd23511d01ce0ac6e1.asciidoc +++ b/docs/examples/01bc0f2ed30eb3dd23511d01ce0ac6e1.asciidoc @@ -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] ---- diff --git a/docs/examples/01cd0ea360282a2c591a366679d7187d.asciidoc b/docs/examples/01cd0ea360282a2c591a366679d7187d.asciidoc index 79f5d0185..d52222ef9 100644 --- a/docs/examples/01cd0ea360282a2c591a366679d7187d.asciidoc +++ b/docs/examples/01cd0ea360282a2c591a366679d7187d.asciidoc @@ -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] ---- diff --git a/docs/examples/01dc7bdc223bd651574ed2d3954a5b1c.asciidoc b/docs/examples/01dc7bdc223bd651574ed2d3954a5b1c.asciidoc index 81e0a9db9..8edde87f0 100644 --- a/docs/examples/01dc7bdc223bd651574ed2d3954a5b1c.asciidoc +++ b/docs/examples/01dc7bdc223bd651574ed2d3954a5b1c.asciidoc @@ -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] ---- diff --git a/docs/examples/020c95db88ef356093f03be84893ddf9.asciidoc b/docs/examples/020c95db88ef356093f03be84893ddf9.asciidoc index f179d62cb..491db9b18 100644 --- a/docs/examples/020c95db88ef356093f03be84893ddf9.asciidoc +++ b/docs/examples/020c95db88ef356093f03be84893ddf9.asciidoc @@ -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] ---- diff --git a/docs/examples/0246f73cc2ed3dfec577119e8cd15404.asciidoc b/docs/examples/0246f73cc2ed3dfec577119e8cd15404.asciidoc index 71415a0a1..670c9daa3 100644 --- a/docs/examples/0246f73cc2ed3dfec577119e8cd15404.asciidoc +++ b/docs/examples/0246f73cc2ed3dfec577119e8cd15404.asciidoc @@ -1,5 +1,5 @@ // This file is autogenerated, DO NOT EDIT -// indices/put-mapping.asciidoc:177 +// indices/put-mapping.asciidoc:183 [source, python] ---- diff --git a/docs/examples/02520ac7816b2c4cf8fb413fd16122f2.asciidoc b/docs/examples/02520ac7816b2c4cf8fb413fd16122f2.asciidoc index 788c4344b..4192c617a 100644 --- a/docs/examples/02520ac7816b2c4cf8fb413fd16122f2.asciidoc +++ b/docs/examples/02520ac7816b2c4cf8fb413fd16122f2.asciidoc @@ -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] ---- diff --git a/docs/examples/0280247e0cf2e561c548f22c9fb31163.asciidoc b/docs/examples/0280247e0cf2e561c548f22c9fb31163.asciidoc index 10c5d0ce4..113679b3d 100644 --- a/docs/examples/0280247e0cf2e561c548f22c9fb31163.asciidoc +++ b/docs/examples/0280247e0cf2e561c548f22c9fb31163.asciidoc @@ -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] ---- diff --git a/docs/examples/02f65c6bab8f40bf3ce18160623d1870.asciidoc b/docs/examples/02f65c6bab8f40bf3ce18160623d1870.asciidoc index c34253d87..d36267cb5 100644 --- a/docs/examples/02f65c6bab8f40bf3ce18160623d1870.asciidoc +++ b/docs/examples/02f65c6bab8f40bf3ce18160623d1870.asciidoc @@ -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] ---- diff --git a/docs/examples/0308cbd85281f95fc458042afe3f587d.asciidoc b/docs/examples/0308cbd85281f95fc458042afe3f587d.asciidoc index 7ca4d69ff..43b6a859e 100644 --- a/docs/examples/0308cbd85281f95fc458042afe3f587d.asciidoc +++ b/docs/examples/0308cbd85281f95fc458042afe3f587d.asciidoc @@ -1,5 +1,5 @@ // This file is autogenerated, DO NOT EDIT -// docs/get.asciidoc:79 +// docs/get.asciidoc:85 [source, python] ---- diff --git a/docs/examples/032eac56b798bea29390e102538f4a26.asciidoc b/docs/examples/032eac56b798bea29390e102538f4a26.asciidoc index 8f4b0e3ed..36dfb2a73 100644 --- a/docs/examples/032eac56b798bea29390e102538f4a26.asciidoc +++ b/docs/examples/032eac56b798bea29390e102538f4a26.asciidoc @@ -1,5 +1,5 @@ // This file is autogenerated, DO NOT EDIT -// indices/refresh.asciidoc:103 +// indices/refresh.asciidoc:109 [source, python] ---- diff --git a/docs/examples/0350ff5ebb8207c004eb771088339cb4.asciidoc b/docs/examples/0350ff5ebb8207c004eb771088339cb4.asciidoc index c815c5834..4cd810a13 100644 --- a/docs/examples/0350ff5ebb8207c004eb771088339cb4.asciidoc +++ b/docs/examples/0350ff5ebb8207c004eb771088339cb4.asciidoc @@ -1,5 +1,5 @@ // This file is autogenerated, DO NOT EDIT -// search/rrf.asciidoc:121 +// search/rrf.asciidoc:127 [source, python] ---- diff --git a/docs/examples/03891265df2111a38e0b6b24c1b967e1.asciidoc b/docs/examples/03891265df2111a38e0b6b24c1b967e1.asciidoc index 4c265f7ad..cf65de095 100644 --- a/docs/examples/03891265df2111a38e0b6b24c1b967e1.asciidoc +++ b/docs/examples/03891265df2111a38e0b6b24c1b967e1.asciidoc @@ -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] ---- diff --git a/docs/examples/03c4b815bf1e6a8c5cfcc6ddf94bc093.asciidoc b/docs/examples/03c4b815bf1e6a8c5cfcc6ddf94bc093.asciidoc index b8fb76686..985ac93d1 100644 --- a/docs/examples/03c4b815bf1e6a8c5cfcc6ddf94bc093.asciidoc +++ b/docs/examples/03c4b815bf1e6a8c5cfcc6ddf94bc093.asciidoc @@ -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] ---- diff --git a/docs/examples/04412d11783dac25b5fd2ec5407078a3.asciidoc b/docs/examples/04412d11783dac25b5fd2ec5407078a3.asciidoc index 223f90baf..613984b02 100644 --- a/docs/examples/04412d11783dac25b5fd2ec5407078a3.asciidoc +++ b/docs/examples/04412d11783dac25b5fd2ec5407078a3.asciidoc @@ -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] ---- diff --git a/docs/examples/0470d7101637568b9d3d1239f06325a7.asciidoc b/docs/examples/0470d7101637568b9d3d1239f06325a7.asciidoc index b8b157197..b4f0da774 100644 --- a/docs/examples/0470d7101637568b9d3d1239f06325a7.asciidoc +++ b/docs/examples/0470d7101637568b9d3d1239f06325a7.asciidoc @@ -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] ---- diff --git a/docs/examples/048652b6abfe195da8ea8cef10ee01b1.asciidoc b/docs/examples/048652b6abfe195da8ea8cef10ee01b1.asciidoc index 26a2e9379..f295c9528 100644 --- a/docs/examples/048652b6abfe195da8ea8cef10ee01b1.asciidoc +++ b/docs/examples/048652b6abfe195da8ea8cef10ee01b1.asciidoc @@ -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] ---- diff --git a/docs/examples/04d6ce0c903bd468afbecd3aa1c4a78a.asciidoc b/docs/examples/04d6ce0c903bd468afbecd3aa1c4a78a.asciidoc index 1d0483c0f..b2d34865d 100644 --- a/docs/examples/04d6ce0c903bd468afbecd3aa1c4a78a.asciidoc +++ b/docs/examples/04d6ce0c903bd468afbecd3aa1c4a78a.asciidoc @@ -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] ---- diff --git a/docs/examples/04de2e3a9c00c2056b07bf9cf9e63a99.asciidoc b/docs/examples/04de2e3a9c00c2056b07bf9cf9e63a99.asciidoc index 9e4fffd1f..c3086c6d5 100644 --- a/docs/examples/04de2e3a9c00c2056b07bf9cf9e63a99.asciidoc +++ b/docs/examples/04de2e3a9c00c2056b07bf9cf9e63a99.asciidoc @@ -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] ---- diff --git a/docs/examples/04f5dd677c777bcb15d7d5fa63275fc8.asciidoc b/docs/examples/04f5dd677c777bcb15d7d5fa63275fc8.asciidoc index 115f443da..1191184c0 100644 --- a/docs/examples/04f5dd677c777bcb15d7d5fa63275fc8.asciidoc +++ b/docs/examples/04f5dd677c777bcb15d7d5fa63275fc8.asciidoc @@ -1,5 +1,5 @@ // This file is autogenerated, DO NOT EDIT -// cluster/health.asciidoc:42 +// cluster/health.asciidoc:48 [source, python] ---- diff --git a/docs/examples/0502284d4685c478eb68761f979f4303.asciidoc b/docs/examples/0502284d4685c478eb68761f979f4303.asciidoc index 7a6344c79..4e87cee50 100644 --- a/docs/examples/0502284d4685c478eb68761f979f4303.asciidoc +++ b/docs/examples/0502284d4685c478eb68761f979f4303.asciidoc @@ -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] ---- diff --git a/docs/examples/05284c8ea91769c09c8db47db8a6629a.asciidoc b/docs/examples/05284c8ea91769c09c8db47db8a6629a.asciidoc index 03dfbf18d..93c297023 100644 --- a/docs/examples/05284c8ea91769c09c8db47db8a6629a.asciidoc +++ b/docs/examples/05284c8ea91769c09c8db47db8a6629a.asciidoc @@ -1,5 +1,5 @@ // This file is autogenerated, DO NOT EDIT -// cat/repositories.asciidoc:51 +// cat/repositories.asciidoc:57 [source, python] ---- diff --git a/docs/examples/05f6049c677a156bdf9b83e71a3b87ed.asciidoc b/docs/examples/05f6049c677a156bdf9b83e71a3b87ed.asciidoc index b5222abb1..54ed3cff4 100644 --- a/docs/examples/05f6049c677a156bdf9b83e71a3b87ed.asciidoc +++ b/docs/examples/05f6049c677a156bdf9b83e71a3b87ed.asciidoc @@ -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] ---- diff --git a/docs/examples/0601b5cb5328c9ebff30f4be1b210f93.asciidoc b/docs/examples/0601b5cb5328c9ebff30f4be1b210f93.asciidoc index aac12b70e..004b0ae50 100644 --- a/docs/examples/0601b5cb5328c9ebff30f4be1b210f93.asciidoc +++ b/docs/examples/0601b5cb5328c9ebff30f4be1b210f93.asciidoc @@ -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] ---- diff --git a/docs/examples/06454a8e85e2d3479c90390bb955eb39.asciidoc b/docs/examples/06454a8e85e2d3479c90390bb955eb39.asciidoc index cc543366b..3ecb496e2 100644 --- a/docs/examples/06454a8e85e2d3479c90390bb955eb39.asciidoc +++ b/docs/examples/06454a8e85e2d3479c90390bb955eb39.asciidoc @@ -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] ---- diff --git a/docs/examples/066e0bdcdfa3b8afa5d1e5777f73fccb.asciidoc b/docs/examples/066e0bdcdfa3b8afa5d1e5777f73fccb.asciidoc index 944e2ba95..4de440663 100644 --- a/docs/examples/066e0bdcdfa3b8afa5d1e5777f73fccb.asciidoc +++ b/docs/examples/066e0bdcdfa3b8afa5d1e5777f73fccb.asciidoc @@ -1,5 +1,5 @@ // This file is autogenerated, DO NOT EDIT -// indices/rollover-index.asciidoc:327 +// indices/rollover-index.asciidoc:333 [source, python] ---- diff --git a/docs/examples/06b5d3d56c4d4e3b61ae42ea26401c40.asciidoc b/docs/examples/06b5d3d56c4d4e3b61ae42ea26401c40.asciidoc index f4be82bcb..5e26ee403 100644 --- a/docs/examples/06b5d3d56c4d4e3b61ae42ea26401c40.asciidoc +++ b/docs/examples/06b5d3d56c4d4e3b61ae42ea26401c40.asciidoc @@ -1,5 +1,5 @@ // This file is autogenerated, DO NOT EDIT -// search/multi-search.asciidoc:10 +// search/multi-search.asciidoc:16 [source, python] ---- diff --git a/docs/examples/0721c8adec544d5ecea3fcc410e45feb.asciidoc b/docs/examples/0721c8adec544d5ecea3fcc410e45feb.asciidoc index 84d5c2622..27e6809d9 100644 --- a/docs/examples/0721c8adec544d5ecea3fcc410e45feb.asciidoc +++ b/docs/examples/0721c8adec544d5ecea3fcc410e45feb.asciidoc @@ -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] ---- diff --git a/docs/examples/073864d3f52f8f79aafdaa85a88ac46a.asciidoc b/docs/examples/073864d3f52f8f79aafdaa85a88ac46a.asciidoc index bb4580ebf..c89d52af8 100644 --- a/docs/examples/073864d3f52f8f79aafdaa85a88ac46a.asciidoc +++ b/docs/examples/073864d3f52f8f79aafdaa85a88ac46a.asciidoc @@ -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] ---- diff --git a/docs/examples/844928da2ff9a1394af5347a5e2e4f78.asciidoc b/docs/examples/074e4602d1ca54412380a40867d078bc.asciidoc similarity index 69% rename from docs/examples/844928da2ff9a1394af5347a5e2e4f78.asciidoc rename to docs/examples/074e4602d1ca54412380a40867d078bc.asciidoc index 9b5028b37..8eab49b0b 100644 --- a/docs/examples/844928da2ff9a1394af5347a5e2e4f78.asciidoc +++ b/docs/examples/074e4602d1ca54412380a40867d078bc.asciidoc @@ -1,5 +1,5 @@ // This file is autogenerated, DO NOT EDIT -// index-modules/slowlog.asciidoc:133 +// index-modules/slowlog.asciidoc:180 [source, python] ---- @@ -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) diff --git a/docs/examples/0755471d7dce4785d2e7ed0c10182ea3.asciidoc b/docs/examples/0755471d7dce4785d2e7ed0c10182ea3.asciidoc index 3e665950b..1b267037f 100644 --- a/docs/examples/0755471d7dce4785d2e7ed0c10182ea3.asciidoc +++ b/docs/examples/0755471d7dce4785d2e7ed0c10182ea3.asciidoc @@ -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] ---- diff --git a/docs/examples/07a5fdeb7805cec1d28ba288b28f5ff5.asciidoc b/docs/examples/07a5fdeb7805cec1d28ba288b28f5ff5.asciidoc index 29406d787..99ffe9440 100644 --- a/docs/examples/07a5fdeb7805cec1d28ba288b28f5ff5.asciidoc +++ b/docs/examples/07a5fdeb7805cec1d28ba288b28f5ff5.asciidoc @@ -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] ---- diff --git a/docs/examples/07ba3eaa931f2cf110052e3544db51f8.asciidoc b/docs/examples/07ba3eaa931f2cf110052e3544db51f8.asciidoc index dd35d3388..12cec5a60 100644 --- a/docs/examples/07ba3eaa931f2cf110052e3544db51f8.asciidoc +++ b/docs/examples/07ba3eaa931f2cf110052e3544db51f8.asciidoc @@ -1,5 +1,5 @@ // This file is autogenerated, DO NOT EDIT -// docs/reindex.asciidoc:878 +// docs/reindex.asciidoc:884 [source, python] ---- diff --git a/docs/examples/07c07f6d497b1a3012aa4320f830e09e.asciidoc b/docs/examples/07c07f6d497b1a3012aa4320f830e09e.asciidoc index 9e8d9d9d0..7792f2e29 100644 --- a/docs/examples/07c07f6d497b1a3012aa4320f830e09e.asciidoc +++ b/docs/examples/07c07f6d497b1a3012aa4320f830e09e.asciidoc @@ -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] ---- diff --git a/docs/examples/082e78c7a2061a7c4a52b494e5ede0e8.asciidoc b/docs/examples/082e78c7a2061a7c4a52b494e5ede0e8.asciidoc new file mode 100644 index 000000000..33ec4dfcc --- /dev/null +++ b/docs/examples/082e78c7a2061a7c4a52b494e5ede0e8.asciidoc @@ -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) +---- diff --git a/docs/examples/083b92e8ea264e49bf9fd40fc6a3094b.asciidoc b/docs/examples/083b92e8ea264e49bf9fd40fc6a3094b.asciidoc index ead3fe20f..6c94b6da2 100644 --- a/docs/examples/083b92e8ea264e49bf9fd40fc6a3094b.asciidoc +++ b/docs/examples/083b92e8ea264e49bf9fd40fc6a3094b.asciidoc @@ -1,5 +1,5 @@ // This file is autogenerated, DO NOT EDIT -// inference/service-elasticsearch.asciidoc:255 +// inference/service-elasticsearch.asciidoc:264 [source, python] ---- diff --git a/docs/examples/0881397074d261ccc2db514daf116c31.asciidoc b/docs/examples/0881397074d261ccc2db514daf116c31.asciidoc index 269216db0..c4ffb3c12 100644 --- a/docs/examples/0881397074d261ccc2db514daf116c31.asciidoc +++ b/docs/examples/0881397074d261ccc2db514daf116c31.asciidoc @@ -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] ---- diff --git a/docs/examples/08c9af9dd519c011deedd406f3061836.asciidoc b/docs/examples/08c9af9dd519c011deedd406f3061836.asciidoc index 43eafcf42..9c456b203 100644 --- a/docs/examples/08c9af9dd519c011deedd406f3061836.asciidoc +++ b/docs/examples/08c9af9dd519c011deedd406f3061836.asciidoc @@ -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] ---- diff --git a/docs/examples/08e08feb514b24006e13f258d617d873.asciidoc b/docs/examples/08e08feb514b24006e13f258d617d873.asciidoc index e72e593f0..0659ee723 100644 --- a/docs/examples/08e08feb514b24006e13f258d617d873.asciidoc +++ b/docs/examples/08e08feb514b24006e13f258d617d873.asciidoc @@ -1,5 +1,5 @@ // This file is autogenerated, DO NOT EDIT -// scripting/using.asciidoc:229 +// scripting/using.asciidoc:234 [source, python] ---- diff --git a/docs/examples/0957bbd535f58c97b12ffba90813d64c.asciidoc b/docs/examples/0957bbd535f58c97b12ffba90813d64c.asciidoc index b508719c5..adf5b2f2e 100644 --- a/docs/examples/0957bbd535f58c97b12ffba90813d64c.asciidoc +++ b/docs/examples/0957bbd535f58c97b12ffba90813d64c.asciidoc @@ -1,5 +1,5 @@ // This file is autogenerated, DO NOT EDIT -// indices/analyze.asciidoc:361 +// indices/analyze.asciidoc:367 [source, python] ---- diff --git a/docs/examples/095e3f21941a9cc75f398389a075152d.asciidoc b/docs/examples/095e3f21941a9cc75f398389a075152d.asciidoc index 00532f55c..af9f1554d 100644 --- a/docs/examples/095e3f21941a9cc75f398389a075152d.asciidoc +++ b/docs/examples/095e3f21941a9cc75f398389a075152d.asciidoc @@ -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] ---- diff --git a/docs/examples/09769561f082b50558fb7d8707719963.asciidoc b/docs/examples/09769561f082b50558fb7d8707719963.asciidoc index 9aa9cba6e..e931567b9 100644 --- a/docs/examples/09769561f082b50558fb7d8707719963.asciidoc +++ b/docs/examples/09769561f082b50558fb7d8707719963.asciidoc @@ -1,5 +1,5 @@ // This file is autogenerated, DO NOT EDIT -// cluster/nodes-stats.asciidoc:2582 +// cluster/nodes-stats.asciidoc:2588 [source, python] ---- diff --git a/docs/examples/099006ab11b52ea99693401dceee8bad.asciidoc b/docs/examples/099006ab11b52ea99693401dceee8bad.asciidoc index 75518ba6e..06f1008ce 100644 --- a/docs/examples/099006ab11b52ea99693401dceee8bad.asciidoc +++ b/docs/examples/099006ab11b52ea99693401dceee8bad.asciidoc @@ -1,5 +1,5 @@ // This file is autogenerated, DO NOT EDIT -// scripting/using.asciidoc:215 +// scripting/using.asciidoc:220 [source, python] ---- diff --git a/docs/examples/09e6e06ba562f4b9bac59455e9151a80.asciidoc b/docs/examples/09e6e06ba562f4b9bac59455e9151a80.asciidoc index 64f28519d..20e4b07b4 100644 --- a/docs/examples/09e6e06ba562f4b9bac59455e9151a80.asciidoc +++ b/docs/examples/09e6e06ba562f4b9bac59455e9151a80.asciidoc @@ -1,5 +1,5 @@ // This file is autogenerated, DO NOT EDIT -// ml/df-analytics/apis/evaluate-dfanalytics.asciidoc:517 +// ml/df-analytics/apis/evaluate-dfanalytics.asciidoc:523 [source, python] ---- diff --git a/docs/examples/0a46cc8fe93e372909660a63dc52ae3b.asciidoc b/docs/examples/0a46cc8fe93e372909660a63dc52ae3b.asciidoc index c08ace7f6..bbe7b7ca8 100644 --- a/docs/examples/0a46cc8fe93e372909660a63dc52ae3b.asciidoc +++ b/docs/examples/0a46cc8fe93e372909660a63dc52ae3b.asciidoc @@ -1,5 +1,5 @@ // This file is autogenerated, DO NOT EDIT -// indices/rollover-index.asciidoc:309 +// indices/rollover-index.asciidoc:315 [source, python] ---- diff --git a/docs/examples/0a650401134f07e40216f0d0d1a66a32.asciidoc b/docs/examples/0a650401134f07e40216f0d0d1a66a32.asciidoc index c9a221494..7dfc1b717 100644 --- a/docs/examples/0a650401134f07e40216f0d0d1a66a32.asciidoc +++ b/docs/examples/0a650401134f07e40216f0d0d1a66a32.asciidoc @@ -1,5 +1,5 @@ // This file is autogenerated, DO NOT EDIT -// cat/allocation.asciidoc:120 +// cat/allocation.asciidoc:126 [source, python] ---- diff --git a/docs/examples/0a758d9dec74d9e942cf41a06499234f.asciidoc b/docs/examples/0a758d9dec74d9e942cf41a06499234f.asciidoc index b44d34496..615755b86 100644 --- a/docs/examples/0a758d9dec74d9e942cf41a06499234f.asciidoc +++ b/docs/examples/0a758d9dec74d9e942cf41a06499234f.asciidoc @@ -1,5 +1,5 @@ // This file is autogenerated, DO NOT EDIT -// scripting/using.asciidoc:282 +// scripting/using.asciidoc:287 [source, python] ---- diff --git a/docs/examples/0ad8edd10542ec2c4d5d8700d7e2ba97.asciidoc b/docs/examples/0ad8edd10542ec2c4d5d8700d7e2ba97.asciidoc index 0941c559f..842ce3b94 100644 --- a/docs/examples/0ad8edd10542ec2c4d5d8700d7e2ba97.asciidoc +++ b/docs/examples/0ad8edd10542ec2c4d5d8700d7e2ba97.asciidoc @@ -1,5 +1,5 @@ // This file is autogenerated, DO NOT EDIT -// inference/service-amazon-bedrock.asciidoc:156 +// inference/service-amazon-bedrock.asciidoc:162 [source, python] ---- diff --git a/docs/examples/0ade87c8cb0e3c188d2e3dce279d5cc2.asciidoc b/docs/examples/0ade87c8cb0e3c188d2e3dce279d5cc2.asciidoc index d92db47de..058dd2421 100644 --- a/docs/examples/0ade87c8cb0e3c188d2e3dce279d5cc2.asciidoc +++ b/docs/examples/0ade87c8cb0e3c188d2e3dce279d5cc2.asciidoc @@ -1,5 +1,5 @@ // This file is autogenerated, DO NOT EDIT -// connector/apis/update-connector-filtering-api.asciidoc:116 +// connector/apis/update-connector-filtering-api.asciidoc:122 [source, python] ---- diff --git a/docs/examples/0aff04881be21eea45375ec4f4f50e66.asciidoc b/docs/examples/0aff04881be21eea45375ec4f4f50e66.asciidoc index c1a67eca1..ce55cdeaf 100644 --- a/docs/examples/0aff04881be21eea45375ec4f4f50e66.asciidoc +++ b/docs/examples/0aff04881be21eea45375ec4f4f50e66.asciidoc @@ -1,5 +1,5 @@ // This file is autogenerated, DO NOT EDIT -// rest-api/security/invalidate-api-keys.asciidoc:83 +// rest-api/security/invalidate-api-keys.asciidoc:89 [source, python] ---- diff --git a/docs/examples/0b615ff4ef5a8847ee8109b2fd11619a.asciidoc b/docs/examples/0b615ff4ef5a8847ee8109b2fd11619a.asciidoc index 573e75fe5..41910d39b 100644 --- a/docs/examples/0b615ff4ef5a8847ee8109b2fd11619a.asciidoc +++ b/docs/examples/0b615ff4ef5a8847ee8109b2fd11619a.asciidoc @@ -1,5 +1,5 @@ // This file is autogenerated, DO NOT EDIT -// scripting/using.asciidoc:238 +// scripting/using.asciidoc:243 [source, python] ---- diff --git a/docs/examples/0bc6155e0c88062a4d8490da49db3aa8.asciidoc b/docs/examples/0bc6155e0c88062a4d8490da49db3aa8.asciidoc index 8014fa572..2479ec8bb 100644 --- a/docs/examples/0bc6155e0c88062a4d8490da49db3aa8.asciidoc +++ b/docs/examples/0bc6155e0c88062a4d8490da49db3aa8.asciidoc @@ -1,5 +1,5 @@ // This file is autogenerated, DO NOT EDIT -// search/search-your-data/retrievers-examples.asciidoc:549 +// search/search-your-data/retrievers-examples.asciidoc:562 [source, python] ---- diff --git a/docs/examples/0c2d9ac7e3f28d4d802e21cbbbcfeb34.asciidoc b/docs/examples/0c2d9ac7e3f28d4d802e21cbbbcfeb34.asciidoc index 0a3e4fe55..1ccb32524 100644 --- a/docs/examples/0c2d9ac7e3f28d4d802e21cbbbcfeb34.asciidoc +++ b/docs/examples/0c2d9ac7e3f28d4d802e21cbbbcfeb34.asciidoc @@ -1,5 +1,5 @@ // This file is autogenerated, DO NOT EDIT -// cat/recovery.asciidoc:112 +// cat/recovery.asciidoc:118 [source, python] ---- diff --git a/docs/examples/0c464965126cc09e6812716a145991d4.asciidoc b/docs/examples/0c464965126cc09e6812716a145991d4.asciidoc index 0f5465ce3..e3c34eb90 100644 --- a/docs/examples/0c464965126cc09e6812716a145991d4.asciidoc +++ b/docs/examples/0c464965126cc09e6812716a145991d4.asciidoc @@ -1,5 +1,5 @@ // This file is autogenerated, DO NOT EDIT -// cluster/nodes-info.asciidoc:301 +// cluster/nodes-info.asciidoc:306 [source, python] ---- diff --git a/docs/examples/0c6f9c9da75293fae69659ac1d6329de.asciidoc b/docs/examples/0c6f9c9da75293fae69659ac1d6329de.asciidoc index 53ac89709..739b8288c 100644 --- a/docs/examples/0c6f9c9da75293fae69659ac1d6329de.asciidoc +++ b/docs/examples/0c6f9c9da75293fae69659ac1d6329de.asciidoc @@ -1,5 +1,5 @@ // This file is autogenerated, DO NOT EDIT -// rest-api/security/invalidate-tokens.asciidoc:175 +// rest-api/security/invalidate-tokens.asciidoc:181 [source, python] ---- diff --git a/docs/examples/0c6fc67c2dd1c1771cd866ce471d74e1.asciidoc b/docs/examples/0c6fc67c2dd1c1771cd866ce471d74e1.asciidoc index 3852a2102..a8056bc77 100644 --- a/docs/examples/0c6fc67c2dd1c1771cd866ce471d74e1.asciidoc +++ b/docs/examples/0c6fc67c2dd1c1771cd866ce471d74e1.asciidoc @@ -1,5 +1,5 @@ // This file is autogenerated, DO NOT EDIT -// rest-api/security/create-role-mappings.asciidoc:206 +// rest-api/security/create-role-mappings.asciidoc:212 [source, python] ---- diff --git a/docs/examples/0c892d328b73d38396aaef6d9cbcd36b.asciidoc b/docs/examples/0c892d328b73d38396aaef6d9cbcd36b.asciidoc index fc37a12ca..157a9b740 100644 --- a/docs/examples/0c892d328b73d38396aaef6d9cbcd36b.asciidoc +++ b/docs/examples/0c892d328b73d38396aaef6d9cbcd36b.asciidoc @@ -1,5 +1,5 @@ // This file is autogenerated, DO NOT EDIT -// docs/delete.asciidoc:82 +// docs/delete.asciidoc:88 [source, python] ---- diff --git a/docs/examples/0d30077cd34e93377a3a86f2ebd69415.asciidoc b/docs/examples/0d30077cd34e93377a3a86f2ebd69415.asciidoc index 1d9eb5f3c..abca0eadf 100644 --- a/docs/examples/0d30077cd34e93377a3a86f2ebd69415.asciidoc +++ b/docs/examples/0d30077cd34e93377a3a86f2ebd69415.asciidoc @@ -1,5 +1,5 @@ // This file is autogenerated, DO NOT EDIT -// connector/apis/create-connector-api.asciidoc:112 +// connector/apis/create-connector-api.asciidoc:118 [source, python] ---- diff --git a/docs/examples/0d689ac6e78be5d438f9b5d441be2b44.asciidoc b/docs/examples/0d689ac6e78be5d438f9b5d441be2b44.asciidoc index 49b923e15..816c0d5bb 100644 --- a/docs/examples/0d689ac6e78be5d438f9b5d441be2b44.asciidoc +++ b/docs/examples/0d689ac6e78be5d438f9b5d441be2b44.asciidoc @@ -1,5 +1,5 @@ // This file is autogenerated, DO NOT EDIT -// search/search-your-data/retrievers-examples.asciidoc:928 +// search/search-your-data/retrievers-examples.asciidoc:941 [source, python] ---- diff --git a/docs/examples/0d8063b484a18f8672fb5ed8712c5c97.asciidoc b/docs/examples/0d8063b484a18f8672fb5ed8712c5c97.asciidoc index a0fcce54b..882dc89ab 100644 --- a/docs/examples/0d8063b484a18f8672fb5ed8712c5c97.asciidoc +++ b/docs/examples/0d8063b484a18f8672fb5ed8712c5c97.asciidoc @@ -1,5 +1,5 @@ // This file is autogenerated, DO NOT EDIT -// indices/put-index-template.asciidoc:299 +// indices/put-index-template.asciidoc:305 [source, python] ---- diff --git a/docs/examples/0d94d76b7f00d0459d1f8c962c144dcd.asciidoc b/docs/examples/0d94d76b7f00d0459d1f8c962c144dcd.asciidoc index 916b6c7dd..e5bbbd493 100644 --- a/docs/examples/0d94d76b7f00d0459d1f8c962c144dcd.asciidoc +++ b/docs/examples/0d94d76b7f00d0459d1f8c962c144dcd.asciidoc @@ -1,5 +1,5 @@ // This file is autogenerated, DO NOT EDIT -// rest-api/security/create-role-mappings.asciidoc:308 +// rest-api/security/create-role-mappings.asciidoc:314 [source, python] ---- diff --git a/docs/examples/0dd30ffe2f900dde86cc9bb601d5e68e.asciidoc b/docs/examples/0dd30ffe2f900dde86cc9bb601d5e68e.asciidoc index bffcc9942..73b37ee80 100644 --- a/docs/examples/0dd30ffe2f900dde86cc9bb601d5e68e.asciidoc +++ b/docs/examples/0dd30ffe2f900dde86cc9bb601d5e68e.asciidoc @@ -1,5 +1,5 @@ // This file is autogenerated, DO NOT EDIT -// cat/nodes.asciidoc:378 +// cat/nodes.asciidoc:387 [source, python] ---- diff --git a/docs/examples/0ddf705317d9c5095b4a1419a2e3bace.asciidoc b/docs/examples/0ddf705317d9c5095b4a1419a2e3bace.asciidoc index 24bf20afd..9b024dea4 100644 --- a/docs/examples/0ddf705317d9c5095b4a1419a2e3bace.asciidoc +++ b/docs/examples/0ddf705317d9c5095b4a1419a2e3bace.asciidoc @@ -1,5 +1,5 @@ // This file is autogenerated, DO NOT EDIT -// rest-api/security/get-app-privileges.asciidoc:95 +// rest-api/security/get-app-privileges.asciidoc:101 [source, python] ---- diff --git a/docs/examples/0dfa9733c94bc43c6f14c7b6984c98fb.asciidoc b/docs/examples/0dfa9733c94bc43c6f14c7b6984c98fb.asciidoc index 41ae4d4dd..1501cad9e 100644 --- a/docs/examples/0dfa9733c94bc43c6f14c7b6984c98fb.asciidoc +++ b/docs/examples/0dfa9733c94bc43c6f14c7b6984c98fb.asciidoc @@ -1,5 +1,5 @@ // This file is autogenerated, DO NOT EDIT -// cat/component-templates.asciidoc:107 +// cat/component-templates.asciidoc:113 [source, python] ---- diff --git a/docs/examples/0dfde6a9d953822fd4b3aa0121ddd8fb.asciidoc b/docs/examples/0dfde6a9d953822fd4b3aa0121ddd8fb.asciidoc index fd6c947fe..285b99308 100644 --- a/docs/examples/0dfde6a9d953822fd4b3aa0121ddd8fb.asciidoc +++ b/docs/examples/0dfde6a9d953822fd4b3aa0121ddd8fb.asciidoc @@ -1,5 +1,5 @@ // This file is autogenerated, DO NOT EDIT -// search-application/apis/search-application-render-query.asciidoc:114 +// search-application/apis/search-application-render-query.asciidoc:119 [source, python] ---- diff --git a/docs/examples/0e31b8ad176b31028becf9500989bcbd.asciidoc b/docs/examples/0e31b8ad176b31028becf9500989bcbd.asciidoc index 5965ade94..fed70ff60 100644 --- a/docs/examples/0e31b8ad176b31028becf9500989bcbd.asciidoc +++ b/docs/examples/0e31b8ad176b31028becf9500989bcbd.asciidoc @@ -1,5 +1,5 @@ // This file is autogenerated, DO NOT EDIT -// inference/service-watsonx-ai.asciidoc:96 +// inference/service-watsonx-ai.asciidoc:102 [source, python] ---- diff --git a/docs/examples/0e5d25c7bb738c42d471020d678e2966.asciidoc b/docs/examples/0e5d25c7bb738c42d471020d678e2966.asciidoc index 3baa81cf2..15393e78e 100644 --- a/docs/examples/0e5d25c7bb738c42d471020d678e2966.asciidoc +++ b/docs/examples/0e5d25c7bb738c42d471020d678e2966.asciidoc @@ -1,5 +1,5 @@ // This file is autogenerated, DO NOT EDIT -// ml/trained-models/apis/start-trained-model-deployment.asciidoc:200 +// ml/trained-models/apis/start-trained-model-deployment.asciidoc:206 [source, python] ---- diff --git a/docs/examples/0e83f140237d75469a428ff403564bb5.asciidoc b/docs/examples/0e83f140237d75469a428ff403564bb5.asciidoc deleted file mode 100644 index 32d3f186a..000000000 --- a/docs/examples/0e83f140237d75469a428ff403564bb5.asciidoc +++ /dev/null @@ -1,15 +0,0 @@ -// This file is autogenerated, DO NOT EDIT -// modules/cluster/disk_allocator.asciidoc:162 - -[source, python] ----- -resp = client.cluster.put_settings( - persistent={ - "cluster.routing.allocation.disk.watermark.low": "100gb", - "cluster.routing.allocation.disk.watermark.high": "50gb", - "cluster.routing.allocation.disk.watermark.flood_stage": "10gb", - "cluster.info.update.interval": "1m" - }, -) -print(resp) ----- diff --git a/docs/examples/0ea146b178561bc8b9002bed8a35641f.asciidoc b/docs/examples/0ea146b178561bc8b9002bed8a35641f.asciidoc index ffc82f814..c038b9ec9 100644 --- a/docs/examples/0ea146b178561bc8b9002bed8a35641f.asciidoc +++ b/docs/examples/0ea146b178561bc8b9002bed8a35641f.asciidoc @@ -1,5 +1,5 @@ // This file is autogenerated, DO NOT EDIT -// autoscaling/apis/get-autoscaling-policy.asciidoc:68 +// autoscaling/apis/get-autoscaling-policy.asciidoc:75 [source, python] ---- diff --git a/docs/examples/0ea2167ce7c87d311b20c4f8c698a8d0.asciidoc b/docs/examples/0ea2167ce7c87d311b20c4f8c698a8d0.asciidoc index bbccc1dc4..b62b18e0c 100644 --- a/docs/examples/0ea2167ce7c87d311b20c4f8c698a8d0.asciidoc +++ b/docs/examples/0ea2167ce7c87d311b20c4f8c698a8d0.asciidoc @@ -1,5 +1,5 @@ // This file is autogenerated, DO NOT EDIT -// search/point-in-time-api.asciidoc:190 +// search/point-in-time-api.asciidoc:196 [source, python] ---- diff --git a/docs/examples/0eae571e9e1c40a40cb4b1c9530a8987.asciidoc b/docs/examples/0eae571e9e1c40a40cb4b1c9530a8987.asciidoc index 3741e5dca..bb8bed4b5 100644 --- a/docs/examples/0eae571e9e1c40a40cb4b1c9530a8987.asciidoc +++ b/docs/examples/0eae571e9e1c40a40cb4b1c9530a8987.asciidoc @@ -1,5 +1,5 @@ // This file is autogenerated, DO NOT EDIT -// ilm/apis/migrate-to-data-tiers.asciidoc:154 +// ilm/apis/migrate-to-data-tiers.asciidoc:160 [source, python] ---- diff --git a/docs/examples/0f4583c56cfe5bd59eeb35bfba02957c.asciidoc b/docs/examples/0f4583c56cfe5bd59eeb35bfba02957c.asciidoc index b69dcbe47..aaeada4ee 100644 --- a/docs/examples/0f4583c56cfe5bd59eeb35bfba02957c.asciidoc +++ b/docs/examples/0f4583c56cfe5bd59eeb35bfba02957c.asciidoc @@ -1,5 +1,5 @@ // This file is autogenerated, DO NOT EDIT -// search/rank-eval.asciidoc:312 +// search/rank-eval.asciidoc:318 [source, python] ---- diff --git a/docs/examples/0f7aa40ad26d59a9268630b980a3d594.asciidoc b/docs/examples/0f7aa40ad26d59a9268630b980a3d594.asciidoc index 1efc4dc25..d76d2022a 100644 --- a/docs/examples/0f7aa40ad26d59a9268630b980a3d594.asciidoc +++ b/docs/examples/0f7aa40ad26d59a9268630b980a3d594.asciidoc @@ -1,5 +1,5 @@ // This file is autogenerated, DO NOT EDIT -// indices/simulate-template.asciidoc:55 +// indices/simulate-template.asciidoc:61 [source, python] ---- diff --git a/docs/examples/0fa220ee3fb267020382f74aa70eb1e9.asciidoc b/docs/examples/0fa220ee3fb267020382f74aa70eb1e9.asciidoc index c9dab1646..4f9bbfa21 100644 --- a/docs/examples/0fa220ee3fb267020382f74aa70eb1e9.asciidoc +++ b/docs/examples/0fa220ee3fb267020382f74aa70eb1e9.asciidoc @@ -1,5 +1,5 @@ // This file is autogenerated, DO NOT EDIT -// cluster/state.asciidoc:151 +// cluster/state.asciidoc:157 [source, python] ---- diff --git a/docs/examples/0fc4b589df5388da784c6d981e769e31.asciidoc b/docs/examples/0fc4b589df5388da784c6d981e769e31.asciidoc index 938f9a3ec..e499f3289 100644 --- a/docs/examples/0fc4b589df5388da784c6d981e769e31.asciidoc +++ b/docs/examples/0fc4b589df5388da784c6d981e769e31.asciidoc @@ -1,5 +1,5 @@ // This file is autogenerated, DO NOT EDIT -// indices/put-index-template-v1.asciidoc:149 +// indices/put-index-template-v1.asciidoc:155 [source, python] ---- diff --git a/docs/examples/0fe74ccd098c742619805a7c0bd0fae6.asciidoc b/docs/examples/0fe74ccd098c742619805a7c0bd0fae6.asciidoc index 1d1721228..ff294eab9 100644 --- a/docs/examples/0fe74ccd098c742619805a7c0bd0fae6.asciidoc +++ b/docs/examples/0fe74ccd098c742619805a7c0bd0fae6.asciidoc @@ -1,5 +1,5 @@ // This file is autogenerated, DO NOT EDIT -// transform/apis/schedule-now-transform.asciidoc:52 +// transform/apis/schedule-now-transform.asciidoc:58 [source, python] ---- diff --git a/docs/examples/10796a4efa3c2a5e9e50b6bdeb08bbb9.asciidoc b/docs/examples/10796a4efa3c2a5e9e50b6bdeb08bbb9.asciidoc index 0b6368d46..c77e550d8 100644 --- a/docs/examples/10796a4efa3c2a5e9e50b6bdeb08bbb9.asciidoc +++ b/docs/examples/10796a4efa3c2a5e9e50b6bdeb08bbb9.asciidoc @@ -1,5 +1,5 @@ // This file is autogenerated, DO NOT EDIT -// cluster/update-desired-nodes.asciidoc:74 +// cluster/update-desired-nodes.asciidoc:80 [source, python] ---- diff --git a/docs/examples/109db8ff7b715aca98de8ef1ab7e44ab.asciidoc b/docs/examples/109db8ff7b715aca98de8ef1ab7e44ab.asciidoc index 0c41f9430..433cdd913 100644 --- a/docs/examples/109db8ff7b715aca98de8ef1ab7e44ab.asciidoc +++ b/docs/examples/109db8ff7b715aca98de8ef1ab7e44ab.asciidoc @@ -1,5 +1,5 @@ // This file is autogenerated, DO NOT EDIT -// ccr/apis/follow/post-resume-follow.asciidoc:37 +// ccr/apis/follow/post-resume-follow.asciidoc:43 [source, python] ---- diff --git a/docs/examples/10b924bf6298aa6157ed00ce12f8edc1.asciidoc b/docs/examples/10b924bf6298aa6157ed00ce12f8edc1.asciidoc index 0d05f28bd..236094851 100644 --- a/docs/examples/10b924bf6298aa6157ed00ce12f8edc1.asciidoc +++ b/docs/examples/10b924bf6298aa6157ed00ce12f8edc1.asciidoc @@ -1,5 +1,5 @@ // This file is autogenerated, DO NOT EDIT -// rest-api/watcher/execute-watch.asciidoc:363 +// rest-api/watcher/execute-watch.asciidoc:369 [source, python] ---- diff --git a/docs/examples/10d9da8a3b7061479be908c8c5c76cfb.asciidoc b/docs/examples/10d9da8a3b7061479be908c8c5c76cfb.asciidoc index c1ee092f8..f0d3a5e77 100644 --- a/docs/examples/10d9da8a3b7061479be908c8c5c76cfb.asciidoc +++ b/docs/examples/10d9da8a3b7061479be908c8c5c76cfb.asciidoc @@ -1,5 +1,5 @@ // This file is autogenerated, DO NOT EDIT -// rest-api/security/get-api-keys.asciidoc:217 +// rest-api/security/get-api-keys.asciidoc:223 [source, python] ---- diff --git a/docs/examples/10f7a2c0a952ba3bc3d20b7d5f310f41.asciidoc b/docs/examples/10f7a2c0a952ba3bc3d20b7d5f310f41.asciidoc index 076157426..c1bfee71f 100644 --- a/docs/examples/10f7a2c0a952ba3bc3d20b7d5f310f41.asciidoc +++ b/docs/examples/10f7a2c0a952ba3bc3d20b7d5f310f41.asciidoc @@ -1,5 +1,5 @@ // This file is autogenerated, DO NOT EDIT -// search-application/apis/list-search-applications.asciidoc:94 +// search-application/apis/list-search-applications.asciidoc:99 [source, python] ---- diff --git a/docs/examples/114d470e752efa9672ca68d7290fada8.asciidoc b/docs/examples/114d470e752efa9672ca68d7290fada8.asciidoc index 5c3bcaac2..c37479ac3 100644 --- a/docs/examples/114d470e752efa9672ca68d7290fada8.asciidoc +++ b/docs/examples/114d470e752efa9672ca68d7290fada8.asciidoc @@ -1,5 +1,5 @@ // This file is autogenerated, DO NOT EDIT -// indices/add-alias.asciidoc:10 +// indices/add-alias.asciidoc:16 [source, python] ---- diff --git a/docs/examples/115529722ba30b0b0d51a7ff87e59198.asciidoc b/docs/examples/115529722ba30b0b0d51a7ff87e59198.asciidoc index f80eab225..b0e58c04f 100644 --- a/docs/examples/115529722ba30b0b0d51a7ff87e59198.asciidoc +++ b/docs/examples/115529722ba30b0b0d51a7ff87e59198.asciidoc @@ -1,5 +1,5 @@ // This file is autogenerated, DO NOT EDIT -// rest-api/security/get-roles.asciidoc:58 +// rest-api/security/get-roles.asciidoc:64 [source, python] ---- diff --git a/docs/examples/11c395d1649733bcab853fe31ec393b2.asciidoc b/docs/examples/11c395d1649733bcab853fe31ec393b2.asciidoc index 0d33f1a71..e1b7fe6cf 100644 --- a/docs/examples/11c395d1649733bcab853fe31ec393b2.asciidoc +++ b/docs/examples/11c395d1649733bcab853fe31ec393b2.asciidoc @@ -1,5 +1,5 @@ // This file is autogenerated, DO NOT EDIT -// licensing/get-license.asciidoc:56 +// licensing/get-license.asciidoc:62 [source, python] ---- diff --git a/docs/examples/11e772ff5dbb73408ae30a1a367a0d9b.asciidoc b/docs/examples/11e772ff5dbb73408ae30a1a367a0d9b.asciidoc index a3009b49d..3bea63ae5 100644 --- a/docs/examples/11e772ff5dbb73408ae30a1a367a0d9b.asciidoc +++ b/docs/examples/11e772ff5dbb73408ae30a1a367a0d9b.asciidoc @@ -1,5 +1,5 @@ // This file is autogenerated, DO NOT EDIT -// ingest/apis/delete-pipeline.asciidoc:91 +// ingest/apis/delete-pipeline.asciidoc:97 [source, python] ---- diff --git a/docs/examples/11e8d6e14686efabb8634b6522c05cb5.asciidoc b/docs/examples/11e8d6e14686efabb8634b6522c05cb5.asciidoc index aab84e3d3..9e854328d 100644 --- a/docs/examples/11e8d6e14686efabb8634b6522c05cb5.asciidoc +++ b/docs/examples/11e8d6e14686efabb8634b6522c05cb5.asciidoc @@ -1,5 +1,5 @@ // This file is autogenerated, DO NOT EDIT -// search/search-your-data/highlighting.asciidoc:453 +// search/search-your-data/highlighting.asciidoc:455 [source, python] ---- diff --git a/docs/examples/120fcf9f55128d6a81d5e87a9c235bbd.asciidoc b/docs/examples/120fcf9f55128d6a81d5e87a9c235bbd.asciidoc new file mode 100644 index 000000000..5fb759d64 --- /dev/null +++ b/docs/examples/120fcf9f55128d6a81d5e87a9c235bbd.asciidoc @@ -0,0 +1,21 @@ +// This file is autogenerated, DO NOT EDIT +// inference/chat-completion-inference.asciidoc:301 + +[source, python] +---- +resp = client.perform_request( + "POST", + "/_inference/chat_completion/openai-completion/_stream", + headers={"Content-Type": "application/json"}, + body={ + "model": "gpt-4o", + "messages": [ + { + "role": "user", + "content": "What is Elastic?" + } + ] + }, +) +print(resp) +---- diff --git a/docs/examples/12433d2b637d002e8d5c9a1adce69d3b.asciidoc b/docs/examples/12433d2b637d002e8d5c9a1adce69d3b.asciidoc index 210b477f5..3d588dde2 100644 --- a/docs/examples/12433d2b637d002e8d5c9a1adce69d3b.asciidoc +++ b/docs/examples/12433d2b637d002e8d5c9a1adce69d3b.asciidoc @@ -1,5 +1,5 @@ // This file is autogenerated, DO NOT EDIT -// indices/put-mapping.asciidoc:100 +// indices/put-mapping.asciidoc:106 [source, python] ---- diff --git a/docs/examples/1259a9c151730e42de35bb2d1ba700c6.asciidoc b/docs/examples/1259a9c151730e42de35bb2d1ba700c6.asciidoc index b9f36704e..71588e2ce 100644 --- a/docs/examples/1259a9c151730e42de35bb2d1ba700c6.asciidoc +++ b/docs/examples/1259a9c151730e42de35bb2d1ba700c6.asciidoc @@ -1,5 +1,5 @@ // This file is autogenerated, DO NOT EDIT -// indices/get-mapping.asciidoc:70 +// indices/get-mapping.asciidoc:76 [source, python] ---- diff --git a/docs/examples/128283698535116931dca9d16a16dca2.asciidoc b/docs/examples/128283698535116931dca9d16a16dca2.asciidoc index 70028cd42..905f74f10 100644 --- a/docs/examples/128283698535116931dca9d16a16dca2.asciidoc +++ b/docs/examples/128283698535116931dca9d16a16dca2.asciidoc @@ -1,5 +1,5 @@ // This file is autogenerated, DO NOT EDIT -// rest-api/security/get-roles.asciidoc:93 +// rest-api/security/get-roles.asciidoc:99 [source, python] ---- diff --git a/docs/examples/1295f51b9e5d4ba9987b02478146b50b.asciidoc b/docs/examples/1295f51b9e5d4ba9987b02478146b50b.asciidoc index 69cab898b..7c4537814 100644 --- a/docs/examples/1295f51b9e5d4ba9987b02478146b50b.asciidoc +++ b/docs/examples/1295f51b9e5d4ba9987b02478146b50b.asciidoc @@ -1,5 +1,5 @@ // This file is autogenerated, DO NOT EDIT -// troubleshooting/common-issues/high-jvm-memory-pressure.asciidoc:72 +// troubleshooting/common-issues/high-jvm-memory-pressure.asciidoc:76 [source, python] ---- diff --git a/docs/examples/12d5ff4b8d3d832b32a7e7e2a520d0bb.asciidoc b/docs/examples/12d5ff4b8d3d832b32a7e7e2a520d0bb.asciidoc index 8b8fe870b..dd56d383e 100644 --- a/docs/examples/12d5ff4b8d3d832b32a7e7e2a520d0bb.asciidoc +++ b/docs/examples/12d5ff4b8d3d832b32a7e7e2a520d0bb.asciidoc @@ -1,5 +1,5 @@ // This file is autogenerated, DO NOT EDIT -// ml/anomaly-detection/apis/get-calendar-event.asciidoc:156 +// ml/anomaly-detection/apis/get-calendar-event.asciidoc:162 [source, python] ---- diff --git a/docs/examples/135819da3a4bde684357c57a49ad8e85.asciidoc b/docs/examples/135819da3a4bde684357c57a49ad8e85.asciidoc index 90a789649..dae5a72e5 100644 --- a/docs/examples/135819da3a4bde684357c57a49ad8e85.asciidoc +++ b/docs/examples/135819da3a4bde684357c57a49ad8e85.asciidoc @@ -1,5 +1,5 @@ // This file is autogenerated, DO NOT EDIT -// migration/apis/deprecation.asciidoc:61 +// migration/apis/deprecation.asciidoc:67 [source, python] ---- diff --git a/docs/examples/136ae86b8d497dda799cf1cb583df929.asciidoc b/docs/examples/136ae86b8d497dda799cf1cb583df929.asciidoc index fbcdd4845..b49a8add3 100644 --- a/docs/examples/136ae86b8d497dda799cf1cb583df929.asciidoc +++ b/docs/examples/136ae86b8d497dda799cf1cb583df929.asciidoc @@ -1,5 +1,5 @@ // This file is autogenerated, DO NOT EDIT -// indices/get-field-mapping.asciidoc:74 +// indices/get-field-mapping.asciidoc:80 [source, python] ---- diff --git a/docs/examples/137709a0a0dc38d6094291c9fc75b804.asciidoc b/docs/examples/137709a0a0dc38d6094291c9fc75b804.asciidoc index 3219eef08..9efbb0b9b 100644 --- a/docs/examples/137709a0a0dc38d6094291c9fc75b804.asciidoc +++ b/docs/examples/137709a0a0dc38d6094291c9fc75b804.asciidoc @@ -1,5 +1,5 @@ // This file is autogenerated, DO NOT EDIT -// docs/get.asciidoc:342 +// docs/get.asciidoc:348 [source, python] ---- diff --git a/docs/examples/138f7703c47ddf63633fdf5ca9bc7fa4.asciidoc b/docs/examples/138f7703c47ddf63633fdf5ca9bc7fa4.asciidoc index 7790b2fca..7c7526192 100644 --- a/docs/examples/138f7703c47ddf63633fdf5ca9bc7fa4.asciidoc +++ b/docs/examples/138f7703c47ddf63633fdf5ca9bc7fa4.asciidoc @@ -1,5 +1,5 @@ // This file is autogenerated, DO NOT EDIT -// docs/get.asciidoc:385 +// docs/get.asciidoc:391 [source, python] ---- diff --git a/docs/examples/13d90ba227131aefbf4fcfd5992e662a.asciidoc b/docs/examples/13d90ba227131aefbf4fcfd5992e662a.asciidoc index 4a7ac32aa..fc457fe4e 100644 --- a/docs/examples/13d90ba227131aefbf4fcfd5992e662a.asciidoc +++ b/docs/examples/13d90ba227131aefbf4fcfd5992e662a.asciidoc @@ -1,5 +1,5 @@ // This file is autogenerated, DO NOT EDIT -// query-dsl/bool-query.asciidoc:156 +// query-dsl/bool-query.asciidoc:159 [source, python] ---- diff --git a/docs/examples/13df08eefc9ba98e311793bbca74133b.asciidoc b/docs/examples/13df08eefc9ba98e311793bbca74133b.asciidoc index 4a3854b00..352868b73 100644 --- a/docs/examples/13df08eefc9ba98e311793bbca74133b.asciidoc +++ b/docs/examples/13df08eefc9ba98e311793bbca74133b.asciidoc @@ -1,5 +1,5 @@ // This file is autogenerated, DO NOT EDIT -// rest-api/security/get-user-profile.asciidoc:109 +// rest-api/security/get-user-profile.asciidoc:115 [source, python] ---- diff --git a/docs/examples/13ebcb01ebf1b5d2b5c52739db47e30c.asciidoc b/docs/examples/13ebcb01ebf1b5d2b5c52739db47e30c.asciidoc index 29086570d..c2870a215 100644 --- a/docs/examples/13ebcb01ebf1b5d2b5c52739db47e30c.asciidoc +++ b/docs/examples/13ebcb01ebf1b5d2b5c52739db47e30c.asciidoc @@ -1,5 +1,5 @@ // This file is autogenerated, DO NOT EDIT -// indices/recovery.asciidoc:179 +// indices/recovery.asciidoc:185 [source, python] ---- diff --git a/docs/examples/13ecdf99114098c76b050397d9c3d4e6.asciidoc b/docs/examples/13ecdf99114098c76b050397d9c3d4e6.asciidoc index 67a855b1c..442cbc631 100644 --- a/docs/examples/13ecdf99114098c76b050397d9c3d4e6.asciidoc +++ b/docs/examples/13ecdf99114098c76b050397d9c3d4e6.asciidoc @@ -1,5 +1,5 @@ // This file is autogenerated, DO NOT EDIT -// inference/post-inference.asciidoc:196 +// inference/post-inference.asciidoc:202 [source, python] ---- diff --git a/docs/examples/141ef0ebaa3b0772892b79b9bb85efb0.asciidoc b/docs/examples/141ef0ebaa3b0772892b79b9bb85efb0.asciidoc new file mode 100644 index 000000000..11d594a0f --- /dev/null +++ b/docs/examples/141ef0ebaa3b0772892b79b9bb85efb0.asciidoc @@ -0,0 +1,16 @@ +// This file is autogenerated, DO NOT EDIT +// inference/update-inference.asciidoc:83 + +[source, python] +---- +resp = client.inference.put( + task_type="my-inference-endpoint", + inference_id="_update", + inference_config={ + "service_settings": { + "api_key": "" + } + }, +) +print(resp) +---- diff --git a/docs/examples/1420a22aa817c7a996baaed0ad366d6f.asciidoc b/docs/examples/1420a22aa817c7a996baaed0ad366d6f.asciidoc deleted file mode 100644 index e6437237a..000000000 --- a/docs/examples/1420a22aa817c7a996baaed0ad366d6f.asciidoc +++ /dev/null @@ -1,22 +0,0 @@ -// This file is autogenerated, DO NOT EDIT -// query-dsl/semantic-query.asciidoc:143 - -[source, python] ----- -resp = client.search( - index="test-index", - query={ - "nested": { - "path": "inference_field.inference.chunks", - "query": { - "sparse_vector": { - "field": "inference_field.inference.chunks.embeddings", - "inference_id": "my-inference-id", - "query": "mountain lake" - } - } - } - }, -) -print(resp) ----- diff --git a/docs/examples/146bd22fd0e7be2345619e8f11d3a4cb.asciidoc b/docs/examples/146bd22fd0e7be2345619e8f11d3a4cb.asciidoc index 4e1e563b6..9ad89f39c 100644 --- a/docs/examples/146bd22fd0e7be2345619e8f11d3a4cb.asciidoc +++ b/docs/examples/146bd22fd0e7be2345619e8f11d3a4cb.asciidoc @@ -1,5 +1,5 @@ // This file is autogenerated, DO NOT EDIT -// troubleshooting/common-issues/hotspotting.asciidoc:249 +// troubleshooting/common-issues/hotspotting.asciidoc:253 [source, python] ---- diff --git a/docs/examples/147d341cb212dcc015c129a9c5dcf9c9.asciidoc b/docs/examples/147d341cb212dcc015c129a9c5dcf9c9.asciidoc index b4f01a0ca..832d1d5d8 100644 --- a/docs/examples/147d341cb212dcc015c129a9c5dcf9c9.asciidoc +++ b/docs/examples/147d341cb212dcc015c129a9c5dcf9c9.asciidoc @@ -1,5 +1,5 @@ // This file is autogenerated, DO NOT EDIT -// ml/trained-models/apis/put-trained-models-aliases.asciidoc:82 +// ml/trained-models/apis/put-trained-models-aliases.asciidoc:87 [source, python] ---- diff --git a/docs/examples/14a33c364873c2f930ca83d0a3005389.asciidoc b/docs/examples/14a33c364873c2f930ca83d0a3005389.asciidoc index a609fa01a..140091a2a 100644 --- a/docs/examples/14a33c364873c2f930ca83d0a3005389.asciidoc +++ b/docs/examples/14a33c364873c2f930ca83d0a3005389.asciidoc @@ -1,5 +1,5 @@ // This file is autogenerated, DO NOT EDIT -// troubleshooting/common-issues/disk-usage-exceeded.asciidoc:42 +// troubleshooting/common-issues/disk-usage-exceeded.asciidoc:46 [source, python] ---- diff --git a/docs/examples/14b81f96297952970b78a3216e059596.asciidoc b/docs/examples/14b81f96297952970b78a3216e059596.asciidoc index 11c9b50c0..fbcc88b3c 100644 --- a/docs/examples/14b81f96297952970b78a3216e059596.asciidoc +++ b/docs/examples/14b81f96297952970b78a3216e059596.asciidoc @@ -1,5 +1,5 @@ // This file is autogenerated, DO NOT EDIT -// search/async-search.asciidoc:153 +// search/async-search.asciidoc:159 [source, python] ---- diff --git a/docs/examples/150b5fee5678bf8cdf0932da73eada80.asciidoc b/docs/examples/150b5fee5678bf8cdf0932da73eada80.asciidoc index f5004f878..034357a7b 100644 --- a/docs/examples/150b5fee5678bf8cdf0932da73eada80.asciidoc +++ b/docs/examples/150b5fee5678bf8cdf0932da73eada80.asciidoc @@ -1,5 +1,5 @@ // This file is autogenerated, DO NOT EDIT -// cluster/nodes-stats.asciidoc:2550 +// cluster/nodes-stats.asciidoc:2556 [source, python] ---- diff --git a/docs/examples/1570976f7807b88dc8a046b833be057b.asciidoc b/docs/examples/1570976f7807b88dc8a046b833be057b.asciidoc index 293680f4f..fe84afc8a 100644 --- a/docs/examples/1570976f7807b88dc8a046b833be057b.asciidoc +++ b/docs/examples/1570976f7807b88dc8a046b833be057b.asciidoc @@ -1,5 +1,5 @@ // This file is autogenerated, DO NOT EDIT -// troubleshooting/common-issues/hotspotting.asciidoc:30 +// troubleshooting/common-issues/hotspotting.asciidoc:34 [source, python] ---- diff --git a/docs/examples/15a34bfe0ef8ef6333c8c7b55c011e5d.asciidoc b/docs/examples/15a34bfe0ef8ef6333c8c7b55c011e5d.asciidoc index d6f040464..f5aa74945 100644 --- a/docs/examples/15a34bfe0ef8ef6333c8c7b55c011e5d.asciidoc +++ b/docs/examples/15a34bfe0ef8ef6333c8c7b55c011e5d.asciidoc @@ -1,5 +1,5 @@ // This file is autogenerated, DO NOT EDIT -// indices/analyze.asciidoc:269 +// indices/analyze.asciidoc:275 [source, python] ---- diff --git a/docs/examples/162b5b693b713f0bfab1209d59443c46.asciidoc b/docs/examples/162b5b693b713f0bfab1209d59443c46.asciidoc index 2f6bf0c47..044c538d9 100644 --- a/docs/examples/162b5b693b713f0bfab1209d59443c46.asciidoc +++ b/docs/examples/162b5b693b713f0bfab1209d59443c46.asciidoc @@ -1,5 +1,5 @@ // This file is autogenerated, DO NOT EDIT -// query-dsl/bool-query.asciidoc:130 +// query-dsl/bool-query.asciidoc:133 [source, python] ---- diff --git a/docs/examples/1637ef51d673b35cc8894ee80cd61c87.asciidoc b/docs/examples/1637ef51d673b35cc8894ee80cd61c87.asciidoc index 3701d222a..b56c30f38 100644 --- a/docs/examples/1637ef51d673b35cc8894ee80cd61c87.asciidoc +++ b/docs/examples/1637ef51d673b35cc8894ee80cd61c87.asciidoc @@ -1,5 +1,5 @@ // This file is autogenerated, DO NOT EDIT -// troubleshooting/common-issues/high-cpu-usage.asciidoc:24 +// troubleshooting/common-issues/high-cpu-usage.asciidoc:28 [source, python] ---- diff --git a/docs/examples/166bcfc6d5d39defec7ad6aa44d0914b.asciidoc b/docs/examples/166bcfc6d5d39defec7ad6aa44d0914b.asciidoc index e6e17b4a9..b0fb68c8f 100644 --- a/docs/examples/166bcfc6d5d39defec7ad6aa44d0914b.asciidoc +++ b/docs/examples/166bcfc6d5d39defec7ad6aa44d0914b.asciidoc @@ -1,5 +1,5 @@ // This file is autogenerated, DO NOT EDIT -// cluster/tasks.asciidoc:74 +// cluster/tasks.asciidoc:80 [source, python] ---- diff --git a/docs/examples/16985e5b17d2da0955a14fbe02e8dfca.asciidoc b/docs/examples/16985e5b17d2da0955a14fbe02e8dfca.asciidoc index 896661d47..e4a014c33 100644 --- a/docs/examples/16985e5b17d2da0955a14fbe02e8dfca.asciidoc +++ b/docs/examples/16985e5b17d2da0955a14fbe02e8dfca.asciidoc @@ -1,5 +1,5 @@ // This file is autogenerated, DO NOT EDIT -// docs/termvectors.asciidoc:237 +// docs/termvectors.asciidoc:243 [source, python] ---- diff --git a/docs/examples/172155ca4bf6dfcbd489453f50739396.asciidoc b/docs/examples/172155ca4bf6dfcbd489453f50739396.asciidoc index dcf168990..872e66960 100644 --- a/docs/examples/172155ca4bf6dfcbd489453f50739396.asciidoc +++ b/docs/examples/172155ca4bf6dfcbd489453f50739396.asciidoc @@ -1,5 +1,5 @@ // This file is autogenerated, DO NOT EDIT -// snapshot-restore/apis/get-snapshot-api.asciidoc:402 +// snapshot-restore/apis/get-snapshot-api.asciidoc:408 [source, python] ---- diff --git a/docs/examples/17266cee5eaaddf08e5534bf580a1910.asciidoc b/docs/examples/17266cee5eaaddf08e5534bf580a1910.asciidoc index 3cc4afa13..595478934 100644 --- a/docs/examples/17266cee5eaaddf08e5534bf580a1910.asciidoc +++ b/docs/examples/17266cee5eaaddf08e5534bf580a1910.asciidoc @@ -1,5 +1,5 @@ // This file is autogenerated, DO NOT EDIT -// rest-api/watcher/stats.asciidoc:84 +// rest-api/watcher/stats.asciidoc:90 [source, python] ---- diff --git a/docs/examples/17566e23c191f1004a2719f2c4242307.asciidoc b/docs/examples/17566e23c191f1004a2719f2c4242307.asciidoc index 0c0a031e1..28428b6a7 100644 --- a/docs/examples/17566e23c191f1004a2719f2c4242307.asciidoc +++ b/docs/examples/17566e23c191f1004a2719f2c4242307.asciidoc @@ -1,5 +1,5 @@ // This file is autogenerated, DO NOT EDIT -// autoscaling/apis/get-autoscaling-capacity.asciidoc:262 +// autoscaling/apis/get-autoscaling-capacity.asciidoc:268 [source, python] ---- diff --git a/docs/examples/178c920d5e8ec0071f77290fa059802c.asciidoc b/docs/examples/178c920d5e8ec0071f77290fa059802c.asciidoc index b95beb841..4f7a123ae 100644 --- a/docs/examples/178c920d5e8ec0071f77290fa059802c.asciidoc +++ b/docs/examples/178c920d5e8ec0071f77290fa059802c.asciidoc @@ -1,5 +1,5 @@ // This file is autogenerated, DO NOT EDIT -// indices/update-settings.asciidoc:132 +// indices/update-settings.asciidoc:138 [source, python] ---- diff --git a/docs/examples/17a1e308761afd3282f13d44d7be008a.asciidoc b/docs/examples/17a1e308761afd3282f13d44d7be008a.asciidoc index 5b1d31173..ee6770cd1 100644 --- a/docs/examples/17a1e308761afd3282f13d44d7be008a.asciidoc +++ b/docs/examples/17a1e308761afd3282f13d44d7be008a.asciidoc @@ -1,5 +1,5 @@ // This file is autogenerated, DO NOT EDIT -// search/search-your-data/highlighting.asciidoc:685 +// search/search-your-data/highlighting.asciidoc:687 [source, python] ---- diff --git a/docs/examples/17c2b0a6b0305804ff3b7fd3b4a68df3.asciidoc b/docs/examples/17c2b0a6b0305804ff3b7fd3b4a68df3.asciidoc index 06dbd0899..94f19586c 100644 --- a/docs/examples/17c2b0a6b0305804ff3b7fd3b4a68df3.asciidoc +++ b/docs/examples/17c2b0a6b0305804ff3b7fd3b4a68df3.asciidoc @@ -1,5 +1,5 @@ // This file is autogenerated, DO NOT EDIT -// ingest/apis/simulate-pipeline.asciidoc:217 +// ingest/apis/simulate-pipeline.asciidoc:223 [source, python] ---- diff --git a/docs/examples/18ddb7e7a4bcafd449df956e828ed7a8.asciidoc b/docs/examples/18ddb7e7a4bcafd449df956e828ed7a8.asciidoc index 34fce2eb6..b64153dde 100644 --- a/docs/examples/18ddb7e7a4bcafd449df956e828ed7a8.asciidoc +++ b/docs/examples/18ddb7e7a4bcafd449df956e828ed7a8.asciidoc @@ -1,5 +1,5 @@ // This file is autogenerated, DO NOT EDIT -// docs/update-by-query.asciidoc:546 +// docs/update-by-query.asciidoc:552 [source, python] ---- diff --git a/docs/examples/190a21e32db2125ddaea0f634e126a84.asciidoc b/docs/examples/190a21e32db2125ddaea0f634e126a84.asciidoc index be5b2b5c9..97747b9ec 100644 --- a/docs/examples/190a21e32db2125ddaea0f634e126a84.asciidoc +++ b/docs/examples/190a21e32db2125ddaea0f634e126a84.asciidoc @@ -1,5 +1,5 @@ // This file is autogenerated, DO NOT EDIT -// indices/clone-index.asciidoc:91 +// indices/clone-index.asciidoc:97 [source, python] ---- diff --git a/docs/examples/194bbac15e709174ac85b681f3a3d137.asciidoc b/docs/examples/194bbac15e709174ac85b681f3a3d137.asciidoc index 9ace291db..6c8c37a22 100644 --- a/docs/examples/194bbac15e709174ac85b681f3a3d137.asciidoc +++ b/docs/examples/194bbac15e709174ac85b681f3a3d137.asciidoc @@ -1,5 +1,5 @@ // This file is autogenerated, DO NOT EDIT -// indices/put-index-template.asciidoc:189 +// indices/put-index-template.asciidoc:195 [source, python] ---- diff --git a/docs/examples/196aed02b11def364bab84e455c1a073.asciidoc b/docs/examples/196aed02b11def364bab84e455c1a073.asciidoc index 8eeb99faf..bdc7e4d76 100644 --- a/docs/examples/196aed02b11def364bab84e455c1a073.asciidoc +++ b/docs/examples/196aed02b11def364bab84e455c1a073.asciidoc @@ -1,5 +1,5 @@ // This file is autogenerated, DO NOT EDIT -// indices/put-index-template.asciidoc:327 +// indices/put-index-template.asciidoc:333 [source, python] ---- diff --git a/docs/examples/19c00c6b29bc7dbc5e92b3668da2da93.asciidoc b/docs/examples/19c00c6b29bc7dbc5e92b3668da2da93.asciidoc index 14c5ebf96..3f54b088b 100644 --- a/docs/examples/19c00c6b29bc7dbc5e92b3668da2da93.asciidoc +++ b/docs/examples/19c00c6b29bc7dbc5e92b3668da2da93.asciidoc @@ -1,5 +1,5 @@ // This file is autogenerated, DO NOT EDIT -// ingest/apis/simulate-ingest.asciidoc:273 +// ingest/apis/simulate-ingest.asciidoc:279 [source, python] ---- diff --git a/docs/examples/1a1f3421717ff744ed83232729289bb0.asciidoc b/docs/examples/1a1f3421717ff744ed83232729289bb0.asciidoc index 03648bd41..09e201a7b 100644 --- a/docs/examples/1a1f3421717ff744ed83232729289bb0.asciidoc +++ b/docs/examples/1a1f3421717ff744ed83232729289bb0.asciidoc @@ -1,5 +1,5 @@ // This file is autogenerated, DO NOT EDIT -// slm/apis/slm-delete.asciidoc:65 +// slm/apis/slm-delete.asciidoc:71 [source, python] ---- diff --git a/docs/examples/1a3897cfb4f974c09d0d847baac8aa6d.asciidoc b/docs/examples/1a3897cfb4f974c09d0d847baac8aa6d.asciidoc index 3935ff8bc..d122e4ea3 100644 --- a/docs/examples/1a3897cfb4f974c09d0d847baac8aa6d.asciidoc +++ b/docs/examples/1a3897cfb4f974c09d0d847baac8aa6d.asciidoc @@ -1,5 +1,5 @@ // This file is autogenerated, DO NOT EDIT -// troubleshooting/common-issues/hotspotting.asciidoc:192 +// troubleshooting/common-issues/hotspotting.asciidoc:196 [source, python] ---- diff --git a/docs/examples/1a3a4b8a4bfee4ab84ddd13d8835f560.asciidoc b/docs/examples/1a3a4b8a4bfee4ab84ddd13d8835f560.asciidoc index 94c618bb8..1c3d79093 100644 --- a/docs/examples/1a3a4b8a4bfee4ab84ddd13d8835f560.asciidoc +++ b/docs/examples/1a3a4b8a4bfee4ab84ddd13d8835f560.asciidoc @@ -1,5 +1,5 @@ // This file is autogenerated, DO NOT EDIT -// ml/df-analytics/apis/start-dfanalytics.asciidoc:82 +// ml/df-analytics/apis/start-dfanalytics.asciidoc:88 [source, python] ---- diff --git a/docs/examples/1a8d92e93481c432a91f7c213099800a.asciidoc b/docs/examples/1a8d92e93481c432a91f7c213099800a.asciidoc index 8f5bbf405..6a6e71c2d 100644 --- a/docs/examples/1a8d92e93481c432a91f7c213099800a.asciidoc +++ b/docs/examples/1a8d92e93481c432a91f7c213099800a.asciidoc @@ -1,5 +1,5 @@ // This file is autogenerated, DO NOT EDIT -// rest-api/security/query-api-key.asciidoc:290 +// rest-api/security/query-api-key.asciidoc:295 [source, python] ---- diff --git a/docs/examples/1a9e03ce0355872a7db27fedc783fbec.asciidoc b/docs/examples/1a9e03ce0355872a7db27fedc783fbec.asciidoc index c5c8f0d23..8de0fcb9a 100644 --- a/docs/examples/1a9e03ce0355872a7db27fedc783fbec.asciidoc +++ b/docs/examples/1a9e03ce0355872a7db27fedc783fbec.asciidoc @@ -1,5 +1,5 @@ // This file is autogenerated, DO NOT EDIT -// inference/service-google-vertex-ai.asciidoc:145 +// inference/service-google-vertex-ai.asciidoc:151 [source, python] ---- diff --git a/docs/examples/1a9efb56adb2cd84faa9825a129381b9.asciidoc b/docs/examples/1a9efb56adb2cd84faa9825a129381b9.asciidoc index 590880dfc..870811976 100644 --- a/docs/examples/1a9efb56adb2cd84faa9825a129381b9.asciidoc +++ b/docs/examples/1a9efb56adb2cd84faa9825a129381b9.asciidoc @@ -1,5 +1,5 @@ // This file is autogenerated, DO NOT EDIT -// rollup/apis/rollup-search.asciidoc:213 +// rollup/apis/rollup-search.asciidoc:219 [source, python] ---- diff --git a/docs/examples/1aa91d3d48140d6367b6cabca8737b8f.asciidoc b/docs/examples/1aa91d3d48140d6367b6cabca8737b8f.asciidoc index 13dde6669..17dc48f5e 100644 --- a/docs/examples/1aa91d3d48140d6367b6cabca8737b8f.asciidoc +++ b/docs/examples/1aa91d3d48140d6367b6cabca8737b8f.asciidoc @@ -1,5 +1,5 @@ // This file is autogenerated, DO NOT EDIT -// docs/bulk.asciidoc:636 +// docs/bulk.asciidoc:642 [source, python] ---- diff --git a/docs/examples/1b076ceb1ead9f6897c2f351f0e45f74.asciidoc b/docs/examples/1b076ceb1ead9f6897c2f351f0e45f74.asciidoc index 937867c30..d2cf9d555 100644 --- a/docs/examples/1b076ceb1ead9f6897c2f351f0e45f74.asciidoc +++ b/docs/examples/1b076ceb1ead9f6897c2f351f0e45f74.asciidoc @@ -1,5 +1,5 @@ // This file is autogenerated, DO NOT EDIT -// rest-api/security/create-api-keys.asciidoc:220 +// rest-api/security/create-api-keys.asciidoc:226 [source, python] ---- diff --git a/docs/examples/1b0b29e5cd7550c648d0892378e93804.asciidoc b/docs/examples/1b0b29e5cd7550c648d0892378e93804.asciidoc index f5f77f18a..f6c38af80 100644 --- a/docs/examples/1b0b29e5cd7550c648d0892378e93804.asciidoc +++ b/docs/examples/1b0b29e5cd7550c648d0892378e93804.asciidoc @@ -1,5 +1,5 @@ // This file is autogenerated, DO NOT EDIT -// ml/anomaly-detection/apis/delete-calendar-job.asciidoc:36 +// ml/anomaly-detection/apis/delete-calendar-job.asciidoc:42 [source, python] ---- diff --git a/docs/examples/1b0dc9d076bbb58c6a2953ef4323d2fc.asciidoc b/docs/examples/1b0dc9d076bbb58c6a2953ef4323d2fc.asciidoc index b6018227b..080538e48 100644 --- a/docs/examples/1b0dc9d076bbb58c6a2953ef4323d2fc.asciidoc +++ b/docs/examples/1b0dc9d076bbb58c6a2953ef4323d2fc.asciidoc @@ -1,5 +1,5 @@ // This file is autogenerated, DO NOT EDIT -// rest-api/watcher/ack-watch.asciidoc:190 +// rest-api/watcher/ack-watch.asciidoc:196 [source, python] ---- diff --git a/docs/examples/1b2ab75d3c8064fac6ecc63104396c02.asciidoc b/docs/examples/1b2ab75d3c8064fac6ecc63104396c02.asciidoc index f06ba7169..1bb8b3564 100644 --- a/docs/examples/1b2ab75d3c8064fac6ecc63104396c02.asciidoc +++ b/docs/examples/1b2ab75d3c8064fac6ecc63104396c02.asciidoc @@ -1,5 +1,5 @@ // This file is autogenerated, DO NOT EDIT -// ml/anomaly-detection/apis/put-calendar-job.asciidoc:36 +// ml/anomaly-detection/apis/put-calendar-job.asciidoc:42 [source, python] ---- diff --git a/docs/examples/1b3762712c14a19e8c2956b4f530d327.asciidoc b/docs/examples/1b3762712c14a19e8c2956b4f530d327.asciidoc index 9756e7301..a93efc331 100644 --- a/docs/examples/1b3762712c14a19e8c2956b4f530d327.asciidoc +++ b/docs/examples/1b3762712c14a19e8c2956b4f530d327.asciidoc @@ -1,5 +1,5 @@ // This file is autogenerated, DO NOT EDIT -// ccr/apis/follow/put-follow.asciidoc:108 +// ccr/apis/follow/put-follow.asciidoc:114 [source, python] ---- diff --git a/docs/examples/1c3e3c4f2d268f1826a9b417e1868a58.asciidoc b/docs/examples/1c3e3c4f2d268f1826a9b417e1868a58.asciidoc index 059651182..6134ccb03 100644 --- a/docs/examples/1c3e3c4f2d268f1826a9b417e1868a58.asciidoc +++ b/docs/examples/1c3e3c4f2d268f1826a9b417e1868a58.asciidoc @@ -1,5 +1,5 @@ // This file is autogenerated, DO NOT EDIT -// scripting/using.asciidoc:312 +// scripting/using.asciidoc:317 [source, python] ---- diff --git a/docs/examples/1c8b6768c4eefc76fcb38708152f561b.asciidoc b/docs/examples/1c8b6768c4eefc76fcb38708152f561b.asciidoc index aa1420b78..1d350ebc2 100644 --- a/docs/examples/1c8b6768c4eefc76fcb38708152f561b.asciidoc +++ b/docs/examples/1c8b6768c4eefc76fcb38708152f561b.asciidoc @@ -1,5 +1,5 @@ // This file is autogenerated, DO NOT EDIT -// ml/df-analytics/apis/delete-dfanalytics.asciidoc:51 +// ml/df-analytics/apis/delete-dfanalytics.asciidoc:57 [source, python] ---- diff --git a/docs/examples/1cecd4d87a92427175157d41859df2af.asciidoc b/docs/examples/1cecd4d87a92427175157d41859df2af.asciidoc index 5e73037d0..593c0dd4e 100644 --- a/docs/examples/1cecd4d87a92427175157d41859df2af.asciidoc +++ b/docs/examples/1cecd4d87a92427175157d41859df2af.asciidoc @@ -1,5 +1,5 @@ // This file is autogenerated, DO NOT EDIT -// cluster/allocation-explain.asciidoc:10 +// cluster/allocation-explain.asciidoc:16 [source, python] ---- diff --git a/docs/examples/1d252d9217c61c2c1cbe7a92f77b078f.asciidoc b/docs/examples/1d252d9217c61c2c1cbe7a92f77b078f.asciidoc index 442eae70f..2e758afa8 100644 --- a/docs/examples/1d252d9217c61c2c1cbe7a92f77b078f.asciidoc +++ b/docs/examples/1d252d9217c61c2c1cbe7a92f77b078f.asciidoc @@ -1,5 +1,5 @@ // This file is autogenerated, DO NOT EDIT -// rest-api/security/query-api-key.asciidoc:608 +// rest-api/security/query-api-key.asciidoc:613 [source, python] ---- diff --git a/docs/examples/1dadb7efe27b6c0c231eb6535e413bd9.asciidoc b/docs/examples/1dadb7efe27b6c0c231eb6535e413bd9.asciidoc index 631cc34b0..753a4b9d6 100644 --- a/docs/examples/1dadb7efe27b6c0c231eb6535e413bd9.asciidoc +++ b/docs/examples/1dadb7efe27b6c0c231eb6535e413bd9.asciidoc @@ -1,5 +1,5 @@ // This file is autogenerated, DO NOT EDIT -// inference/service-azure-ai-studio.asciidoc:162 +// inference/service-azure-ai-studio.asciidoc:168 [source, python] ---- diff --git a/docs/examples/1db715eb00832686ecddb6603684fc26.asciidoc b/docs/examples/1db715eb00832686ecddb6603684fc26.asciidoc index 9e6c2b2c5..7c5a300e6 100644 --- a/docs/examples/1db715eb00832686ecddb6603684fc26.asciidoc +++ b/docs/examples/1db715eb00832686ecddb6603684fc26.asciidoc @@ -1,5 +1,5 @@ // This file is autogenerated, DO NOT EDIT -// rest-api/security/enroll-kibana.asciidoc:28 +// rest-api/security/enroll-kibana.asciidoc:34 [source, python] ---- diff --git a/docs/examples/1e08e054c761353f99211cd18e8ca47b.asciidoc b/docs/examples/1e08e054c761353f99211cd18e8ca47b.asciidoc index c4ff7e042..abd862bc3 100644 --- a/docs/examples/1e08e054c761353f99211cd18e8ca47b.asciidoc +++ b/docs/examples/1e08e054c761353f99211cd18e8ca47b.asciidoc @@ -1,5 +1,5 @@ // This file is autogenerated, DO NOT EDIT -// ml/anomaly-detection/apis/delete-snapshot.asciidoc:43 +// ml/anomaly-detection/apis/delete-snapshot.asciidoc:49 [source, python] ---- diff --git a/docs/examples/1e26353d546d733634187b8c3a7837a7.asciidoc b/docs/examples/1e26353d546d733634187b8c3a7837a7.asciidoc index e5f2463f7..37cc447f6 100644 --- a/docs/examples/1e26353d546d733634187b8c3a7837a7.asciidoc +++ b/docs/examples/1e26353d546d733634187b8c3a7837a7.asciidoc @@ -1,5 +1,5 @@ // This file is autogenerated, DO NOT EDIT -// connector/apis/list-connectors-api.asciidoc:101 +// connector/apis/list-connectors-api.asciidoc:110 [source, python] ---- diff --git a/docs/examples/1e3384bc255729b65a6f0fc8011ff733.asciidoc b/docs/examples/1e3384bc255729b65a6f0fc8011ff733.asciidoc index e0a2d183c..f37ae1db0 100644 --- a/docs/examples/1e3384bc255729b65a6f0fc8011ff733.asciidoc +++ b/docs/examples/1e3384bc255729b65a6f0fc8011ff733.asciidoc @@ -1,5 +1,5 @@ // This file is autogenerated, DO NOT EDIT -// indices/segments.asciidoc:12 +// indices/segments.asciidoc:18 [source, python] ---- diff --git a/docs/examples/1e3553a73da487017f7a95088b6aa957.asciidoc b/docs/examples/1e3553a73da487017f7a95088b6aa957.asciidoc index 2b259046e..f481e9086 100644 --- a/docs/examples/1e3553a73da487017f7a95088b6aa957.asciidoc +++ b/docs/examples/1e3553a73da487017f7a95088b6aa957.asciidoc @@ -1,5 +1,5 @@ // This file is autogenerated, DO NOT EDIT -// rest-api/security/clear-roles-cache.asciidoc:56 +// rest-api/security/clear-roles-cache.asciidoc:62 [source, python] ---- diff --git a/docs/examples/1ed26c7b445ab1c167bd9385e1f0066f.asciidoc b/docs/examples/1ed26c7b445ab1c167bd9385e1f0066f.asciidoc index fcf34c209..cd92b0ba4 100644 --- a/docs/examples/1ed26c7b445ab1c167bd9385e1f0066f.asciidoc +++ b/docs/examples/1ed26c7b445ab1c167bd9385e1f0066f.asciidoc @@ -1,5 +1,5 @@ // This file is autogenerated, DO NOT EDIT -// sql/apis/delete-async-sql-search-api.asciidoc:12 +// sql/apis/delete-async-sql-search-api.asciidoc:18 [source, python] ---- diff --git a/docs/examples/1f3dd84ab11bae09d3f99b1b3536e239.asciidoc b/docs/examples/1f3dd84ab11bae09d3f99b1b3536e239.asciidoc index 2f5859098..221b65d39 100644 --- a/docs/examples/1f3dd84ab11bae09d3f99b1b3536e239.asciidoc +++ b/docs/examples/1f3dd84ab11bae09d3f99b1b3536e239.asciidoc @@ -1,5 +1,5 @@ // This file is autogenerated, DO NOT EDIT -// snapshot-restore/apis/create-snapshot-api.asciidoc:25 +// snapshot-restore/apis/create-snapshot-api.asciidoc:31 [source, python] ---- diff --git a/docs/examples/1f673e1a0de2970dc648618d5425a994.asciidoc b/docs/examples/1f673e1a0de2970dc648618d5425a994.asciidoc index 6f79d3872..1a19d1004 100644 --- a/docs/examples/1f673e1a0de2970dc648618d5425a994.asciidoc +++ b/docs/examples/1f673e1a0de2970dc648618d5425a994.asciidoc @@ -1,5 +1,5 @@ // This file is autogenerated, DO NOT EDIT -// docs/reindex.asciidoc:267 +// docs/reindex.asciidoc:273 [source, python] ---- diff --git a/docs/examples/1f6a190fa1aade1fb66680388f184ef9.asciidoc b/docs/examples/1f6a190fa1aade1fb66680388f184ef9.asciidoc index 130a7178d..0457f7d8f 100644 --- a/docs/examples/1f6a190fa1aade1fb66680388f184ef9.asciidoc +++ b/docs/examples/1f6a190fa1aade1fb66680388f184ef9.asciidoc @@ -1,5 +1,5 @@ // This file is autogenerated, DO NOT EDIT -// search/validate.asciidoc:266 +// search/validate.asciidoc:272 [source, python] ---- diff --git a/docs/examples/1ff12523efbd59c213c676937757c460.asciidoc b/docs/examples/1ff12523efbd59c213c676937757c460.asciidoc index 244ccbbe6..9a18e3091 100644 --- a/docs/examples/1ff12523efbd59c213c676937757c460.asciidoc +++ b/docs/examples/1ff12523efbd59c213c676937757c460.asciidoc @@ -1,5 +1,5 @@ // This file is autogenerated, DO NOT EDIT -// rest-api/security/invalidate-api-keys.asciidoc:110 +// rest-api/security/invalidate-api-keys.asciidoc:116 [source, python] ---- diff --git a/docs/examples/20005d8a6555b259b299d862cd218701.asciidoc b/docs/examples/20005d8a6555b259b299d862cd218701.asciidoc index 93d00d236..0a4219e1e 100644 --- a/docs/examples/20005d8a6555b259b299d862cd218701.asciidoc +++ b/docs/examples/20005d8a6555b259b299d862cd218701.asciidoc @@ -1,5 +1,5 @@ // This file is autogenerated, DO NOT EDIT -// query-dsl/match-query.asciidoc:186 +// query-dsl/match-query.asciidoc:190 [source, python] ---- diff --git a/docs/examples/200f6d4cc7b9c300b8962a119e03873f.asciidoc b/docs/examples/200f6d4cc7b9c300b8962a119e03873f.asciidoc index 9548b036a..1714999be 100644 --- a/docs/examples/200f6d4cc7b9c300b8962a119e03873f.asciidoc +++ b/docs/examples/200f6d4cc7b9c300b8962a119e03873f.asciidoc @@ -1,5 +1,5 @@ // This file is autogenerated, DO NOT EDIT -// indices/get-data-stream.asciidoc:280 +// indices/get-data-stream.asciidoc:286 [source, python] ---- diff --git a/docs/examples/20e3b181114e00c943a27a9bbcf85f15.asciidoc b/docs/examples/20e3b181114e00c943a27a9bbcf85f15.asciidoc index b4083b135..b4ef16609 100644 --- a/docs/examples/20e3b181114e00c943a27a9bbcf85f15.asciidoc +++ b/docs/examples/20e3b181114e00c943a27a9bbcf85f15.asciidoc @@ -1,5 +1,5 @@ // This file is autogenerated, DO NOT EDIT -// ml/anomaly-detection/apis/get-record.asciidoc:280 +// ml/anomaly-detection/apis/get-record.asciidoc:286 [source, python] ---- diff --git a/docs/examples/20f62d0540bf6261549bd286416eae28.asciidoc b/docs/examples/20f62d0540bf6261549bd286416eae28.asciidoc index 0dc048650..2d27949a9 100644 --- a/docs/examples/20f62d0540bf6261549bd286416eae28.asciidoc +++ b/docs/examples/20f62d0540bf6261549bd286416eae28.asciidoc @@ -1,5 +1,5 @@ // This file is autogenerated, DO NOT EDIT -// ingest/apis/enrich/put-enrich-policy.asciidoc:25 +// ingest/apis/enrich/put-enrich-policy.asciidoc:30 [source, python] ---- diff --git a/docs/examples/2105f2d1d81977054a93163a175793ce.asciidoc b/docs/examples/2105f2d1d81977054a93163a175793ce.asciidoc index 3212ee5bf..d18bcdd76 100644 --- a/docs/examples/2105f2d1d81977054a93163a175793ce.asciidoc +++ b/docs/examples/2105f2d1d81977054a93163a175793ce.asciidoc @@ -1,5 +1,5 @@ // This file is autogenerated, DO NOT EDIT -// snapshot-restore/apis/get-snapshot-status-api.asciidoc:75 +// snapshot-restore/apis/get-snapshot-status-api.asciidoc:81 [source, python] ---- diff --git a/docs/examples/218b9009f120e8ad33f710e019179562.asciidoc b/docs/examples/218b9009f120e8ad33f710e019179562.asciidoc index 6a6c45d49..a5f7af03b 100644 --- a/docs/examples/218b9009f120e8ad33f710e019179562.asciidoc +++ b/docs/examples/218b9009f120e8ad33f710e019179562.asciidoc @@ -1,5 +1,5 @@ // This file is autogenerated, DO NOT EDIT -// snapshot-restore/apis/get-repo-api.asciidoc:119 +// snapshot-restore/apis/get-repo-api.asciidoc:125 [source, python] ---- diff --git a/docs/examples/21c1e6ee886140ce0cd67184dd19b981.asciidoc b/docs/examples/21c1e6ee886140ce0cd67184dd19b981.asciidoc index 96e791f0b..1858a055a 100644 --- a/docs/examples/21c1e6ee886140ce0cd67184dd19b981.asciidoc +++ b/docs/examples/21c1e6ee886140ce0cd67184dd19b981.asciidoc @@ -1,5 +1,5 @@ // This file is autogenerated, DO NOT EDIT -// indices/dangling-indices-list.asciidoc:13 +// indices/dangling-indices-list.asciidoc:19 [source, python] ---- diff --git a/docs/examples/22dde5fe7ac5d85d52115641a68b3c55.asciidoc b/docs/examples/22dde5fe7ac5d85d52115641a68b3c55.asciidoc index d09d80766..6479363e5 100644 --- a/docs/examples/22dde5fe7ac5d85d52115641a68b3c55.asciidoc +++ b/docs/examples/22dde5fe7ac5d85d52115641a68b3c55.asciidoc @@ -1,5 +1,5 @@ // This file is autogenerated, DO NOT EDIT -// indices/analyze.asciidoc:196 +// indices/analyze.asciidoc:202 [source, python] ---- diff --git a/docs/examples/23b062c157235246d7c347b9047b2435.asciidoc b/docs/examples/23b062c157235246d7c347b9047b2435.asciidoc index 1277fbb7a..94a71a76e 100644 --- a/docs/examples/23b062c157235246d7c347b9047b2435.asciidoc +++ b/docs/examples/23b062c157235246d7c347b9047b2435.asciidoc @@ -1,5 +1,5 @@ // This file is autogenerated, DO NOT EDIT -// rest-api/security/create-role-mappings.asciidoc:113 +// rest-api/security/create-role-mappings.asciidoc:119 [source, python] ---- diff --git a/docs/examples/242a26ced0e5706e48dcda19a4003094.asciidoc b/docs/examples/242a26ced0e5706e48dcda19a4003094.asciidoc index e6459126a..cfe98f488 100644 --- a/docs/examples/242a26ced0e5706e48dcda19a4003094.asciidoc +++ b/docs/examples/242a26ced0e5706e48dcda19a4003094.asciidoc @@ -1,5 +1,5 @@ // This file is autogenerated, DO NOT EDIT -// docs/reindex.asciidoc:964 +// docs/reindex.asciidoc:970 [source, python] ---- diff --git a/docs/examples/246763219ec06172f7aa57bba28d344a.asciidoc b/docs/examples/246763219ec06172f7aa57bba28d344a.asciidoc new file mode 100644 index 000000000..5a340dc07 --- /dev/null +++ b/docs/examples/246763219ec06172f7aa57bba28d344a.asciidoc @@ -0,0 +1,109 @@ +// This file is autogenerated, DO NOT EDIT +// mapping/types/rank-vectors.asciidoc:159 + +[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) + +resp2 = client.search( + index="my-rank-vectors-bit", + query={ + "script_score": { + "query": { + "match_all": {} + }, + "script": { + "source": "maxSimDotProduct(params.query_vector, 'my_vector')", + "params": { + "query_vector": [ + [ + 0.35, + 0.77, + 0.95, + 0.15, + 0.11, + 0.08, + 0.58, + 0.06, + 0.44, + 0.52, + 0.21, + 0.62, + 0.65, + 0.16, + 0.64, + 0.39, + 0.93, + 0.06, + 0.93, + 0.31, + 0.92, + 0, + 0.66, + 0.86, + 0.92, + 0.03, + 0.81, + 0.31, + 0.2, + 0.92, + 0.95, + 0.64, + 0.19, + 0.26, + 0.77, + 0.64, + 0.78, + 0.32, + 0.97, + 0.84 + ] + ] + } + } + } + }, +) +print(resp2) +---- diff --git a/docs/examples/249bf48252c8cea47ef872541c8a884c.asciidoc b/docs/examples/249bf48252c8cea47ef872541c8a884c.asciidoc index af3cafb7b..7327a497f 100644 --- a/docs/examples/249bf48252c8cea47ef872541c8a884c.asciidoc +++ b/docs/examples/249bf48252c8cea47ef872541c8a884c.asciidoc @@ -1,5 +1,5 @@ // This file is autogenerated, DO NOT EDIT -// rest-api/security/grant-api-keys.asciidoc:127 +// rest-api/security/grant-api-keys.asciidoc:133 [source, python] ---- diff --git a/docs/examples/24ad3c234f69f55a3fbe2d488e70178a.asciidoc b/docs/examples/24ad3c234f69f55a3fbe2d488e70178a.asciidoc index db644f6b7..cb65f4f6d 100644 --- a/docs/examples/24ad3c234f69f55a3fbe2d488e70178a.asciidoc +++ b/docs/examples/24ad3c234f69f55a3fbe2d488e70178a.asciidoc @@ -1,5 +1,5 @@ // This file is autogenerated, DO NOT EDIT -// ml/df-analytics/apis/evaluate-dfanalytics.asciidoc:354 +// ml/df-analytics/apis/evaluate-dfanalytics.asciidoc:360 [source, python] ---- diff --git a/docs/examples/24aee6033bf77a68ced74e3fd9d34283.asciidoc b/docs/examples/24aee6033bf77a68ced74e3fd9d34283.asciidoc index 7c1bba413..c7c3ce5ab 100644 --- a/docs/examples/24aee6033bf77a68ced74e3fd9d34283.asciidoc +++ b/docs/examples/24aee6033bf77a68ced74e3fd9d34283.asciidoc @@ -1,5 +1,5 @@ // This file is autogenerated, DO NOT EDIT -// indices/get-index-template-v1.asciidoc:79 +// indices/get-index-template-v1.asciidoc:85 [source, python] ---- diff --git a/docs/examples/24d806d1803158dacd4dda73c4204d3e.asciidoc b/docs/examples/24d806d1803158dacd4dda73c4204d3e.asciidoc index bdff603a7..727fcb365 100644 --- a/docs/examples/24d806d1803158dacd4dda73c4204d3e.asciidoc +++ b/docs/examples/24d806d1803158dacd4dda73c4204d3e.asciidoc @@ -1,5 +1,5 @@ // This file is autogenerated, DO NOT EDIT -// query-rules/apis/get-query-rule.asciidoc:105 +// query-rules/apis/get-query-rule.asciidoc:111 [source, python] ---- diff --git a/docs/examples/25a0dad6547d432f5a3d394528f1c138.asciidoc b/docs/examples/25a0dad6547d432f5a3d394528f1c138.asciidoc index 7b429b7bd..c81a6c009 100644 --- a/docs/examples/25a0dad6547d432f5a3d394528f1c138.asciidoc +++ b/docs/examples/25a0dad6547d432f5a3d394528f1c138.asciidoc @@ -1,5 +1,5 @@ // This file is autogenerated, DO NOT EDIT -// docs/get.asciidoc:395 +// docs/get.asciidoc:401 [source, python] ---- diff --git a/docs/examples/25c0e66a433a0cd596e0641b752ff6d7.asciidoc b/docs/examples/25c0e66a433a0cd596e0641b752ff6d7.asciidoc index 8f0653e9e..c814a4488 100644 --- a/docs/examples/25c0e66a433a0cd596e0641b752ff6d7.asciidoc +++ b/docs/examples/25c0e66a433a0cd596e0641b752ff6d7.asciidoc @@ -1,5 +1,5 @@ // This file is autogenerated, DO NOT EDIT -// cat/shards.asciidoc:405 +// cat/shards.asciidoc:414 [source, python] ---- diff --git a/docs/examples/25cb9e1da00dfd971065ce182467434d.asciidoc b/docs/examples/25cb9e1da00dfd971065ce182467434d.asciidoc index 4b3a463ba..b6541bf87 100644 --- a/docs/examples/25cb9e1da00dfd971065ce182467434d.asciidoc +++ b/docs/examples/25cb9e1da00dfd971065ce182467434d.asciidoc @@ -1,5 +1,5 @@ // This file is autogenerated, DO NOT EDIT -// cluster/voting-exclusions.asciidoc:116 +// cluster/voting-exclusions.asciidoc:122 [source, python] ---- diff --git a/docs/examples/261480571394632db40e88fbb6c59c2f.asciidoc b/docs/examples/261480571394632db40e88fbb6c59c2f.asciidoc index 73966f9df..061c558a8 100644 --- a/docs/examples/261480571394632db40e88fbb6c59c2f.asciidoc +++ b/docs/examples/261480571394632db40e88fbb6c59c2f.asciidoc @@ -1,5 +1,5 @@ // This file is autogenerated, DO NOT EDIT -// rest-api/security/delete-role-mappings.asciidoc:46 +// rest-api/security/delete-role-mappings.asciidoc:52 [source, python] ---- diff --git a/docs/examples/2623eb122cc0299b42fc9eca6e7f5e56.asciidoc b/docs/examples/2623eb122cc0299b42fc9eca6e7f5e56.asciidoc index cfd59dc5d..9f4e353e0 100644 --- a/docs/examples/2623eb122cc0299b42fc9eca6e7f5e56.asciidoc +++ b/docs/examples/2623eb122cc0299b42fc9eca6e7f5e56.asciidoc @@ -1,5 +1,5 @@ // This file is autogenerated, DO NOT EDIT -// rest-api/security/get-builtin-privileges.asciidoc:58 +// rest-api/security/get-builtin-privileges.asciidoc:64 [source, python] ---- diff --git a/docs/examples/2646710ece0c4c843aebeacd370d0396.asciidoc b/docs/examples/2646710ece0c4c843aebeacd370d0396.asciidoc index 0ff920cfb..0deba1383 100644 --- a/docs/examples/2646710ece0c4c843aebeacd370d0396.asciidoc +++ b/docs/examples/2646710ece0c4c843aebeacd370d0396.asciidoc @@ -1,5 +1,5 @@ // This file is autogenerated, DO NOT EDIT -// mapping/types/dense-vector.asciidoc:140 +// mapping/types/dense-vector.asciidoc:141 [source, python] ---- diff --git a/docs/examples/26d3ab748a855eb383e992eb1ff79662.asciidoc b/docs/examples/26d3ab748a855eb383e992eb1ff79662.asciidoc index 9dba23b31..a46a7e75f 100644 --- a/docs/examples/26d3ab748a855eb383e992eb1ff79662.asciidoc +++ b/docs/examples/26d3ab748a855eb383e992eb1ff79662.asciidoc @@ -1,5 +1,5 @@ // This file is autogenerated, DO NOT EDIT -// eql/delete-async-eql-search-api.asciidoc:14 +// eql/delete-async-eql-search-api.asciidoc:20 [source, python] ---- diff --git a/docs/examples/270549e6b062228312c4e7a54a2c2209.asciidoc b/docs/examples/270549e6b062228312c4e7a54a2c2209.asciidoc index 9ae9ebbce..f2fbab21c 100644 --- a/docs/examples/270549e6b062228312c4e7a54a2c2209.asciidoc +++ b/docs/examples/270549e6b062228312c4e7a54a2c2209.asciidoc @@ -1,5 +1,5 @@ // This file is autogenerated, DO NOT EDIT -// troubleshooting/common-issues/task-queue-backlog.asciidoc:39 +// troubleshooting/common-issues/task-queue-backlog.asciidoc:55 [source, python] ---- diff --git a/docs/examples/2720e613d520ce352b62e990c2d283f7.asciidoc b/docs/examples/2720e613d520ce352b62e990c2d283f7.asciidoc index 36e3e207f..e1d7d8b4c 100644 --- a/docs/examples/2720e613d520ce352b62e990c2d283f7.asciidoc +++ b/docs/examples/2720e613d520ce352b62e990c2d283f7.asciidoc @@ -1,5 +1,5 @@ // This file is autogenerated, DO NOT EDIT -// ilm/apis/remove-policy-from-index.asciidoc:87 +// ilm/apis/remove-policy-from-index.asciidoc:93 [source, python] ---- diff --git a/docs/examples/27384266370152add76471dd0332a2f1.asciidoc b/docs/examples/27384266370152add76471dd0332a2f1.asciidoc index 534dfb41d..a99bf0468 100644 --- a/docs/examples/27384266370152add76471dd0332a2f1.asciidoc +++ b/docs/examples/27384266370152add76471dd0332a2f1.asciidoc @@ -1,5 +1,5 @@ // This file is autogenerated, DO NOT EDIT -// transform/apis/update-transform.asciidoc:257 +// transform/apis/update-transform.asciidoc:263 [source, python] ---- diff --git a/docs/examples/275ec358d5d1e4b9ff06cb4ae7e47650.asciidoc b/docs/examples/275ec358d5d1e4b9ff06cb4ae7e47650.asciidoc index b19ba72f6..1bebbcc24 100644 --- a/docs/examples/275ec358d5d1e4b9ff06cb4ae7e47650.asciidoc +++ b/docs/examples/275ec358d5d1e4b9ff06cb4ae7e47650.asciidoc @@ -1,5 +1,5 @@ // This file is autogenerated, DO NOT EDIT -// indices/get-index-template.asciidoc:78 +// indices/get-index-template.asciidoc:84 [source, python] ---- diff --git a/docs/examples/2864d04bf99860ed5dbe1458f1ab5f78.asciidoc b/docs/examples/2864d04bf99860ed5dbe1458f1ab5f78.asciidoc index c9fcedba5..0f6d7a087 100644 --- a/docs/examples/2864d04bf99860ed5dbe1458f1ab5f78.asciidoc +++ b/docs/examples/2864d04bf99860ed5dbe1458f1ab5f78.asciidoc @@ -1,5 +1,5 @@ // This file is autogenerated, DO NOT EDIT -// autoscaling/apis/put-autoscaling-policy.asciidoc:16 +// autoscaling/apis/put-autoscaling-policy.asciidoc:22 [source, python] ---- diff --git a/docs/examples/2884eacac3ad05ff794f5296ec7427e7.asciidoc b/docs/examples/2884eacac3ad05ff794f5296ec7427e7.asciidoc index 923e21c79..687e5f0fa 100644 --- a/docs/examples/2884eacac3ad05ff794f5296ec7427e7.asciidoc +++ b/docs/examples/2884eacac3ad05ff794f5296ec7427e7.asciidoc @@ -1,5 +1,5 @@ // This file is autogenerated, DO NOT EDIT -// query-dsl/knn-query.asciidoc:57 +// query-dsl/knn-query.asciidoc:58 [source, python] ---- diff --git a/docs/examples/2932e6f71e247cf52e11d2f38f114ddf.asciidoc b/docs/examples/2932e6f71e247cf52e11d2f38f114ddf.asciidoc index 871706d7e..da25fd166 100644 --- a/docs/examples/2932e6f71e247cf52e11d2f38f114ddf.asciidoc +++ b/docs/examples/2932e6f71e247cf52e11d2f38f114ddf.asciidoc @@ -1,5 +1,5 @@ // This file is autogenerated, DO NOT EDIT -// docs/reindex.asciidoc:294 +// docs/reindex.asciidoc:300 [source, python] ---- diff --git a/docs/examples/295b3aaeb223612afdd991744dc9c873.asciidoc b/docs/examples/295b3aaeb223612afdd991744dc9c873.asciidoc index f54eccc6e..f069fd0f1 100644 --- a/docs/examples/295b3aaeb223612afdd991744dc9c873.asciidoc +++ b/docs/examples/295b3aaeb223612afdd991744dc9c873.asciidoc @@ -1,5 +1,5 @@ // This file is autogenerated, DO NOT EDIT -// scripting/using.asciidoc:484 +// scripting/using.asciidoc:489 [source, python] ---- diff --git a/docs/examples/29824032d7d64512d17458fdd687b1f6.asciidoc b/docs/examples/29824032d7d64512d17458fdd687b1f6.asciidoc index 7500f918a..99994b7c2 100644 --- a/docs/examples/29824032d7d64512d17458fdd687b1f6.asciidoc +++ b/docs/examples/29824032d7d64512d17458fdd687b1f6.asciidoc @@ -1,5 +1,5 @@ // This file is autogenerated, DO NOT EDIT -// cluster/tasks.asciidoc:138 +// cluster/tasks.asciidoc:144 [source, python] ---- diff --git a/docs/examples/299900fb08da80fe455cf3f1bb7d62ee.asciidoc b/docs/examples/299900fb08da80fe455cf3f1bb7d62ee.asciidoc index 77842e352..f1e964b2e 100644 --- a/docs/examples/299900fb08da80fe455cf3f1bb7d62ee.asciidoc +++ b/docs/examples/299900fb08da80fe455cf3f1bb7d62ee.asciidoc @@ -1,5 +1,5 @@ // This file is autogenerated, DO NOT EDIT -// indices/get-field-mapping.asciidoc:96 +// indices/get-field-mapping.asciidoc:102 [source, python] ---- diff --git a/docs/examples/29d9df958de292cec50daaf31844b573.asciidoc b/docs/examples/29d9df958de292cec50daaf31844b573.asciidoc index 91441a858..444057fcb 100644 --- a/docs/examples/29d9df958de292cec50daaf31844b573.asciidoc +++ b/docs/examples/29d9df958de292cec50daaf31844b573.asciidoc @@ -1,5 +1,5 @@ // This file is autogenerated, DO NOT EDIT -// indices/get-field-mapping.asciidoc:226 +// indices/get-field-mapping.asciidoc:232 [source, python] ---- diff --git a/docs/examples/2a1eece9a59ac1773edcf0a932c26de0.asciidoc b/docs/examples/2a1eece9a59ac1773edcf0a932c26de0.asciidoc index 5c9c0bf2b..e8c3ee1d2 100644 --- a/docs/examples/2a1eece9a59ac1773edcf0a932c26de0.asciidoc +++ b/docs/examples/2a1eece9a59ac1773edcf0a932c26de0.asciidoc @@ -1,5 +1,5 @@ // This file is autogenerated, DO NOT EDIT -// rest-api/security/oidc-logout-api.asciidoc:47 +// rest-api/security/oidc-logout-api.asciidoc:53 [source, python] ---- diff --git a/docs/examples/2a21674c40f9b182a8944769d20b2357.asciidoc b/docs/examples/2a21674c40f9b182a8944769d20b2357.asciidoc new file mode 100644 index 000000000..a9b622970 --- /dev/null +++ b/docs/examples/2a21674c40f9b182a8944769d20b2357.asciidoc @@ -0,0 +1,34 @@ +// This file is autogenerated, DO NOT EDIT +// mapping/types/rank-vectors.asciidoc:137 + +[source, python] +---- +resp = client.search( + index="my-rank-vectors-float", + query={ + "script_score": { + "query": { + "match_all": {} + }, + "script": { + "source": "maxSimDotProduct(params.query_vector, 'my_vector')", + "params": { + "query_vector": [ + [ + 0.5, + 10, + 6 + ], + [ + -0.5, + 10, + 10 + ] + ] + } + } + } + }, +) +print(resp) +---- diff --git a/docs/examples/2aa548b692fc2fe7b6f0d90eb8b2ae29.asciidoc b/docs/examples/2aa548b692fc2fe7b6f0d90eb8b2ae29.asciidoc index aea75cee0..a9a2a489c 100644 --- a/docs/examples/2aa548b692fc2fe7b6f0d90eb8b2ae29.asciidoc +++ b/docs/examples/2aa548b692fc2fe7b6f0d90eb8b2ae29.asciidoc @@ -1,5 +1,5 @@ // This file is autogenerated, DO NOT EDIT -// rest-api/watcher/delete-watch.asciidoc:60 +// rest-api/watcher/delete-watch.asciidoc:66 [source, python] ---- diff --git a/docs/examples/2acf75803494fef29f9ca70671aa6be1.asciidoc b/docs/examples/2acf75803494fef29f9ca70671aa6be1.asciidoc index 64607d0d5..fd659fcfc 100644 --- a/docs/examples/2acf75803494fef29f9ca70671aa6be1.asciidoc +++ b/docs/examples/2acf75803494fef29f9ca70671aa6be1.asciidoc @@ -1,5 +1,5 @@ // This file is autogenerated, DO NOT EDIT -// rest-api/security/bulk-delete-roles.asciidoc:94 +// rest-api/security/bulk-delete-roles.asciidoc:100 [source, python] ---- diff --git a/docs/examples/2b1c560f00d9bcf5caaf56c03f6b5962.asciidoc b/docs/examples/2b1c560f00d9bcf5caaf56c03f6b5962.asciidoc index ed97c5df2..d7c29ec7b 100644 --- a/docs/examples/2b1c560f00d9bcf5caaf56c03f6b5962.asciidoc +++ b/docs/examples/2b1c560f00d9bcf5caaf56c03f6b5962.asciidoc @@ -1,5 +1,5 @@ // This file is autogenerated, DO NOT EDIT -// connector/apis/list-connector-sync-jobs-api.asciidoc:79 +// connector/apis/list-connector-sync-jobs-api.asciidoc:85 [source, python] ---- diff --git a/docs/examples/2b5c69778eb3daba9fbd7242bcc2daf9.asciidoc b/docs/examples/2b5c69778eb3daba9fbd7242bcc2daf9.asciidoc index d8dd88c98..9ada8f2a3 100644 --- a/docs/examples/2b5c69778eb3daba9fbd7242bcc2daf9.asciidoc +++ b/docs/examples/2b5c69778eb3daba9fbd7242bcc2daf9.asciidoc @@ -1,5 +1,5 @@ // This file is autogenerated, DO NOT EDIT -// rest-api/security/query-api-key.asciidoc:724 +// rest-api/security/query-api-key.asciidoc:729 [source, python] ---- diff --git a/docs/examples/2b7687e3d7c06824950e00618c297864.asciidoc b/docs/examples/2b7687e3d7c06824950e00618c297864.asciidoc index c9652cf82..15d07ba55 100644 --- a/docs/examples/2b7687e3d7c06824950e00618c297864.asciidoc +++ b/docs/examples/2b7687e3d7c06824950e00618c297864.asciidoc @@ -1,5 +1,5 @@ // This file is autogenerated, DO NOT EDIT -// indices/resolve-cluster.asciidoc:141 +// indices/resolve-cluster.asciidoc:179 [source, python] ---- diff --git a/docs/examples/2c0dbdcf400cde5d36f7c9e6c1101011.asciidoc b/docs/examples/2c0dbdcf400cde5d36f7c9e6c1101011.asciidoc index f2ff73eba..412da48fc 100644 --- a/docs/examples/2c0dbdcf400cde5d36f7c9e6c1101011.asciidoc +++ b/docs/examples/2c0dbdcf400cde5d36f7c9e6c1101011.asciidoc @@ -1,5 +1,5 @@ // This file is autogenerated, DO NOT EDIT -// cat/health.asciidoc:101 +// cat/health.asciidoc:107 [source, python] ---- diff --git a/docs/examples/2c1e16e9ac24cfea979af2a69900d3c2.asciidoc b/docs/examples/2c1e16e9ac24cfea979af2a69900d3c2.asciidoc index 81f979d28..4b9bf1e58 100644 --- a/docs/examples/2c1e16e9ac24cfea979af2a69900d3c2.asciidoc +++ b/docs/examples/2c1e16e9ac24cfea979af2a69900d3c2.asciidoc @@ -1,5 +1,5 @@ // This file is autogenerated, DO NOT EDIT -// synonyms/apis/put-synonym-rule.asciidoc:107 +// synonyms/apis/put-synonym-rule.asciidoc:113 [source, python] ---- diff --git a/docs/examples/2c3dff44904d3d73ff47f1afe89c7f86.asciidoc b/docs/examples/2c3dff44904d3d73ff47f1afe89c7f86.asciidoc index 83f9a5add..6770b543c 100644 --- a/docs/examples/2c3dff44904d3d73ff47f1afe89c7f86.asciidoc +++ b/docs/examples/2c3dff44904d3d73ff47f1afe89c7f86.asciidoc @@ -1,5 +1,5 @@ // This file is autogenerated, DO NOT EDIT -// docs/update-by-query.asciidoc:369 +// docs/update-by-query.asciidoc:375 [source, python] ---- diff --git a/docs/examples/2c602b4ee8f22cda2cdf19bad31da0af.asciidoc b/docs/examples/2c602b4ee8f22cda2cdf19bad31da0af.asciidoc index 1aedc5929..b799fcc28 100644 --- a/docs/examples/2c602b4ee8f22cda2cdf19bad31da0af.asciidoc +++ b/docs/examples/2c602b4ee8f22cda2cdf19bad31da0af.asciidoc @@ -1,5 +1,5 @@ // This file is autogenerated, DO NOT EDIT -// cluster.asciidoc:53 +// cluster.asciidoc:59 [source, python] ---- diff --git a/docs/examples/2d60e3bdfee7afbddee149f40450b8b5.asciidoc b/docs/examples/2d60e3bdfee7afbddee149f40450b8b5.asciidoc index 4c868c678..cdd7b1711 100644 --- a/docs/examples/2d60e3bdfee7afbddee149f40450b8b5.asciidoc +++ b/docs/examples/2d60e3bdfee7afbddee149f40450b8b5.asciidoc @@ -1,5 +1,5 @@ // This file is autogenerated, DO NOT EDIT -// search/validate.asciidoc:143 +// search/validate.asciidoc:149 [source, python] ---- diff --git a/docs/examples/2d8fcb03de417a71e7888bbdd948a692.asciidoc b/docs/examples/2d8fcb03de417a71e7888bbdd948a692.asciidoc index bc202ff06..7d6b79a11 100644 --- a/docs/examples/2d8fcb03de417a71e7888bbdd948a692.asciidoc +++ b/docs/examples/2d8fcb03de417a71e7888bbdd948a692.asciidoc @@ -1,5 +1,5 @@ // This file is autogenerated, DO NOT EDIT -// cat/transforms.asciidoc:191 +// cat/transforms.asciidoc:197 [source, python] ---- diff --git a/docs/examples/2de6885bacb8769b8f22dce253c96b0c.asciidoc b/docs/examples/2de6885bacb8769b8f22dce253c96b0c.asciidoc index 3aa15bd1d..db56adc49 100644 --- a/docs/examples/2de6885bacb8769b8f22dce253c96b0c.asciidoc +++ b/docs/examples/2de6885bacb8769b8f22dce253c96b0c.asciidoc @@ -1,5 +1,5 @@ // This file is autogenerated, DO NOT EDIT -// query-dsl/intervals-query.asciidoc:414 +// query-dsl/intervals-query.asciidoc:424 [source, python] ---- diff --git a/docs/examples/2e09666d3ad5ad9afc22763ee6e97a2b.asciidoc b/docs/examples/2e09666d3ad5ad9afc22763ee6e97a2b.asciidoc index 26fb74ccc..f99fbc33a 100644 --- a/docs/examples/2e09666d3ad5ad9afc22763ee6e97a2b.asciidoc +++ b/docs/examples/2e09666d3ad5ad9afc22763ee6e97a2b.asciidoc @@ -1,5 +1,5 @@ // This file is autogenerated, DO NOT EDIT -// slm/apis/slm-put.asciidoc:155 +// slm/apis/slm-put.asciidoc:160 [source, python] ---- diff --git a/docs/examples/2e36fe22051a47e052e349854d9948b9.asciidoc b/docs/examples/2e36fe22051a47e052e349854d9948b9.asciidoc index 84d55190c..271a14e94 100644 --- a/docs/examples/2e36fe22051a47e052e349854d9948b9.asciidoc +++ b/docs/examples/2e36fe22051a47e052e349854d9948b9.asciidoc @@ -1,5 +1,5 @@ // This file is autogenerated, DO NOT EDIT -// search/explain.asciidoc:192 +// search/explain.asciidoc:198 [source, python] ---- diff --git a/docs/examples/2e796e5ca59768d4426abbf9a049db3e.asciidoc b/docs/examples/2e796e5ca59768d4426abbf9a049db3e.asciidoc index 11dd4351b..bdcc4a2a4 100644 --- a/docs/examples/2e796e5ca59768d4426abbf9a049db3e.asciidoc +++ b/docs/examples/2e796e5ca59768d4426abbf9a049db3e.asciidoc @@ -1,5 +1,5 @@ // This file is autogenerated, DO NOT EDIT -// indices/split-index.asciidoc:169 +// indices/split-index.asciidoc:175 [source, python] ---- diff --git a/docs/examples/2e7f4b9be999422a12abb680572b13c8.asciidoc b/docs/examples/2e7f4b9be999422a12abb680572b13c8.asciidoc index 14b98a120..594fdbfb6 100644 --- a/docs/examples/2e7f4b9be999422a12abb680572b13c8.asciidoc +++ b/docs/examples/2e7f4b9be999422a12abb680572b13c8.asciidoc @@ -1,5 +1,5 @@ // This file is autogenerated, DO NOT EDIT -// ilm/apis/get-lifecycle.asciidoc:76 +// ilm/apis/get-lifecycle.asciidoc:82 [source, python] ---- diff --git a/docs/examples/2f07b81fd47ec3b074242a760f0c4e9e.asciidoc b/docs/examples/2f07b81fd47ec3b074242a760f0c4e9e.asciidoc deleted file mode 100644 index 5f4e810a8..000000000 --- a/docs/examples/2f07b81fd47ec3b074242a760f0c4e9e.asciidoc +++ /dev/null @@ -1,13 +0,0 @@ -// This file is autogenerated, DO NOT EDIT -// index-modules/slowlog.asciidoc:149 - -[source, python] ----- -resp = client.indices.put_settings( - index="my-index-000001", - settings={ - "index.indexing.slowlog.include.user": True - }, -) -print(resp) ----- diff --git a/docs/examples/2f0b2181c434a879a23b4643bdd92575.asciidoc b/docs/examples/2f0b2181c434a879a23b4643bdd92575.asciidoc index 67cf5f704..31b77bbc0 100644 --- a/docs/examples/2f0b2181c434a879a23b4643bdd92575.asciidoc +++ b/docs/examples/2f0b2181c434a879a23b4643bdd92575.asciidoc @@ -1,5 +1,5 @@ // This file is autogenerated, DO NOT EDIT -// indices/get-settings.asciidoc:76 +// indices/get-settings.asciidoc:82 [source, python] ---- diff --git a/docs/examples/2f2580ea420e1836d922fe48fa8ada97.asciidoc b/docs/examples/2f2580ea420e1836d922fe48fa8ada97.asciidoc index 403ea20b7..e64a402cb 100644 --- a/docs/examples/2f2580ea420e1836d922fe48fa8ada97.asciidoc +++ b/docs/examples/2f2580ea420e1836d922fe48fa8ada97.asciidoc @@ -1,5 +1,5 @@ // This file is autogenerated, DO NOT EDIT -// ccr/apis/auto-follow/delete-auto-follow-pattern.asciidoc:33 +// ccr/apis/auto-follow/delete-auto-follow-pattern.asciidoc:39 [source, python] ---- diff --git a/docs/examples/2f72a63c73dd672ac2dc3997ad15dd41.asciidoc b/docs/examples/2f72a63c73dd672ac2dc3997ad15dd41.asciidoc new file mode 100644 index 000000000..57193131c --- /dev/null +++ b/docs/examples/2f72a63c73dd672ac2dc3997ad15dd41.asciidoc @@ -0,0 +1,23 @@ +// This file is autogenerated, DO NOT EDIT +// mapping/types/semantic-text.asciidoc:216 + +[source, python] +---- +resp = client.indices.create( + index="test-index", + mappings={ + "properties": { + "source_field": { + "type": "text", + "fields": { + "infer_field": { + "type": "semantic_text", + "inference_id": ".elser-2-elasticsearch" + } + } + } + } + }, +) +print(resp) +---- diff --git a/docs/examples/2fc80a2ad1ca8b2dcb13ed1895b8e861.asciidoc b/docs/examples/2fc80a2ad1ca8b2dcb13ed1895b8e861.asciidoc index 822d66bd1..f72ef744d 100644 --- a/docs/examples/2fc80a2ad1ca8b2dcb13ed1895b8e861.asciidoc +++ b/docs/examples/2fc80a2ad1ca8b2dcb13ed1895b8e861.asciidoc @@ -1,5 +1,5 @@ // This file is autogenerated, DO NOT EDIT -// cluster/update-settings.asciidoc:123 +// cluster/update-settings.asciidoc:128 [source, python] ---- diff --git a/docs/examples/2fe28d9a91b3081a9ec4601af8fb7b1c.asciidoc b/docs/examples/2fe28d9a91b3081a9ec4601af8fb7b1c.asciidoc index 08dfe7896..0c2613078 100644 --- a/docs/examples/2fe28d9a91b3081a9ec4601af8fb7b1c.asciidoc +++ b/docs/examples/2fe28d9a91b3081a9ec4601af8fb7b1c.asciidoc @@ -1,5 +1,5 @@ // This file is autogenerated, DO NOT EDIT -// docs/update-by-query.asciidoc:710 +// docs/update-by-query.asciidoc:716 [source, python] ---- diff --git a/docs/examples/2fea3e324939cc7e9c396964aeee7111.asciidoc b/docs/examples/2fea3e324939cc7e9c396964aeee7111.asciidoc index 339421498..aee1dc023 100644 --- a/docs/examples/2fea3e324939cc7e9c396964aeee7111.asciidoc +++ b/docs/examples/2fea3e324939cc7e9c396964aeee7111.asciidoc @@ -1,5 +1,5 @@ // This file is autogenerated, DO NOT EDIT -// query-dsl/match-query.asciidoc:252 +// query-dsl/match-query.asciidoc:256 [source, python] ---- diff --git a/docs/examples/2fee452baff92b409cbfc8d71eb5fc0e.asciidoc b/docs/examples/2fee452baff92b409cbfc8d71eb5fc0e.asciidoc index cb576f087..92af294a0 100644 --- a/docs/examples/2fee452baff92b409cbfc8d71eb5fc0e.asciidoc +++ b/docs/examples/2fee452baff92b409cbfc8d71eb5fc0e.asciidoc @@ -1,5 +1,5 @@ // This file is autogenerated, DO NOT EDIT -// cat/nodes.asciidoc:352 +// cat/nodes.asciidoc:361 [source, python] ---- diff --git a/docs/examples/300576666769b78fa6fa26b232837f81.asciidoc b/docs/examples/300576666769b78fa6fa26b232837f81.asciidoc index e0c8d0f52..45f240604 100644 --- a/docs/examples/300576666769b78fa6fa26b232837f81.asciidoc +++ b/docs/examples/300576666769b78fa6fa26b232837f81.asciidoc @@ -1,5 +1,5 @@ // This file is autogenerated, DO NOT EDIT -// autoscaling/apis/get-autoscaling-capacity.asciidoc:16 +// autoscaling/apis/get-autoscaling-capacity.asciidoc:22 [source, python] ---- diff --git a/docs/examples/30abc76a39e551f4b52c65002bb6405d.asciidoc b/docs/examples/30abc76a39e551f4b52c65002bb6405d.asciidoc index b126f55e5..71a436af7 100644 --- a/docs/examples/30abc76a39e551f4b52c65002bb6405d.asciidoc +++ b/docs/examples/30abc76a39e551f4b52c65002bb6405d.asciidoc @@ -1,5 +1,5 @@ // This file is autogenerated, DO NOT EDIT -// rest-api/security/get-api-keys.asciidoc:279 +// rest-api/security/get-api-keys.asciidoc:285 [source, python] ---- diff --git a/docs/examples/30d051f534aeb884176eedb2c11dac85.asciidoc b/docs/examples/30d051f534aeb884176eedb2c11dac85.asciidoc index afd0ac3db..7d95ecb4e 100644 --- a/docs/examples/30d051f534aeb884176eedb2c11dac85.asciidoc +++ b/docs/examples/30d051f534aeb884176eedb2c11dac85.asciidoc @@ -1,5 +1,5 @@ // This file is autogenerated, DO NOT EDIT -// inference/service-elasticsearch.asciidoc:167 +// inference/service-elasticsearch.asciidoc:176 [source, python] ---- diff --git a/docs/examples/30f3e3b9df46afd12e68bc71f18483b4.asciidoc b/docs/examples/30f3e3b9df46afd12e68bc71f18483b4.asciidoc index 7b431ccc1..594027bb3 100644 --- a/docs/examples/30f3e3b9df46afd12e68bc71f18483b4.asciidoc +++ b/docs/examples/30f3e3b9df46afd12e68bc71f18483b4.asciidoc @@ -1,5 +1,5 @@ // This file is autogenerated, DO NOT EDIT -// indices/put-mapping.asciidoc:125 +// indices/put-mapping.asciidoc:131 [source, python] ---- diff --git a/docs/examples/31ab4ec26176857280af630bf84a2823.asciidoc b/docs/examples/31ab4ec26176857280af630bf84a2823.asciidoc index 46e965fdf..fbbf52f58 100644 --- a/docs/examples/31ab4ec26176857280af630bf84a2823.asciidoc +++ b/docs/examples/31ab4ec26176857280af630bf84a2823.asciidoc @@ -1,5 +1,5 @@ // This file is autogenerated, DO NOT EDIT -// rest-api/security/saml-sp-metadata.asciidoc:42 +// rest-api/security/saml-sp-metadata.asciidoc:48 [source, python] ---- diff --git a/docs/examples/31bc93e429ad0de11dd2dd231e8f2c5e.asciidoc b/docs/examples/31bc93e429ad0de11dd2dd231e8f2c5e.asciidoc deleted file mode 100644 index d76914bba..000000000 --- a/docs/examples/31bc93e429ad0de11dd2dd231e8f2c5e.asciidoc +++ /dev/null @@ -1,10 +0,0 @@ -// This file is autogenerated, DO NOT EDIT -// indices/apis/unfreeze.asciidoc:51 - -[source, python] ----- -resp = client.indices.unfreeze( - index="my-index-000001", -) -print(resp) ----- diff --git a/docs/examples/31f4400716500149cccbc19aa06bff66.asciidoc b/docs/examples/31f4400716500149cccbc19aa06bff66.asciidoc index 0caf5ace5..65b6cb5b3 100644 --- a/docs/examples/31f4400716500149cccbc19aa06bff66.asciidoc +++ b/docs/examples/31f4400716500149cccbc19aa06bff66.asciidoc @@ -1,5 +1,5 @@ // This file is autogenerated, DO NOT EDIT -// indices/dangling-index-delete.asciidoc:13 +// indices/dangling-index-delete.asciidoc:19 [source, python] ---- diff --git a/docs/examples/3218f8ccd59c8c90349816e0428e8fb8.asciidoc b/docs/examples/3218f8ccd59c8c90349816e0428e8fb8.asciidoc index cdc58299a..f44248852 100644 --- a/docs/examples/3218f8ccd59c8c90349816e0428e8fb8.asciidoc +++ b/docs/examples/3218f8ccd59c8c90349816e0428e8fb8.asciidoc @@ -1,5 +1,5 @@ // This file is autogenerated, DO NOT EDIT -// troubleshooting/common-issues/circuit-breaker-errors.asciidoc:92 +// troubleshooting/common-issues/circuit-breaker-errors.asciidoc:99 [source, python] ---- diff --git a/docs/examples/32b7963c5cabbe9cc7d15da62f5edda9.asciidoc b/docs/examples/32b7963c5cabbe9cc7d15da62f5edda9.asciidoc index bb4f229f4..8ab95653f 100644 --- a/docs/examples/32b7963c5cabbe9cc7d15da62f5edda9.asciidoc +++ b/docs/examples/32b7963c5cabbe9cc7d15da62f5edda9.asciidoc @@ -1,5 +1,5 @@ // This file is autogenerated, DO NOT EDIT -// rest-api/security/update-user-profile-data.asciidoc:118 +// rest-api/security/update-user-profile-data.asciidoc:124 [source, python] ---- diff --git a/docs/examples/23af230e824f48b9cd56a4cf973d788c.asciidoc b/docs/examples/3312c82f81816bf76629db9582991812.asciidoc similarity index 79% rename from docs/examples/23af230e824f48b9cd56a4cf973d788c.asciidoc rename to docs/examples/3312c82f81816bf76629db9582991812.asciidoc index 167bf7db0..15244e685 100644 --- a/docs/examples/23af230e824f48b9cd56a4cf973d788c.asciidoc +++ b/docs/examples/3312c82f81816bf76629db9582991812.asciidoc @@ -1,5 +1,5 @@ // This file is autogenerated, DO NOT EDIT -// index-modules/slowlog.asciidoc:31 +// index-modules/slowlog.asciidoc:135 [source, python] ---- @@ -13,7 +13,8 @@ resp = client.indices.put_settings( "index.search.slowlog.threshold.fetch.warn": "1s", "index.search.slowlog.threshold.fetch.info": "800ms", "index.search.slowlog.threshold.fetch.debug": "500ms", - "index.search.slowlog.threshold.fetch.trace": "200ms" + "index.search.slowlog.threshold.fetch.trace": "200ms", + "index.search.slowlog.include.user": True }, ) print(resp) diff --git a/docs/examples/3337c817ebd438254505a31e91c91724.asciidoc b/docs/examples/3337c817ebd438254505a31e91c91724.asciidoc index 5c223af15..c6182f37d 100644 --- a/docs/examples/3337c817ebd438254505a31e91c91724.asciidoc +++ b/docs/examples/3337c817ebd438254505a31e91c91724.asciidoc @@ -1,5 +1,5 @@ // This file is autogenerated, DO NOT EDIT -// indices/get-data-stream.asciidoc:71 +// indices/get-data-stream.asciidoc:77 [source, python] ---- diff --git a/docs/examples/3341d3bbb53052447a37c92a04c14b70.asciidoc b/docs/examples/3341d3bbb53052447a37c92a04c14b70.asciidoc index b9d4f716e..fa4c91226 100644 --- a/docs/examples/3341d3bbb53052447a37c92a04c14b70.asciidoc +++ b/docs/examples/3341d3bbb53052447a37c92a04c14b70.asciidoc @@ -1,5 +1,5 @@ // This file is autogenerated, DO NOT EDIT -// scripting/using.asciidoc:351 +// scripting/using.asciidoc:356 [source, python] ---- diff --git a/docs/examples/33610800d9de3c3e6d6b3c611ace7330.asciidoc b/docs/examples/33610800d9de3c3e6d6b3c611ace7330.asciidoc index 06f9cf273..fa7a72bbe 100644 --- a/docs/examples/33610800d9de3c3e6d6b3c611ace7330.asciidoc +++ b/docs/examples/33610800d9de3c3e6d6b3c611ace7330.asciidoc @@ -1,5 +1,5 @@ // This file is autogenerated, DO NOT EDIT -// cluster/tasks.asciidoc:128 +// cluster/tasks.asciidoc:134 [source, python] ---- diff --git a/docs/examples/3386fe07e90844dbcdbbe7c07f09e04a.asciidoc b/docs/examples/3386fe07e90844dbcdbbe7c07f09e04a.asciidoc index d1902818c..a698a9b98 100644 --- a/docs/examples/3386fe07e90844dbcdbbe7c07f09e04a.asciidoc +++ b/docs/examples/3386fe07e90844dbcdbbe7c07f09e04a.asciidoc @@ -1,5 +1,5 @@ // This file is autogenerated, DO NOT EDIT -// synonyms/apis/delete-synonyms-set.asciidoc:61 +// synonyms/apis/delete-synonyms-set.asciidoc:66 [source, python] ---- diff --git a/docs/examples/33d480fc6812ada75756cf5337bc9092.asciidoc b/docs/examples/33d480fc6812ada75756cf5337bc9092.asciidoc index 382153680..221597579 100644 --- a/docs/examples/33d480fc6812ada75756cf5337bc9092.asciidoc +++ b/docs/examples/33d480fc6812ada75756cf5337bc9092.asciidoc @@ -1,5 +1,5 @@ // This file is autogenerated, DO NOT EDIT -// connector/apis/list-connector-sync-jobs-api.asciidoc:58 +// connector/apis/list-connector-sync-jobs-api.asciidoc:64 [source, python] ---- diff --git a/docs/examples/342ddf9121aeddd82fea2464665e25da.asciidoc b/docs/examples/342ddf9121aeddd82fea2464665e25da.asciidoc index d2c8c5d77..bbd82aa9d 100644 --- a/docs/examples/342ddf9121aeddd82fea2464665e25da.asciidoc +++ b/docs/examples/342ddf9121aeddd82fea2464665e25da.asciidoc @@ -1,5 +1,5 @@ // This file is autogenerated, DO NOT EDIT -// connector/apis/create-connector-api.asciidoc:21 +// connector/apis/create-connector-api.asciidoc:27 [source, python] ---- diff --git a/docs/examples/3477a89d869b1f7f72d50c2ca86c4679.asciidoc b/docs/examples/3477a89d869b1f7f72d50c2ca86c4679.asciidoc index b92aa95bf..8ecac553a 100644 --- a/docs/examples/3477a89d869b1f7f72d50c2ca86c4679.asciidoc +++ b/docs/examples/3477a89d869b1f7f72d50c2ca86c4679.asciidoc @@ -1,5 +1,5 @@ // This file is autogenerated, DO NOT EDIT -// rest-api/watcher/activate-watch.asciidoc:82 +// rest-api/watcher/activate-watch.asciidoc:88 [source, python] ---- diff --git a/docs/examples/34be27141e3a476c138546190101c8bc.asciidoc b/docs/examples/34be27141e3a476c138546190101c8bc.asciidoc index 3cee3576c..f5c1d92f1 100644 --- a/docs/examples/34be27141e3a476c138546190101c8bc.asciidoc +++ b/docs/examples/34be27141e3a476c138546190101c8bc.asciidoc @@ -1,5 +1,5 @@ // This file is autogenerated, DO NOT EDIT -// search/search-vector-tile-api.asciidoc:33 +// search/search-vector-tile-api.asciidoc:38 [source, python] ---- diff --git a/docs/examples/34cdeefb09bbbe5206957a8bc1bd513d.asciidoc b/docs/examples/34cdeefb09bbbe5206957a8bc1bd513d.asciidoc deleted file mode 100644 index 41820a845..000000000 --- a/docs/examples/34cdeefb09bbbe5206957a8bc1bd513d.asciidoc +++ /dev/null @@ -1,13 +0,0 @@ -// This file is autogenerated, DO NOT EDIT -// index-modules/slowlog.asciidoc:66 - -[source, python] ----- -resp = client.indices.put_settings( - index="my-index-000001", - settings={ - "index.search.slowlog.include.user": True - }, -) -print(resp) ----- diff --git a/docs/examples/3541d4a85e27b2c3896a7a7ee98b4b37.asciidoc b/docs/examples/3541d4a85e27b2c3896a7a7ee98b4b37.asciidoc index f983391dd..2aca9fdab 100644 --- a/docs/examples/3541d4a85e27b2c3896a7a7ee98b4b37.asciidoc +++ b/docs/examples/3541d4a85e27b2c3896a7a7ee98b4b37.asciidoc @@ -1,5 +1,5 @@ // This file is autogenerated, DO NOT EDIT -// health/health.asciidoc:480 +// health/health.asciidoc:486 [source, python] ---- diff --git a/docs/examples/3545261682af72f4bee57f2bac0a9590.asciidoc b/docs/examples/3545261682af72f4bee57f2bac0a9590.asciidoc index 7085907ee..f1682e1f6 100644 --- a/docs/examples/3545261682af72f4bee57f2bac0a9590.asciidoc +++ b/docs/examples/3545261682af72f4bee57f2bac0a9590.asciidoc @@ -1,5 +1,5 @@ // This file is autogenerated, DO NOT EDIT -// indices/shard-stores.asciidoc:150 +// indices/shard-stores.asciidoc:156 [source, python] ---- diff --git a/docs/examples/355d0ee2fcb6c1fc403c6267f710e25a.asciidoc b/docs/examples/355d0ee2fcb6c1fc403c6267f710e25a.asciidoc index 95c58cd5e..b6122821f 100644 --- a/docs/examples/355d0ee2fcb6c1fc403c6267f710e25a.asciidoc +++ b/docs/examples/355d0ee2fcb6c1fc403c6267f710e25a.asciidoc @@ -1,5 +1,5 @@ // This file is autogenerated, DO NOT EDIT -// docs/reindex.asciidoc:716 +// docs/reindex.asciidoc:722 [source, python] ---- diff --git a/docs/examples/357edc9d10e98ed776401c7a439a1a55.asciidoc b/docs/examples/357edc9d10e98ed776401c7a439a1a55.asciidoc index 69fe16b28..90b277dc4 100644 --- a/docs/examples/357edc9d10e98ed776401c7a439a1a55.asciidoc +++ b/docs/examples/357edc9d10e98ed776401c7a439a1a55.asciidoc @@ -1,5 +1,5 @@ // This file is autogenerated, DO NOT EDIT -// indices/resolve-cluster.asciidoc:206 +// indices/resolve-cluster.asciidoc:244 [source, python] ---- diff --git a/docs/examples/35a272df8c919a12d7c3106a18245748.asciidoc b/docs/examples/35a272df8c919a12d7c3106a18245748.asciidoc index 0a003a7e3..93c86a953 100644 --- a/docs/examples/35a272df8c919a12d7c3106a18245748.asciidoc +++ b/docs/examples/35a272df8c919a12d7c3106a18245748.asciidoc @@ -1,5 +1,5 @@ // This file is autogenerated, DO NOT EDIT -// ml/trained-models/apis/infer-trained-model.asciidoc:950 +// ml/trained-models/apis/infer-trained-model.asciidoc:956 [source, python] ---- diff --git a/docs/examples/35be136ba9df7474a5521631e2a385b1.asciidoc b/docs/examples/35be136ba9df7474a5521631e2a385b1.asciidoc index 890b4dc77..5990b49a5 100644 --- a/docs/examples/35be136ba9df7474a5521631e2a385b1.asciidoc +++ b/docs/examples/35be136ba9df7474a5521631e2a385b1.asciidoc @@ -1,5 +1,5 @@ // This file is autogenerated, DO NOT EDIT -// data-streams/lifecycle/apis/explain-lifecycle.asciidoc:50 +// data-streams/lifecycle/apis/explain-lifecycle.asciidoc:56 [source, python] ---- diff --git a/docs/examples/35f892b475a1770f18328158be7039fd.asciidoc b/docs/examples/35f892b475a1770f18328158be7039fd.asciidoc index bd69bcdd1..2ae10c083 100644 --- a/docs/examples/35f892b475a1770f18328158be7039fd.asciidoc +++ b/docs/examples/35f892b475a1770f18328158be7039fd.asciidoc @@ -1,5 +1,5 @@ // This file is autogenerated, DO NOT EDIT -// mapping/types/dense-vector.asciidoc:72 +// mapping/types/dense-vector.asciidoc:71 [source, python] ---- diff --git a/docs/examples/3608e4fcd17dd8d5f88ec9a3db2f5d89.asciidoc b/docs/examples/3608e4fcd17dd8d5f88ec9a3db2f5d89.asciidoc index 5c0875fce..c71cd49c0 100644 --- a/docs/examples/3608e4fcd17dd8d5f88ec9a3db2f5d89.asciidoc +++ b/docs/examples/3608e4fcd17dd8d5f88ec9a3db2f5d89.asciidoc @@ -1,5 +1,5 @@ // This file is autogenerated, DO NOT EDIT -// synonyms/apis/put-synonyms-set.asciidoc:83 +// synonyms/apis/put-synonyms-set.asciidoc:89 [source, python] ---- diff --git a/docs/examples/365256ebdfa47b449780771d9beba8d9.asciidoc b/docs/examples/365256ebdfa47b449780771d9beba8d9.asciidoc index ecfda89c9..09fc5efcd 100644 --- a/docs/examples/365256ebdfa47b449780771d9beba8d9.asciidoc +++ b/docs/examples/365256ebdfa47b449780771d9beba8d9.asciidoc @@ -1,5 +1,5 @@ // This file is autogenerated, DO NOT EDIT -// connector/apis/check-in-connector-sync-job-api.asciidoc:50 +// connector/apis/check-in-connector-sync-job-api.asciidoc:56 [source, python] ---- diff --git a/docs/examples/36d229f734adcdab00be266a7ce038b1.asciidoc b/docs/examples/36d229f734adcdab00be266a7ce038b1.asciidoc index 161f9895a..b52adb699 100644 --- a/docs/examples/36d229f734adcdab00be266a7ce038b1.asciidoc +++ b/docs/examples/36d229f734adcdab00be266a7ce038b1.asciidoc @@ -1,5 +1,5 @@ // This file is autogenerated, DO NOT EDIT -// mapping/types/dense-vector.asciidoc:403 +// mapping/types/dense-vector.asciidoc:404 [source, python] ---- diff --git a/docs/examples/36da9668fef56910370f16bfb772cc40.asciidoc b/docs/examples/36da9668fef56910370f16bfb772cc40.asciidoc index a2f05d6e8..5af3045ba 100644 --- a/docs/examples/36da9668fef56910370f16bfb772cc40.asciidoc +++ b/docs/examples/36da9668fef56910370f16bfb772cc40.asciidoc @@ -1,5 +1,5 @@ // This file is autogenerated, DO NOT EDIT -// modules/indices/request_cache.asciidoc:139 +// shard-request-cache.asciidoc:125 [source, python] ---- diff --git a/docs/examples/370b297ed3433577adf53e64f572d89d.asciidoc b/docs/examples/370b297ed3433577adf53e64f572d89d.asciidoc index 56aace56f..5ab7ae26d 100644 --- a/docs/examples/370b297ed3433577adf53e64f572d89d.asciidoc +++ b/docs/examples/370b297ed3433577adf53e64f572d89d.asciidoc @@ -1,5 +1,5 @@ // This file is autogenerated, DO NOT EDIT -// connector/apis/delete-connector-sync-job-api.asciidoc:46 +// connector/apis/delete-connector-sync-job-api.asciidoc:52 [source, python] ---- diff --git a/docs/examples/3759ca688c4bd3c838780a9aad63258b.asciidoc b/docs/examples/3759ca688c4bd3c838780a9aad63258b.asciidoc index 4d7be2d86..3cf758d97 100644 --- a/docs/examples/3759ca688c4bd3c838780a9aad63258b.asciidoc +++ b/docs/examples/3759ca688c4bd3c838780a9aad63258b.asciidoc @@ -1,5 +1,5 @@ // This file is autogenerated, DO NOT EDIT -// indices/get-index-template.asciidoc:35 +// indices/get-index-template.asciidoc:41 [source, python] ---- diff --git a/docs/examples/37983daac3d9c8582583a507b3adb7f2.asciidoc b/docs/examples/37983daac3d9c8582583a507b3adb7f2.asciidoc index 2086a8afc..d1b1b1359 100644 --- a/docs/examples/37983daac3d9c8582583a507b3adb7f2.asciidoc +++ b/docs/examples/37983daac3d9c8582583a507b3adb7f2.asciidoc @@ -1,5 +1,5 @@ // This file is autogenerated, DO NOT EDIT -// shutdown/apis/shutdown-delete.asciidoc:51 +// shutdown/apis/shutdown-delete.asciidoc:57 [source, python] ---- diff --git a/docs/examples/37f367ca81a16d3aef4ef7126ec33a2e.asciidoc b/docs/examples/37f367ca81a16d3aef4ef7126ec33a2e.asciidoc new file mode 100644 index 000000000..32c67885f --- /dev/null +++ b/docs/examples/37f367ca81a16d3aef4ef7126ec33a2e.asciidoc @@ -0,0 +1,79 @@ +// This file is autogenerated, DO NOT EDIT +// search/retriever.asciidoc:429 + +[source, python] +---- +resp = client.search( + index="movies", + size=10, + retriever={ + "rescorer": { + "rescore": { + "query": { + "window_size": 50, + "rescore_query": { + "script_score": { + "script": { + "source": "cosineSimilarity(params.queryVector, 'product-vector_final_stage') + 1.0", + "params": { + "queryVector": [ + -0.5, + 90, + -10, + 14.8, + -156 + ] + } + } + } + } + } + }, + "retriever": { + "rrf": { + "rank_window_size": 100, + "retrievers": [ + { + "standard": { + "query": { + "sparse_vector": { + "field": "plot_embedding", + "inference_id": "my-elser-model", + "query": "films that explore psychological depths" + } + } + } + }, + { + "standard": { + "query": { + "multi_match": { + "query": "crime", + "fields": [ + "plot", + "title" + ] + } + } + } + }, + { + "knn": { + "field": "vector", + "query_vector": [ + 10, + 22, + 77 + ], + "k": 10, + "num_candidates": 10 + } + } + ] + } + } + } + }, +) +print(resp) +---- diff --git a/docs/examples/3819d0a5c2eed635c88e9e7bf2e81584.asciidoc b/docs/examples/3819d0a5c2eed635c88e9e7bf2e81584.asciidoc index b5ef17a87..b8fab2deb 100644 --- a/docs/examples/3819d0a5c2eed635c88e9e7bf2e81584.asciidoc +++ b/docs/examples/3819d0a5c2eed635c88e9e7bf2e81584.asciidoc @@ -1,5 +1,5 @@ // This file is autogenerated, DO NOT EDIT -// ml/anomaly-detection/apis/revert-snapshot.asciidoc:78 +// ml/anomaly-detection/apis/revert-snapshot.asciidoc:84 [source, python] ---- diff --git a/docs/examples/386eb7dcd3149db82605bf22c5d851bf.asciidoc b/docs/examples/386eb7dcd3149db82605bf22c5d851bf.asciidoc index ad82daded..76ae0c4fc 100644 --- a/docs/examples/386eb7dcd3149db82605bf22c5d851bf.asciidoc +++ b/docs/examples/386eb7dcd3149db82605bf22c5d851bf.asciidoc @@ -1,5 +1,5 @@ // This file is autogenerated, DO NOT EDIT -// rest-api/security/query-api-key.asciidoc:368 +// rest-api/security/query-api-key.asciidoc:373 [source, python] ---- diff --git a/docs/examples/388d3eda4f792d3fce044777739217e6.asciidoc b/docs/examples/388d3eda4f792d3fce044777739217e6.asciidoc index 14dd866c0..1e79fb553 100644 --- a/docs/examples/388d3eda4f792d3fce044777739217e6.asciidoc +++ b/docs/examples/388d3eda4f792d3fce044777739217e6.asciidoc @@ -1,5 +1,5 @@ // This file is autogenerated, DO NOT EDIT -// ml/df-analytics/apis/evaluate-dfanalytics.asciidoc:436 +// ml/df-analytics/apis/evaluate-dfanalytics.asciidoc:442 [source, python] ---- diff --git a/docs/examples/38ba93890494bfa7beece58dffa44f98.asciidoc b/docs/examples/38ba93890494bfa7beece58dffa44f98.asciidoc deleted file mode 100644 index e81a005e7..000000000 --- a/docs/examples/38ba93890494bfa7beece58dffa44f98.asciidoc +++ /dev/null @@ -1,23 +0,0 @@ -// This file is autogenerated, DO NOT EDIT -// mapping/types/semantic-text.asciidoc:220 - -[source, python] ----- -resp = client.bulk( - index="test-index", - operations=[ - { - "update": { - "_id": "1" - } - }, - { - "doc": { - "infer_field": "updated inference field", - "source_field": "updated source field" - } - } - ], -) -print(resp) ----- diff --git a/docs/examples/38eed000de433b540116928681c520d3.asciidoc b/docs/examples/38eed000de433b540116928681c520d3.asciidoc index dc8c501d5..01aa0804e 100644 --- a/docs/examples/38eed000de433b540116928681c520d3.asciidoc +++ b/docs/examples/38eed000de433b540116928681c520d3.asciidoc @@ -1,5 +1,5 @@ // This file is autogenerated, DO NOT EDIT -// ml/anomaly-detection/apis/preview-datafeed.asciidoc:110 +// ml/anomaly-detection/apis/preview-datafeed.asciidoc:116 [source, python] ---- diff --git a/docs/examples/38f7739f750f1411bccf511a0abaaea3.asciidoc b/docs/examples/38f7739f750f1411bccf511a0abaaea3.asciidoc index 148e2b226..047f0f243 100644 --- a/docs/examples/38f7739f750f1411bccf511a0abaaea3.asciidoc +++ b/docs/examples/38f7739f750f1411bccf511a0abaaea3.asciidoc @@ -1,5 +1,5 @@ // This file is autogenerated, DO NOT EDIT -// search/field-caps.asciidoc:13 +// search/field-caps.asciidoc:18 [source, python] ---- diff --git a/docs/examples/3924ee252581ebb96ac0e60046125ae8.asciidoc b/docs/examples/3924ee252581ebb96ac0e60046125ae8.asciidoc index c4035e5f0..f516951de 100644 --- a/docs/examples/3924ee252581ebb96ac0e60046125ae8.asciidoc +++ b/docs/examples/3924ee252581ebb96ac0e60046125ae8.asciidoc @@ -1,5 +1,5 @@ // This file is autogenerated, DO NOT EDIT -// rest-api/security/get-users.asciidoc:63 +// rest-api/security/get-users.asciidoc:68 [source, python] ---- diff --git a/docs/examples/3951d7fcd7f849fa278daf342872125a.asciidoc b/docs/examples/3951d7fcd7f849fa278daf342872125a.asciidoc index 86b07b0f5..d36bff51e 100644 --- a/docs/examples/3951d7fcd7f849fa278daf342872125a.asciidoc +++ b/docs/examples/3951d7fcd7f849fa278daf342872125a.asciidoc @@ -1,5 +1,5 @@ // This file is autogenerated, DO NOT EDIT -// indices/analyze.asciidoc:372 +// indices/analyze.asciidoc:378 [source, python] ---- diff --git a/docs/examples/39760996f94ad34aaceaa16a5cc97993.asciidoc b/docs/examples/39760996f94ad34aaceaa16a5cc97993.asciidoc index a7560e618..7fb510cfb 100644 --- a/docs/examples/39760996f94ad34aaceaa16a5cc97993.asciidoc +++ b/docs/examples/39760996f94ad34aaceaa16a5cc97993.asciidoc @@ -1,5 +1,5 @@ // This file is autogenerated, DO NOT EDIT -// shutdown/apis/shutdown-get.asciidoc:61 +// shutdown/apis/shutdown-get.asciidoc:67 [source, python] ---- diff --git a/docs/examples/398389933901b572a06a752bc780af7c.asciidoc b/docs/examples/398389933901b572a06a752bc780af7c.asciidoc index f27040fba..9f4033e64 100644 --- a/docs/examples/398389933901b572a06a752bc780af7c.asciidoc +++ b/docs/examples/398389933901b572a06a752bc780af7c.asciidoc @@ -1,5 +1,5 @@ // This file is autogenerated, DO NOT EDIT -// inference/service-anthropic.asciidoc:131 +// inference/service-anthropic.asciidoc:137 [source, python] ---- diff --git a/docs/examples/39ce44333d28ed2b833722d3e3cb06f3.asciidoc b/docs/examples/39ce44333d28ed2b833722d3e3cb06f3.asciidoc index 6886f0a54..4aa468359 100644 --- a/docs/examples/39ce44333d28ed2b833722d3e3cb06f3.asciidoc +++ b/docs/examples/39ce44333d28ed2b833722d3e3cb06f3.asciidoc @@ -1,5 +1,5 @@ // This file is autogenerated, DO NOT EDIT -// query-dsl/bool-query.asciidoc:184 +// query-dsl/bool-query.asciidoc:187 [source, python] ---- diff --git a/docs/examples/39d6f575c9458d9c941364dfd0493fa0.asciidoc b/docs/examples/39d6f575c9458d9c941364dfd0493fa0.asciidoc index fc9b88784..deee416bf 100644 --- a/docs/examples/39d6f575c9458d9c941364dfd0493fa0.asciidoc +++ b/docs/examples/39d6f575c9458d9c941364dfd0493fa0.asciidoc @@ -1,5 +1,5 @@ // This file is autogenerated, DO NOT EDIT -// ml/anomaly-detection/apis/get-calendar-event.asciidoc:112 +// ml/anomaly-detection/apis/get-calendar-event.asciidoc:118 [source, python] ---- diff --git a/docs/examples/3a12feb0de224bfaaf518d95b9f516ff.asciidoc b/docs/examples/3a12feb0de224bfaaf518d95b9f516ff.asciidoc index aea9c1758..887795465 100644 --- a/docs/examples/3a12feb0de224bfaaf518d95b9f516ff.asciidoc +++ b/docs/examples/3a12feb0de224bfaaf518d95b9f516ff.asciidoc @@ -1,5 +1,5 @@ // This file is autogenerated, DO NOT EDIT -// rest-api/watcher/put-watch.asciidoc:120 +// rest-api/watcher/put-watch.asciidoc:126 [source, python] ---- diff --git a/docs/examples/3a2953fd81d65118a776c87a81530e15.asciidoc b/docs/examples/3a2953fd81d65118a776c87a81530e15.asciidoc index 4d97b6a1b..1264164ad 100644 --- a/docs/examples/3a2953fd81d65118a776c87a81530e15.asciidoc +++ b/docs/examples/3a2953fd81d65118a776c87a81530e15.asciidoc @@ -1,5 +1,5 @@ // This file is autogenerated, DO NOT EDIT -// search/search-your-data/highlighting.asciidoc:591 +// search/search-your-data/highlighting.asciidoc:593 [source, python] ---- diff --git a/docs/examples/3a489743e49902df38e3368cae00717a.asciidoc b/docs/examples/3a489743e49902df38e3368cae00717a.asciidoc index 91462454d..bb1aeb077 100644 --- a/docs/examples/3a489743e49902df38e3368cae00717a.asciidoc +++ b/docs/examples/3a489743e49902df38e3368cae00717a.asciidoc @@ -1,5 +1,5 @@ // This file is autogenerated, DO NOT EDIT -// troubleshooting/common-issues/high-cpu-usage.asciidoc:43 +// troubleshooting/common-issues/high-cpu-usage.asciidoc:47 [source, python] ---- diff --git a/docs/examples/3a5f2e2313614ea9693545edee22ac43.asciidoc b/docs/examples/3a5f2e2313614ea9693545edee22ac43.asciidoc index 51594a734..58caf00b1 100644 --- a/docs/examples/3a5f2e2313614ea9693545edee22ac43.asciidoc +++ b/docs/examples/3a5f2e2313614ea9693545edee22ac43.asciidoc @@ -1,5 +1,5 @@ // This file is autogenerated, DO NOT EDIT -// rest-api/security/delete-service-token.asciidoc:47 +// rest-api/security/delete-service-token.asciidoc:53 [source, python] ---- diff --git a/docs/examples/3ac8b5234e9d53859245cf8ab0094ca5.asciidoc b/docs/examples/3ac8b5234e9d53859245cf8ab0094ca5.asciidoc index e510a9c1b..06db20d8f 100644 --- a/docs/examples/3ac8b5234e9d53859245cf8ab0094ca5.asciidoc +++ b/docs/examples/3ac8b5234e9d53859245cf8ab0094ca5.asciidoc @@ -1,5 +1,5 @@ // This file is autogenerated, DO NOT EDIT -// ml/anomaly-detection/apis/delete-job.asciidoc:68 +// ml/anomaly-detection/apis/delete-job.asciidoc:74 [source, python] ---- diff --git a/docs/examples/3b04cc894e6a47d57983484010feac0c.asciidoc b/docs/examples/3b04cc894e6a47d57983484010feac0c.asciidoc index 7cc78c0b8..f652beadc 100644 --- a/docs/examples/3b04cc894e6a47d57983484010feac0c.asciidoc +++ b/docs/examples/3b04cc894e6a47d57983484010feac0c.asciidoc @@ -1,5 +1,5 @@ // This file is autogenerated, DO NOT EDIT -// docs/reindex.asciidoc:863 +// docs/reindex.asciidoc:869 [source, python] ---- diff --git a/docs/examples/3b18e9de638ff0b1c7a1f1f6bf1c24f3.asciidoc b/docs/examples/3b18e9de638ff0b1c7a1f1f6bf1c24f3.asciidoc index 4e2dc399f..b25a5f0c5 100644 --- a/docs/examples/3b18e9de638ff0b1c7a1f1f6bf1c24f3.asciidoc +++ b/docs/examples/3b18e9de638ff0b1c7a1f1f6bf1c24f3.asciidoc @@ -1,5 +1,5 @@ // This file is autogenerated, DO NOT EDIT -// rest-api/security/get-app-privileges.asciidoc:88 +// rest-api/security/get-app-privileges.asciidoc:94 [source, python] ---- diff --git a/docs/examples/3b1ff884f3bab390ae357e622c0544a9.asciidoc b/docs/examples/3b1ff884f3bab390ae357e622c0544a9.asciidoc index 401012b2d..41861b264 100644 --- a/docs/examples/3b1ff884f3bab390ae357e622c0544a9.asciidoc +++ b/docs/examples/3b1ff884f3bab390ae357e622c0544a9.asciidoc @@ -1,5 +1,5 @@ // This file is autogenerated, DO NOT EDIT -// search/rrf.asciidoc:180 +// search/rrf.asciidoc:186 [source, python] ---- diff --git a/docs/examples/3b40db1c5c6b36f087d7a09a4ce285c6.asciidoc b/docs/examples/3b40db1c5c6b36f087d7a09a4ce285c6.asciidoc index 1bdcf73a4..c337b8791 100644 --- a/docs/examples/3b40db1c5c6b36f087d7a09a4ce285c6.asciidoc +++ b/docs/examples/3b40db1c5c6b36f087d7a09a4ce285c6.asciidoc @@ -1,5 +1,5 @@ // This file is autogenerated, DO NOT EDIT -// indices/get-index-template.asciidoc:87 +// indices/get-index-template.asciidoc:93 [source, python] ---- diff --git a/docs/examples/3b606631284877f9bca15051630995ad.asciidoc b/docs/examples/3b606631284877f9bca15051630995ad.asciidoc index ccbcc0ec2..b9145064c 100644 --- a/docs/examples/3b606631284877f9bca15051630995ad.asciidoc +++ b/docs/examples/3b606631284877f9bca15051630995ad.asciidoc @@ -1,5 +1,5 @@ // This file is autogenerated, DO NOT EDIT -// scripting/using.asciidoc:436 +// scripting/using.asciidoc:441 [source, python] ---- diff --git a/docs/examples/3b64821fe9db73eb03860c60d775d7ff.asciidoc b/docs/examples/3b64821fe9db73eb03860c60d775d7ff.asciidoc index e8fb70a41..674654235 100644 --- a/docs/examples/3b64821fe9db73eb03860c60d775d7ff.asciidoc +++ b/docs/examples/3b64821fe9db73eb03860c60d775d7ff.asciidoc @@ -1,5 +1,5 @@ // This file is autogenerated, DO NOT EDIT -// rest-api/security/update-cross-cluster-api-key.asciidoc:191 +// rest-api/security/update-cross-cluster-api-key.asciidoc:197 [source, python] ---- diff --git a/docs/examples/3b9c54604535d97e8368d47148aecc6f.asciidoc b/docs/examples/3b9c54604535d97e8368d47148aecc6f.asciidoc index 8f8853fb3..90feec12e 100644 --- a/docs/examples/3b9c54604535d97e8368d47148aecc6f.asciidoc +++ b/docs/examples/3b9c54604535d97e8368d47148aecc6f.asciidoc @@ -1,5 +1,5 @@ // This file is autogenerated, DO NOT EDIT -// ml/anomaly-detection/apis/update-snapshot.asciidoc:49 +// ml/anomaly-detection/apis/update-snapshot.asciidoc:55 [source, python] ---- diff --git a/docs/examples/3bb491db29deba25e1cc82bcaa1aa1a1.asciidoc b/docs/examples/3bb491db29deba25e1cc82bcaa1aa1a1.asciidoc index 8520d79fc..356d37aac 100644 --- a/docs/examples/3bb491db29deba25e1cc82bcaa1aa1a1.asciidoc +++ b/docs/examples/3bb491db29deba25e1cc82bcaa1aa1a1.asciidoc @@ -1,5 +1,5 @@ // This file is autogenerated, DO NOT EDIT -// docs/reindex.asciidoc:775 +// docs/reindex.asciidoc:781 [source, python] ---- diff --git a/docs/examples/3bfa2362add163802fc2210cc2f37ba2.asciidoc b/docs/examples/3bfa2362add163802fc2210cc2f37ba2.asciidoc index d5d96fb70..0ac911e10 100644 --- a/docs/examples/3bfa2362add163802fc2210cc2f37ba2.asciidoc +++ b/docs/examples/3bfa2362add163802fc2210cc2f37ba2.asciidoc @@ -1,5 +1,5 @@ // This file is autogenerated, DO NOT EDIT -// snapshot-restore/apis/clone-snapshot-api.asciidoc:10 +// snapshot-restore/apis/clone-snapshot-api.asciidoc:16 [source, python] ---- diff --git a/docs/examples/3c345feb7c52fd54bcb5d5505fd8bc3b.asciidoc b/docs/examples/3c345feb7c52fd54bcb5d5505fd8bc3b.asciidoc index 727da4e7c..9abe7bfa5 100644 --- a/docs/examples/3c345feb7c52fd54bcb5d5505fd8bc3b.asciidoc +++ b/docs/examples/3c345feb7c52fd54bcb5d5505fd8bc3b.asciidoc @@ -1,5 +1,5 @@ // This file is autogenerated, DO NOT EDIT -// ml/trained-models/apis/infer-trained-model.asciidoc:1109 +// ml/trained-models/apis/infer-trained-model.asciidoc:1115 [source, python] ---- diff --git a/docs/examples/3c6abb9885cb1a997fcdd16f7fa4f673.asciidoc b/docs/examples/3c6abb9885cb1a997fcdd16f7fa4f673.asciidoc index e56708bad..cdd703ba8 100644 --- a/docs/examples/3c6abb9885cb1a997fcdd16f7fa4f673.asciidoc +++ b/docs/examples/3c6abb9885cb1a997fcdd16f7fa4f673.asciidoc @@ -1,5 +1,5 @@ // This file is autogenerated, DO NOT EDIT -// indices/shrink-index.asciidoc:11 +// indices/shrink-index.asciidoc:17 [source, python] ---- diff --git a/docs/examples/3c7621a81fa982b79f040a6d2611530e.asciidoc b/docs/examples/3c7621a81fa982b79f040a6d2611530e.asciidoc index 8b35b2a9b..71e813344 100644 --- a/docs/examples/3c7621a81fa982b79f040a6d2611530e.asciidoc +++ b/docs/examples/3c7621a81fa982b79f040a6d2611530e.asciidoc @@ -1,5 +1,5 @@ // This file is autogenerated, DO NOT EDIT -// indices/simulate-template.asciidoc:151 +// indices/simulate-template.asciidoc:157 [source, python] ---- diff --git a/docs/examples/3d1ff6097e2359f927c88c2ccdb36252.asciidoc b/docs/examples/3d1ff6097e2359f927c88c2ccdb36252.asciidoc index 2ae1accfc..f1781b5f4 100644 --- a/docs/examples/3d1ff6097e2359f927c88c2ccdb36252.asciidoc +++ b/docs/examples/3d1ff6097e2359f927c88c2ccdb36252.asciidoc @@ -1,5 +1,5 @@ // This file is autogenerated, DO NOT EDIT -// rest-api/root.asciidoc:11 +// rest-api/root.asciidoc:17 [source, python] ---- diff --git a/docs/examples/3d316bddd8503a6cc10566630a4155d3.asciidoc b/docs/examples/3d316bddd8503a6cc10566630a4155d3.asciidoc index 8f6c809f3..dce950a5f 100644 --- a/docs/examples/3d316bddd8503a6cc10566630a4155d3.asciidoc +++ b/docs/examples/3d316bddd8503a6cc10566630a4155d3.asciidoc @@ -1,5 +1,5 @@ // This file is autogenerated, DO NOT EDIT -// rest-api/watcher/get-settings.asciidoc:16 +// rest-api/watcher/get-settings.asciidoc:22 [source, python] ---- diff --git a/docs/examples/3d6a56dd3d93ece0e3da3fb66b4696d3.asciidoc b/docs/examples/3d6a56dd3d93ece0e3da3fb66b4696d3.asciidoc index 04eade572..ab8d1a44f 100644 --- a/docs/examples/3d6a56dd3d93ece0e3da3fb66b4696d3.asciidoc +++ b/docs/examples/3d6a56dd3d93ece0e3da3fb66b4696d3.asciidoc @@ -1,5 +1,5 @@ // This file is autogenerated, DO NOT EDIT -// cluster/nodes-usage.asciidoc:66 +// cluster/nodes-usage.asciidoc:71 [source, python] ---- diff --git a/docs/examples/3da35090e093c2d83c3b7d0d83bcb4ae.asciidoc b/docs/examples/3da35090e093c2d83c3b7d0d83bcb4ae.asciidoc index e76879c83..bf8d48f17 100644 --- a/docs/examples/3da35090e093c2d83c3b7d0d83bcb4ae.asciidoc +++ b/docs/examples/3da35090e093c2d83c3b7d0d83bcb4ae.asciidoc @@ -1,5 +1,5 @@ // This file is autogenerated, DO NOT EDIT -// setup/important-settings/path-settings.asciidoc:71 +// path-settings-overview.asciidoc:51 [source, python] ---- diff --git a/docs/examples/3db2b5a6424aa92ecab7a8640c38685a.asciidoc b/docs/examples/3db2b5a6424aa92ecab7a8640c38685a.asciidoc index 51ec05d35..0f80fcace 100644 --- a/docs/examples/3db2b5a6424aa92ecab7a8640c38685a.asciidoc +++ b/docs/examples/3db2b5a6424aa92ecab7a8640c38685a.asciidoc @@ -1,5 +1,5 @@ // This file is autogenerated, DO NOT EDIT -// docs/delete.asciidoc:180 +// docs/delete.asciidoc:186 [source, python] ---- diff --git a/docs/examples/3e121b43773cbb6dffa9b483c86a1f8d.asciidoc b/docs/examples/3e121b43773cbb6dffa9b483c86a1f8d.asciidoc index 12737c951..2c5368e9f 100644 --- a/docs/examples/3e121b43773cbb6dffa9b483c86a1f8d.asciidoc +++ b/docs/examples/3e121b43773cbb6dffa9b483c86a1f8d.asciidoc @@ -1,5 +1,5 @@ // This file is autogenerated, DO NOT EDIT -// rest-api/security/bulk-update-api-keys.asciidoc:81 +// rest-api/security/bulk-update-api-keys.asciidoc:87 [source, python] ---- diff --git a/docs/examples/3e278e6c193b4c17dbdc70670e15d78c.asciidoc b/docs/examples/3e278e6c193b4c17dbdc70670e15d78c.asciidoc index 838d1d3c4..5d41900e4 100644 --- a/docs/examples/3e278e6c193b4c17dbdc70670e15d78c.asciidoc +++ b/docs/examples/3e278e6c193b4c17dbdc70670e15d78c.asciidoc @@ -1,5 +1,5 @@ // This file is autogenerated, DO NOT EDIT -// search/search-your-data/highlighting.asciidoc:640 +// search/search-your-data/highlighting.asciidoc:642 [source, python] ---- diff --git a/docs/examples/3e33c1a4298ea6a0dec65a3ebf9ba973.asciidoc b/docs/examples/3e33c1a4298ea6a0dec65a3ebf9ba973.asciidoc index 657a6b6c1..01636840a 100644 --- a/docs/examples/3e33c1a4298ea6a0dec65a3ebf9ba973.asciidoc +++ b/docs/examples/3e33c1a4298ea6a0dec65a3ebf9ba973.asciidoc @@ -1,5 +1,5 @@ // This file is autogenerated, DO NOT EDIT -// docs/termvectors.asciidoc:333 +// docs/termvectors.asciidoc:339 [source, python] ---- diff --git a/docs/examples/3e8ed6ae016eb823cb00d9035b8ac459.asciidoc b/docs/examples/3e8ed6ae016eb823cb00d9035b8ac459.asciidoc index 50e9dce77..7d8074935 100644 --- a/docs/examples/3e8ed6ae016eb823cb00d9035b8ac459.asciidoc +++ b/docs/examples/3e8ed6ae016eb823cb00d9035b8ac459.asciidoc @@ -1,5 +1,5 @@ // This file is autogenerated, DO NOT EDIT -// search/search.asciidoc:10 +// search/search.asciidoc:16 [source, python] ---- diff --git a/docs/examples/3ea4c971b3f47735dcc207ee2645fa03.asciidoc b/docs/examples/3ea4c971b3f47735dcc207ee2645fa03.asciidoc new file mode 100644 index 000000000..9aed3ad38 --- /dev/null +++ b/docs/examples/3ea4c971b3f47735dcc207ee2645fa03.asciidoc @@ -0,0 +1,16 @@ +// This file is autogenerated, DO NOT EDIT +// alias.asciidoc:418 + +[source, python] +---- +resp = client.indices.update_aliases( + actions=[ + { + "remove_index": { + "index": "my-index-2099.05.06-000001" + } + } + ], +) +print(resp) +---- diff --git a/docs/examples/3ed79871d956bfb2d6d2721d7272520c.asciidoc b/docs/examples/3ed79871d956bfb2d6d2721d7272520c.asciidoc index c7be516e2..1f0745d69 100644 --- a/docs/examples/3ed79871d956bfb2d6d2721d7272520c.asciidoc +++ b/docs/examples/3ed79871d956bfb2d6d2721d7272520c.asciidoc @@ -1,5 +1,5 @@ // This file is autogenerated, DO NOT EDIT -// rest-api/watcher/stats.asciidoc:112 +// rest-api/watcher/stats.asciidoc:118 [source, python] ---- diff --git a/docs/examples/3f1fe5f5f99b98d0891f38003e10b636.asciidoc b/docs/examples/3f1fe5f5f99b98d0891f38003e10b636.asciidoc index 2191e80d4..1202241d6 100644 --- a/docs/examples/3f1fe5f5f99b98d0891f38003e10b636.asciidoc +++ b/docs/examples/3f1fe5f5f99b98d0891f38003e10b636.asciidoc @@ -1,5 +1,5 @@ // This file is autogenerated, DO NOT EDIT -// esql/esql-async-query-api.asciidoc:17 +// esql/esql-async-query-api.asciidoc:23 [source, python] ---- diff --git a/docs/examples/3f30310cc6d0adae6b0f61705624a695.asciidoc b/docs/examples/3f30310cc6d0adae6b0f61705624a695.asciidoc index b8624b2ff..63c092f08 100644 --- a/docs/examples/3f30310cc6d0adae6b0f61705624a695.asciidoc +++ b/docs/examples/3f30310cc6d0adae6b0f61705624a695.asciidoc @@ -1,5 +1,5 @@ // This file is autogenerated, DO NOT EDIT -// snapshot-restore/apis/create-snapshot-api.asciidoc:160 +// snapshot-restore/apis/create-snapshot-api.asciidoc:166 [source, python] ---- diff --git a/docs/examples/3f8dc309b63fa0437898107b0d964217.asciidoc b/docs/examples/3f8dc309b63fa0437898107b0d964217.asciidoc index d97f352cd..333e71a68 100644 --- a/docs/examples/3f8dc309b63fa0437898107b0d964217.asciidoc +++ b/docs/examples/3f8dc309b63fa0437898107b0d964217.asciidoc @@ -1,5 +1,5 @@ // This file is autogenerated, DO NOT EDIT -// cat/anomaly-detectors.asciidoc:281 +// cat/anomaly-detectors.asciidoc:287 [source, python] ---- diff --git a/docs/examples/3fe4264ace04405989141c43aadfff81.asciidoc b/docs/examples/3fe4264ace04405989141c43aadfff81.asciidoc index 28dd407e9..84122ddd4 100644 --- a/docs/examples/3fe4264ace04405989141c43aadfff81.asciidoc +++ b/docs/examples/3fe4264ace04405989141c43aadfff81.asciidoc @@ -1,5 +1,5 @@ // This file is autogenerated, DO NOT EDIT -// rest-api/security/create-roles.asciidoc:167 +// rest-api/security/create-roles.asciidoc:173 [source, python] ---- diff --git a/docs/examples/3fe5e6c0d5ea4586aa04f989ae54b72e.asciidoc b/docs/examples/3fe5e6c0d5ea4586aa04f989ae54b72e.asciidoc index e8e5b0d59..66637dbe9 100644 --- a/docs/examples/3fe5e6c0d5ea4586aa04f989ae54b72e.asciidoc +++ b/docs/examples/3fe5e6c0d5ea4586aa04f989ae54b72e.asciidoc @@ -1,5 +1,5 @@ // This file is autogenerated, DO NOT EDIT -// snapshot-restore/apis/verify-repo-api.asciidoc:25 +// snapshot-restore/apis/verify-repo-api.asciidoc:31 [source, python] ---- diff --git a/docs/examples/400e89eb46ead8e9c9e40f123fd5e590.asciidoc b/docs/examples/400e89eb46ead8e9c9e40f123fd5e590.asciidoc index 8e863d72b..d4266e99d 100644 --- a/docs/examples/400e89eb46ead8e9c9e40f123fd5e590.asciidoc +++ b/docs/examples/400e89eb46ead8e9c9e40f123fd5e590.asciidoc @@ -1,5 +1,5 @@ // This file is autogenerated, DO NOT EDIT -// docs/reindex.asciidoc:428 +// docs/reindex.asciidoc:434 [source, python] ---- diff --git a/docs/examples/4029af36cb3f8202549017f7378803b4.asciidoc b/docs/examples/4029af36cb3f8202549017f7378803b4.asciidoc index 215136b33..558cc0bd3 100644 --- a/docs/examples/4029af36cb3f8202549017f7378803b4.asciidoc +++ b/docs/examples/4029af36cb3f8202549017f7378803b4.asciidoc @@ -1,5 +1,5 @@ // This file is autogenerated, DO NOT EDIT -// cluster/get-settings.asciidoc:10 +// cluster/get-settings.asciidoc:16 [source, python] ---- diff --git a/docs/examples/405511f7c1f12cc0a227b4563fe7b2e2.asciidoc b/docs/examples/405511f7c1f12cc0a227b4563fe7b2e2.asciidoc index 0ec5e8839..376f8c0f4 100644 --- a/docs/examples/405511f7c1f12cc0a227b4563fe7b2e2.asciidoc +++ b/docs/examples/405511f7c1f12cc0a227b4563fe7b2e2.asciidoc @@ -1,5 +1,5 @@ // This file is autogenerated, DO NOT EDIT -// esql/esql-async-query-get-api.asciidoc:11 +// esql/esql-async-query-get-api.asciidoc:17 [source, python] ---- diff --git a/docs/examples/405ac843a9156d3cab374e199cac87fb.asciidoc b/docs/examples/405ac843a9156d3cab374e199cac87fb.asciidoc index 15e9b0326..efc7cddb3 100644 --- a/docs/examples/405ac843a9156d3cab374e199cac87fb.asciidoc +++ b/docs/examples/405ac843a9156d3cab374e199cac87fb.asciidoc @@ -1,5 +1,5 @@ // This file is autogenerated, DO NOT EDIT -// connector/apis/create-connector-sync-job-api.asciidoc:16 +// connector/apis/create-connector-sync-job-api.asciidoc:21 [source, python] ---- diff --git a/docs/examples/405db6f3a01eceacfaa8b0ed3e4b3ac2.asciidoc b/docs/examples/405db6f3a01eceacfaa8b0ed3e4b3ac2.asciidoc index 33c666fed..d9a5a7e2b 100644 --- a/docs/examples/405db6f3a01eceacfaa8b0ed3e4b3ac2.asciidoc +++ b/docs/examples/405db6f3a01eceacfaa8b0ed3e4b3ac2.asciidoc @@ -1,5 +1,5 @@ // This file is autogenerated, DO NOT EDIT -// ml/anomaly-detection/apis/get-overall-buckets.asciidoc:175 +// ml/anomaly-detection/apis/get-overall-buckets.asciidoc:181 [source, python] ---- diff --git a/docs/examples/4061fd5ba7221ca85805ed14d59a6bc5.asciidoc b/docs/examples/4061fd5ba7221ca85805ed14d59a6bc5.asciidoc index 62d2fd139..0b040a384 100644 --- a/docs/examples/4061fd5ba7221ca85805ed14d59a6bc5.asciidoc +++ b/docs/examples/4061fd5ba7221ca85805ed14d59a6bc5.asciidoc @@ -1,5 +1,5 @@ // This file is autogenerated, DO NOT EDIT -// scripting/using.asciidoc:266 +// scripting/using.asciidoc:271 [source, python] ---- diff --git a/docs/examples/4113c57384aa37c58d11579e20c00760.asciidoc b/docs/examples/4113c57384aa37c58d11579e20c00760.asciidoc index b76e6d369..6da608277 100644 --- a/docs/examples/4113c57384aa37c58d11579e20c00760.asciidoc +++ b/docs/examples/4113c57384aa37c58d11579e20c00760.asciidoc @@ -1,5 +1,5 @@ // This file is autogenerated, DO NOT EDIT -// docs/get.asciidoc:59 +// docs/get.asciidoc:65 [source, python] ---- diff --git a/docs/examples/41175d304e660da2931764f9a4418fd3.asciidoc b/docs/examples/41175d304e660da2931764f9a4418fd3.asciidoc index d37e82323..c5847cd73 100644 --- a/docs/examples/41175d304e660da2931764f9a4418fd3.asciidoc +++ b/docs/examples/41175d304e660da2931764f9a4418fd3.asciidoc @@ -1,5 +1,5 @@ // This file is autogenerated, DO NOT EDIT -// connector/apis/update-connector-pipeline-api.asciidoc:88 +// connector/apis/update-connector-pipeline-api.asciidoc:94 [source, python] ---- diff --git a/docs/examples/41195ef13af0465cdee1ae18f6c00fde.asciidoc b/docs/examples/41195ef13af0465cdee1ae18f6c00fde.asciidoc index 3febeb06c..3b320bb1e 100644 --- a/docs/examples/41195ef13af0465cdee1ae18f6c00fde.asciidoc +++ b/docs/examples/41195ef13af0465cdee1ae18f6c00fde.asciidoc @@ -1,5 +1,5 @@ // This file is autogenerated, DO NOT EDIT -// slm/apis/slm-stop.asciidoc:47 +// slm/apis/slm-stop.asciidoc:52 [source, python] ---- diff --git a/docs/examples/412f8238ab5182678f1d8f6383031b11.asciidoc b/docs/examples/412f8238ab5182678f1d8f6383031b11.asciidoc index c57e81fa5..8450dd9a2 100644 --- a/docs/examples/412f8238ab5182678f1d8f6383031b11.asciidoc +++ b/docs/examples/412f8238ab5182678f1d8f6383031b11.asciidoc @@ -1,5 +1,5 @@ // This file is autogenerated, DO NOT EDIT -// indices/get-alias.asciidoc:10 +// indices/get-alias.asciidoc:16 [source, python] ---- diff --git a/docs/examples/416a3ba11232d3c078c1c31340cf356f.asciidoc b/docs/examples/416a3ba11232d3c078c1c31340cf356f.asciidoc index e382d7af7..e8318037b 100644 --- a/docs/examples/416a3ba11232d3c078c1c31340cf356f.asciidoc +++ b/docs/examples/416a3ba11232d3c078c1c31340cf356f.asciidoc @@ -1,5 +1,5 @@ // This file is autogenerated, DO NOT EDIT -// search/search-your-data/highlighting.asciidoc:473 +// search/search-your-data/highlighting.asciidoc:475 [source, python] ---- diff --git a/docs/examples/41d24383d29b2808a65258a0a3256e96.asciidoc b/docs/examples/41d24383d29b2808a65258a0a3256e96.asciidoc new file mode 100644 index 000000000..ea815d5f7 --- /dev/null +++ b/docs/examples/41d24383d29b2808a65258a0a3256e96.asciidoc @@ -0,0 +1,18 @@ +// This file is autogenerated, DO NOT EDIT +// inference/service-jinaai.asciidoc:188 + +[source, python] +---- +resp = client.indices.create( + index="jinaai-index", + mappings={ + "properties": { + "content": { + "type": "semantic_text", + "inference_id": "jinaai-embeddings" + } + } + }, +) +print(resp) +---- diff --git a/docs/examples/41dbd79f624b998d01c10921e9a35c4b.asciidoc b/docs/examples/41dbd79f624b998d01c10921e9a35c4b.asciidoc index 6f7efef11..7a5985b03 100644 --- a/docs/examples/41dbd79f624b998d01c10921e9a35c4b.asciidoc +++ b/docs/examples/41dbd79f624b998d01c10921e9a35c4b.asciidoc @@ -1,5 +1,5 @@ // This file is autogenerated, DO NOT EDIT -// docs/update.asciidoc:290 +// docs/update.asciidoc:296 [source, python] ---- diff --git a/docs/examples/41fd33a293a575bd71a1fac7bcc8b47c.asciidoc b/docs/examples/41fd33a293a575bd71a1fac7bcc8b47c.asciidoc index 234b4b474..b9c9770e5 100644 --- a/docs/examples/41fd33a293a575bd71a1fac7bcc8b47c.asciidoc +++ b/docs/examples/41fd33a293a575bd71a1fac7bcc8b47c.asciidoc @@ -1,5 +1,5 @@ // This file is autogenerated, DO NOT EDIT -// search-application/apis/put-search-application.asciidoc:148 +// search-application/apis/put-search-application.asciidoc:153 [source, python] ---- diff --git a/docs/examples/4207219a892339e8f3abe0df8723dd27.asciidoc b/docs/examples/4207219a892339e8f3abe0df8723dd27.asciidoc index 92314f5f5..f929c54b2 100644 --- a/docs/examples/4207219a892339e8f3abe0df8723dd27.asciidoc +++ b/docs/examples/4207219a892339e8f3abe0df8723dd27.asciidoc @@ -1,5 +1,5 @@ // This file is autogenerated, DO NOT EDIT -// modules/cluster/misc.asciidoc:133 +// modules/cluster/misc.asciidoc:136 [source, python] ---- diff --git a/docs/examples/421e68e2b9789f0e8c08760d9e685d1c.asciidoc b/docs/examples/421e68e2b9789f0e8c08760d9e685d1c.asciidoc index 7184d8b40..2c831b393 100644 --- a/docs/examples/421e68e2b9789f0e8c08760d9e685d1c.asciidoc +++ b/docs/examples/421e68e2b9789f0e8c08760d9e685d1c.asciidoc @@ -1,5 +1,5 @@ // This file is autogenerated, DO NOT EDIT -// ml/anomaly-detection/apis/update-job.asciidoc:258 +// ml/anomaly-detection/apis/update-job.asciidoc:264 [source, python] ---- diff --git a/docs/examples/424fbf082cd4affb84439abfc916b597.asciidoc b/docs/examples/424fbf082cd4affb84439abfc916b597.asciidoc index c09038abb..96b24b354 100644 --- a/docs/examples/424fbf082cd4affb84439abfc916b597.asciidoc +++ b/docs/examples/424fbf082cd4affb84439abfc916b597.asciidoc @@ -1,5 +1,5 @@ // This file is autogenerated, DO NOT EDIT -// indices/downsample-data-stream.asciidoc:59 +// indices/downsample-data-stream.asciidoc:65 [source, python] ---- diff --git a/docs/examples/425eaaf9c7e3b1e77a3474fbab4183b4.asciidoc b/docs/examples/425eaaf9c7e3b1e77a3474fbab4183b4.asciidoc index b6bb4fb2c..7b8038083 100644 --- a/docs/examples/425eaaf9c7e3b1e77a3474fbab4183b4.asciidoc +++ b/docs/examples/425eaaf9c7e3b1e77a3474fbab4183b4.asciidoc @@ -1,5 +1,5 @@ // This file is autogenerated, DO NOT EDIT -// troubleshooting/common-issues/task-queue-backlog.asciidoc:25 +// troubleshooting/common-issues/task-queue-backlog.asciidoc:36 [source, python] ---- diff --git a/docs/examples/430705509f8367aef92be413f702520b.asciidoc b/docs/examples/430705509f8367aef92be413f702520b.asciidoc index 7e2d3af29..41b09e782 100644 --- a/docs/examples/430705509f8367aef92be413f702520b.asciidoc +++ b/docs/examples/430705509f8367aef92be413f702520b.asciidoc @@ -1,5 +1,5 @@ // This file is autogenerated, DO NOT EDIT -// connector/apis/update-connector-status-api.asciidoc:76 +// connector/apis/update-connector-status-api.asciidoc:82 [source, python] ---- diff --git a/docs/examples/436d50b85fc8f0977d02059eec00719b.asciidoc b/docs/examples/436d50b85fc8f0977d02059eec00719b.asciidoc index 041633ca9..bd4578790 100644 --- a/docs/examples/436d50b85fc8f0977d02059eec00719b.asciidoc +++ b/docs/examples/436d50b85fc8f0977d02059eec00719b.asciidoc @@ -1,5 +1,5 @@ // This file is autogenerated, DO NOT EDIT -// docs/update.asciidoc:309 +// docs/update.asciidoc:315 [source, python] ---- diff --git a/docs/examples/43d9e314431336a6f084cea76dfd6489.asciidoc b/docs/examples/43d9e314431336a6f084cea76dfd6489.asciidoc index a6d261f47..251530a9e 100644 --- a/docs/examples/43d9e314431336a6f084cea76dfd6489.asciidoc +++ b/docs/examples/43d9e314431336a6f084cea76dfd6489.asciidoc @@ -1,5 +1,5 @@ // This file is autogenerated, DO NOT EDIT -// search/retriever.asciidoc:236 +// search/retriever.asciidoc:247 [source, python] ---- diff --git a/docs/examples/43e86fbaeed068dcc981214338559b5a.asciidoc b/docs/examples/43e86fbaeed068dcc981214338559b5a.asciidoc index 254f835ae..d0a87d736 100644 --- a/docs/examples/43e86fbaeed068dcc981214338559b5a.asciidoc +++ b/docs/examples/43e86fbaeed068dcc981214338559b5a.asciidoc @@ -1,5 +1,5 @@ // This file is autogenerated, DO NOT EDIT -// indices/resolve-cluster.asciidoc:58 +// indices/resolve-cluster.asciidoc:89 [source, python] ---- diff --git a/docs/examples/43fe75fa9f3fca846598fdad58fd98cb.asciidoc b/docs/examples/43fe75fa9f3fca846598fdad58fd98cb.asciidoc index a5f3ab8d5..134df95bc 100644 --- a/docs/examples/43fe75fa9f3fca846598fdad58fd98cb.asciidoc +++ b/docs/examples/43fe75fa9f3fca846598fdad58fd98cb.asciidoc @@ -1,5 +1,5 @@ // This file is autogenerated, DO NOT EDIT -// rest-api/usage.asciidoc:38 +// rest-api/usage.asciidoc:44 [source, python] ---- diff --git a/docs/examples/44231f7cdd5c3a21025861cdef31e355.asciidoc b/docs/examples/44231f7cdd5c3a21025861cdef31e355.asciidoc index a88404872..3b58c3f01 100644 --- a/docs/examples/44231f7cdd5c3a21025861cdef31e355.asciidoc +++ b/docs/examples/44231f7cdd5c3a21025861cdef31e355.asciidoc @@ -1,5 +1,5 @@ // This file is autogenerated, DO NOT EDIT -// troubleshooting/common-issues/red-yellow-cluster-status.asciidoc:205 +// troubleshooting/common-issues/red-yellow-cluster-status.asciidoc:206 [source, python] ---- diff --git a/docs/examples/44385b61342e20ea05f254015b2b04d7.asciidoc b/docs/examples/44385b61342e20ea05f254015b2b04d7.asciidoc index e8c93ac34..809e5607b 100644 --- a/docs/examples/44385b61342e20ea05f254015b2b04d7.asciidoc +++ b/docs/examples/44385b61342e20ea05f254015b2b04d7.asciidoc @@ -1,5 +1,5 @@ // This file is autogenerated, DO NOT EDIT -// rest-api/security/bulk-delete-roles.asciidoc:48 +// rest-api/security/bulk-delete-roles.asciidoc:54 [source, python] ---- diff --git a/docs/examples/4479e8c63a04fa22207a6a8803eadcad.asciidoc b/docs/examples/4479e8c63a04fa22207a6a8803eadcad.asciidoc index b5d3ca633..3abec964f 100644 --- a/docs/examples/4479e8c63a04fa22207a6a8803eadcad.asciidoc +++ b/docs/examples/4479e8c63a04fa22207a6a8803eadcad.asciidoc @@ -1,5 +1,5 @@ // This file is autogenerated, DO NOT EDIT -// modules/cluster/allocation_awareness.asciidoc:67 +// modules/cluster/allocation_awareness.asciidoc:62 [source, python] ---- diff --git a/docs/examples/4498b9d3b0c77e1b9ef6664ff5963ce2.asciidoc b/docs/examples/4498b9d3b0c77e1b9ef6664ff5963ce2.asciidoc index 8d22ea53a..66d57f24a 100644 --- a/docs/examples/4498b9d3b0c77e1b9ef6664ff5963ce2.asciidoc +++ b/docs/examples/4498b9d3b0c77e1b9ef6664ff5963ce2.asciidoc @@ -1,5 +1,5 @@ // This file is autogenerated, DO NOT EDIT -// modules/indices/request_cache.asciidoc:59 +// shard-request-cache.asciidoc:61 [source, python] ---- diff --git a/docs/examples/44b8a236d7cfb31c43c6d066ae16d8cd.asciidoc b/docs/examples/44b8a236d7cfb31c43c6d066ae16d8cd.asciidoc index db0e61236..a3bd120f1 100644 --- a/docs/examples/44b8a236d7cfb31c43c6d066ae16d8cd.asciidoc +++ b/docs/examples/44b8a236d7cfb31c43c6d066ae16d8cd.asciidoc @@ -1,5 +1,5 @@ // This file is autogenerated, DO NOT EDIT -// search/profile.asciidoc:35 +// search/profile.asciidoc:40 [source, python] ---- diff --git a/docs/examples/44da736ce0e1587c1e7c45eee606ead7.asciidoc b/docs/examples/44da736ce0e1587c1e7c45eee606ead7.asciidoc index f41b42c8d..44157ab00 100644 --- a/docs/examples/44da736ce0e1587c1e7c45eee606ead7.asciidoc +++ b/docs/examples/44da736ce0e1587c1e7c45eee606ead7.asciidoc @@ -1,5 +1,5 @@ // This file is autogenerated, DO NOT EDIT -// docs/update-by-query.asciidoc:403 +// docs/update-by-query.asciidoc:409 [source, python] ---- diff --git a/docs/examples/44db41b8465af951e366da97ade63bc1.asciidoc b/docs/examples/44db41b8465af951e366da97ade63bc1.asciidoc index 08d8e6708..19a3b1d21 100644 --- a/docs/examples/44db41b8465af951e366da97ade63bc1.asciidoc +++ b/docs/examples/44db41b8465af951e366da97ade63bc1.asciidoc @@ -1,5 +1,5 @@ // This file is autogenerated, DO NOT EDIT -// indices/apis/reload-analyzers.asciidoc:154 +// indices/apis/reload-analyzers.asciidoc:160 [source, python] ---- diff --git a/docs/examples/458b2228aed7464d915a5d73cb6b98f6.asciidoc b/docs/examples/458b2228aed7464d915a5d73cb6b98f6.asciidoc index d8d3104df..654e8e078 100644 --- a/docs/examples/458b2228aed7464d915a5d73cb6b98f6.asciidoc +++ b/docs/examples/458b2228aed7464d915a5d73cb6b98f6.asciidoc @@ -1,5 +1,5 @@ // This file is autogenerated, DO NOT EDIT -// cat/snapshots.asciidoc:129 +// cat/snapshots.asciidoc:135 [source, python] ---- diff --git a/docs/examples/45954b8aaedfed57012be8b6538b0a24.asciidoc b/docs/examples/45954b8aaedfed57012be8b6538b0a24.asciidoc new file mode 100644 index 000000000..860441617 --- /dev/null +++ b/docs/examples/45954b8aaedfed57012be8b6538b0a24.asciidoc @@ -0,0 +1,48 @@ +// This file is autogenerated, DO NOT EDIT +// inference/chat-completion-inference.asciidoc:352 + +[source, python] +---- +resp = client.perform_request( + "POST", + "/_inference/chat_completion/openai-completion/_stream", + headers={"Content-Type": "application/json"}, + body={ + "messages": [ + { + "role": "user", + "content": [ + { + "type": "text", + "text": "What's the price of a scarf?" + } + ] + } + ], + "tools": [ + { + "type": "function", + "function": { + "name": "get_current_price", + "description": "Get the current price of a item", + "parameters": { + "type": "object", + "properties": { + "item": { + "id": "123" + } + } + } + } + } + ], + "tool_choice": { + "type": "function", + "function": { + "name": "get_current_price" + } + } + }, +) +print(resp) +---- diff --git a/docs/examples/46064e81620162a23e75002a7eeb8b10.asciidoc b/docs/examples/46064e81620162a23e75002a7eeb8b10.asciidoc index 3c332a0b2..b99e20fcf 100644 --- a/docs/examples/46064e81620162a23e75002a7eeb8b10.asciidoc +++ b/docs/examples/46064e81620162a23e75002a7eeb8b10.asciidoc @@ -1,5 +1,5 @@ // This file is autogenerated, DO NOT EDIT -// ilm/apis/move-to-step.asciidoc:188 +// ilm/apis/move-to-step.asciidoc:194 [source, python] ---- diff --git a/docs/examples/46658f00edc4865dfe472a392374cd0f.asciidoc b/docs/examples/46658f00edc4865dfe472a392374cd0f.asciidoc index 83abbcf70..185af87c5 100644 --- a/docs/examples/46658f00edc4865dfe472a392374cd0f.asciidoc +++ b/docs/examples/46658f00edc4865dfe472a392374cd0f.asciidoc @@ -1,5 +1,5 @@ // This file is autogenerated, DO NOT EDIT -// indices/put-index-template-v1.asciidoc:252 +// indices/put-index-template-v1.asciidoc:258 [source, python] ---- diff --git a/docs/examples/468f7ec42cdd8287cdea3ec1cea4a514.asciidoc b/docs/examples/468f7ec42cdd8287cdea3ec1cea4a514.asciidoc index 20d03bb33..25ae2ca45 100644 --- a/docs/examples/468f7ec42cdd8287cdea3ec1cea4a514.asciidoc +++ b/docs/examples/468f7ec42cdd8287cdea3ec1cea4a514.asciidoc @@ -1,5 +1,5 @@ // This file is autogenerated, DO NOT EDIT -// scripting/using.asciidoc:333 +// scripting/using.asciidoc:338 [source, python] ---- diff --git a/docs/examples/46b1c1f6e0c86528be84c373eeb8d425.asciidoc b/docs/examples/46b1c1f6e0c86528be84c373eeb8d425.asciidoc index a187319f3..27eda1700 100644 --- a/docs/examples/46b1c1f6e0c86528be84c373eeb8d425.asciidoc +++ b/docs/examples/46b1c1f6e0c86528be84c373eeb8d425.asciidoc @@ -1,5 +1,5 @@ // This file is autogenerated, DO NOT EDIT -// licensing/update-license.asciidoc:139 +// licensing/update-license.asciidoc:145 [source, python] ---- diff --git a/docs/examples/480e531db799c4c909afd8e2a73a8d0b.asciidoc b/docs/examples/480e531db799c4c909afd8e2a73a8d0b.asciidoc index 21c1254ff..f2f7b1dd4 100644 --- a/docs/examples/480e531db799c4c909afd8e2a73a8d0b.asciidoc +++ b/docs/examples/480e531db799c4c909afd8e2a73a8d0b.asciidoc @@ -1,5 +1,5 @@ // This file is autogenerated, DO NOT EDIT -// indices/forcemerge.asciidoc:193 +// indices/forcemerge.asciidoc:199 [source, python] ---- diff --git a/docs/examples/483d669ec0768bc4e275a568c6164704.asciidoc b/docs/examples/483d669ec0768bc4e275a568c6164704.asciidoc index e568ac3f6..ac531f427 100644 --- a/docs/examples/483d669ec0768bc4e275a568c6164704.asciidoc +++ b/docs/examples/483d669ec0768bc4e275a568c6164704.asciidoc @@ -1,5 +1,5 @@ // This file is autogenerated, DO NOT EDIT -// ccr/apis/follow/post-pause-follow.asciidoc:29 +// ccr/apis/follow/post-pause-follow.asciidoc:35 [source, python] ---- diff --git a/docs/examples/488f6df1df71972392b670ce557f7ff3.asciidoc b/docs/examples/488f6df1df71972392b670ce557f7ff3.asciidoc index f44dfa132..6d60ffbe5 100644 --- a/docs/examples/488f6df1df71972392b670ce557f7ff3.asciidoc +++ b/docs/examples/488f6df1df71972392b670ce557f7ff3.asciidoc @@ -1,5 +1,5 @@ // This file is autogenerated, DO NOT EDIT -// indices/put-index-template-v1.asciidoc:234 +// indices/put-index-template-v1.asciidoc:240 [source, python] ---- diff --git a/docs/examples/48e142e6c69014e0509d4c9251749d77.asciidoc b/docs/examples/48e142e6c69014e0509d4c9251749d77.asciidoc index f08aa2135..1f8ce6f36 100644 --- a/docs/examples/48e142e6c69014e0509d4c9251749d77.asciidoc +++ b/docs/examples/48e142e6c69014e0509d4c9251749d77.asciidoc @@ -1,5 +1,5 @@ // This file is autogenerated, DO NOT EDIT -// inference/service-openai.asciidoc:147 +// inference/service-openai.asciidoc:161 [source, python] ---- diff --git a/docs/examples/4982c547be1ad9455ae836990aea92c5.asciidoc b/docs/examples/4982c547be1ad9455ae836990aea92c5.asciidoc index b7a6d50b1..c907beaf6 100644 --- a/docs/examples/4982c547be1ad9455ae836990aea92c5.asciidoc +++ b/docs/examples/4982c547be1ad9455ae836990aea92c5.asciidoc @@ -1,5 +1,5 @@ // This file is autogenerated, DO NOT EDIT -// ml/trained-models/apis/start-trained-model-deployment.asciidoc:222 +// ml/trained-models/apis/start-trained-model-deployment.asciidoc:228 [source, python] ---- diff --git a/docs/examples/49c052a748c943180db78fee8e144239.asciidoc b/docs/examples/49c052a748c943180db78fee8e144239.asciidoc index 35f82f055..d40b88497 100644 --- a/docs/examples/49c052a748c943180db78fee8e144239.asciidoc +++ b/docs/examples/49c052a748c943180db78fee8e144239.asciidoc @@ -1,5 +1,5 @@ // This file is autogenerated, DO NOT EDIT -// rest-api/security/clear-api-key-cache.asciidoc:50 +// rest-api/security/clear-api-key-cache.asciidoc:56 [source, python] ---- diff --git a/docs/examples/49d87c2eb7314ed34221c5fb4f21dfcc.asciidoc b/docs/examples/49d87c2eb7314ed34221c5fb4f21dfcc.asciidoc index 50a554339..26e15bc31 100644 --- a/docs/examples/49d87c2eb7314ed34221c5fb4f21dfcc.asciidoc +++ b/docs/examples/49d87c2eb7314ed34221c5fb4f21dfcc.asciidoc @@ -1,5 +1,5 @@ // This file is autogenerated, DO NOT EDIT -// indices/analyze.asciidoc:257 +// indices/analyze.asciidoc:263 [source, python] ---- diff --git a/docs/examples/49e8773a34fcbf825de38426cff5509c.asciidoc b/docs/examples/49e8773a34fcbf825de38426cff5509c.asciidoc index 1723f1af4..4e7fd6c8f 100644 --- a/docs/examples/49e8773a34fcbf825de38426cff5509c.asciidoc +++ b/docs/examples/49e8773a34fcbf825de38426cff5509c.asciidoc @@ -1,5 +1,5 @@ // This file is autogenerated, DO NOT EDIT -// search/profile.asciidoc:1270 +// search/profile.asciidoc:1275 [source, python] ---- diff --git a/docs/examples/49f4d2a461536d150e16b1e0a3148678.asciidoc b/docs/examples/49f4d2a461536d150e16b1e0a3148678.asciidoc index c32439da7..4163a05da 100644 --- a/docs/examples/49f4d2a461536d150e16b1e0a3148678.asciidoc +++ b/docs/examples/49f4d2a461536d150e16b1e0a3148678.asciidoc @@ -1,5 +1,5 @@ // This file is autogenerated, DO NOT EDIT -// indices/clearcache.asciidoc:110 +// indices/clearcache.asciidoc:116 [source, python] ---- diff --git a/docs/examples/4a1951844bd39f26961bfc965f3432b1.asciidoc b/docs/examples/4a1951844bd39f26961bfc965f3432b1.asciidoc index ed58cd4a6..487751e38 100644 --- a/docs/examples/4a1951844bd39f26961bfc965f3432b1.asciidoc +++ b/docs/examples/4a1951844bd39f26961bfc965f3432b1.asciidoc @@ -1,5 +1,5 @@ // This file is autogenerated, DO NOT EDIT -// docs/multi-get.asciidoc:138 +// docs/multi-get.asciidoc:144 [source, python] ---- diff --git a/docs/examples/4a4b8a406681584a91c0e614c1fa4344.asciidoc b/docs/examples/4a4b8a406681584a91c0e614c1fa4344.asciidoc index 2b0e13e14..7327152dc 100644 --- a/docs/examples/4a4b8a406681584a91c0e614c1fa4344.asciidoc +++ b/docs/examples/4a4b8a406681584a91c0e614c1fa4344.asciidoc @@ -1,5 +1,5 @@ // This file is autogenerated, DO NOT EDIT -// rest-api/security/create-api-keys.asciidoc:128 +// rest-api/security/create-api-keys.asciidoc:134 [source, python] ---- diff --git a/docs/examples/4ae494d1e62231e832fc0436b04e2014.asciidoc b/docs/examples/4ae494d1e62231e832fc0436b04e2014.asciidoc index 2aed5eb79..66d40366f 100644 --- a/docs/examples/4ae494d1e62231e832fc0436b04e2014.asciidoc +++ b/docs/examples/4ae494d1e62231e832fc0436b04e2014.asciidoc @@ -1,5 +1,5 @@ // This file is autogenerated, DO NOT EDIT -// search/validate.asciidoc:116 +// search/validate.asciidoc:122 [source, python] ---- diff --git a/docs/examples/4b1044259a6d777d87529eae25675005.asciidoc b/docs/examples/4b1044259a6d777d87529eae25675005.asciidoc index 3d9ff4dca..4422e2335 100644 --- a/docs/examples/4b1044259a6d777d87529eae25675005.asciidoc +++ b/docs/examples/4b1044259a6d777d87529eae25675005.asciidoc @@ -1,5 +1,5 @@ // This file is autogenerated, DO NOT EDIT -// docs/update-by-query.asciidoc:444 +// docs/update-by-query.asciidoc:450 [source, python] ---- diff --git a/docs/examples/4b5110a21676cc0e26e050a4b4552235.asciidoc b/docs/examples/4b5110a21676cc0e26e050a4b4552235.asciidoc index b631d63a0..7881b4323 100644 --- a/docs/examples/4b5110a21676cc0e26e050a4b4552235.asciidoc +++ b/docs/examples/4b5110a21676cc0e26e050a4b4552235.asciidoc @@ -1,5 +1,5 @@ // This file is autogenerated, DO NOT EDIT -// synonyms/apis/get-synonyms-set.asciidoc:75 +// synonyms/apis/get-synonyms-set.asciidoc:81 [source, python] ---- diff --git a/docs/examples/4b91ad7c9b44e07db4a4e81390f19ad3.asciidoc b/docs/examples/4b91ad7c9b44e07db4a4e81390f19ad3.asciidoc index a23486bbb..3a3a91764 100644 --- a/docs/examples/4b91ad7c9b44e07db4a4e81390f19ad3.asciidoc +++ b/docs/examples/4b91ad7c9b44e07db4a4e81390f19ad3.asciidoc @@ -1,5 +1,5 @@ // This file is autogenerated, DO NOT EDIT -// inference/stream-inference.asciidoc:78 +// inference/stream-inference.asciidoc:88 [source, python] ---- diff --git a/docs/examples/4bc4db44b8c74610b73f21a421099a13.asciidoc b/docs/examples/4bc4db44b8c74610b73f21a421099a13.asciidoc index 488080f02..1773348bd 100644 --- a/docs/examples/4bc4db44b8c74610b73f21a421099a13.asciidoc +++ b/docs/examples/4bc4db44b8c74610b73f21a421099a13.asciidoc @@ -1,5 +1,5 @@ // This file is autogenerated, DO NOT EDIT -// rest-api/security/invalidate-tokens.asciidoc:188 +// rest-api/security/invalidate-tokens.asciidoc:194 [source, python] ---- diff --git a/docs/examples/4be07b34db282044c88d5021c7ea08ee.asciidoc b/docs/examples/4be07b34db282044c88d5021c7ea08ee.asciidoc index 5c8c2d90c..5b9e08deb 100644 --- a/docs/examples/4be07b34db282044c88d5021c7ea08ee.asciidoc +++ b/docs/examples/4be07b34db282044c88d5021c7ea08ee.asciidoc @@ -1,5 +1,5 @@ // This file is autogenerated, DO NOT EDIT -// mapping/types/dense-vector.asciidoc:18 +// mapping/types/dense-vector.asciidoc:17 [source, python] ---- diff --git a/docs/examples/4bef98a2dac575a50ee0783c2269f1db.asciidoc b/docs/examples/4bef98a2dac575a50ee0783c2269f1db.asciidoc index d1aac9774..80814dcf0 100644 --- a/docs/examples/4bef98a2dac575a50ee0783c2269f1db.asciidoc +++ b/docs/examples/4bef98a2dac575a50ee0783c2269f1db.asciidoc @@ -1,5 +1,5 @@ // This file is autogenerated, DO NOT EDIT -// mapping/types/dense-vector.asciidoc:497 +// mapping/types/dense-vector.asciidoc:498 [source, python] ---- diff --git a/docs/examples/4bfcb2861f1d572bd0d66acd66deab0b.asciidoc b/docs/examples/4bfcb2861f1d572bd0d66acd66deab0b.asciidoc index b83d3fc8a..a476373ec 100644 --- a/docs/examples/4bfcb2861f1d572bd0d66acd66deab0b.asciidoc +++ b/docs/examples/4bfcb2861f1d572bd0d66acd66deab0b.asciidoc @@ -1,5 +1,5 @@ // This file is autogenerated, DO NOT EDIT -// ml/anomaly-detection/apis/update-datafeed.asciidoc:160 +// ml/anomaly-detection/apis/update-datafeed.asciidoc:166 [source, python] ---- diff --git a/docs/examples/4c174e228b6b74497b73ef2be80de7ad.asciidoc b/docs/examples/4c174e228b6b74497b73ef2be80de7ad.asciidoc index aec9f0336..3dd959ac0 100644 --- a/docs/examples/4c174e228b6b74497b73ef2be80de7ad.asciidoc +++ b/docs/examples/4c174e228b6b74497b73ef2be80de7ad.asciidoc @@ -1,5 +1,5 @@ // This file is autogenerated, DO NOT EDIT -// ml/trained-models/apis/get-trained-models.asciidoc:1460 +// ml/trained-models/apis/get-trained-models.asciidoc:1467 [source, python] ---- diff --git a/docs/examples/4c3db8987d7b2d3d3df78ff1e71e7ede.asciidoc b/docs/examples/4c3db8987d7b2d3d3df78ff1e71e7ede.asciidoc index a8ec61ba0..4fb637fd2 100644 --- a/docs/examples/4c3db8987d7b2d3d3df78ff1e71e7ede.asciidoc +++ b/docs/examples/4c3db8987d7b2d3d3df78ff1e71e7ede.asciidoc @@ -1,5 +1,5 @@ // This file is autogenerated, DO NOT EDIT -// query-dsl/match-query.asciidoc:18 +// query-dsl/match-query.asciidoc:22 [source, python] ---- diff --git a/docs/examples/4c5f0d7af287618062bb627b44ccb23e.asciidoc b/docs/examples/4c5f0d7af287618062bb627b44ccb23e.asciidoc index d57c0b8ce..b54dcffd9 100644 --- a/docs/examples/4c5f0d7af287618062bb627b44ccb23e.asciidoc +++ b/docs/examples/4c5f0d7af287618062bb627b44ccb23e.asciidoc @@ -1,5 +1,5 @@ // This file is autogenerated, DO NOT EDIT -// troubleshooting/common-issues/red-yellow-cluster-status.asciidoc:196 +// troubleshooting/common-issues/red-yellow-cluster-status.asciidoc:197 [source, python] ---- diff --git a/docs/examples/4c712bd5637892a11f16b8975a0a98ed.asciidoc b/docs/examples/4c712bd5637892a11f16b8975a0a98ed.asciidoc index 33328d0f1..d67e3f986 100644 --- a/docs/examples/4c712bd5637892a11f16b8975a0a98ed.asciidoc +++ b/docs/examples/4c712bd5637892a11f16b8975a0a98ed.asciidoc @@ -1,5 +1,5 @@ // This file is autogenerated, DO NOT EDIT -// cat/dataframeanalytics.asciidoc:131 +// cat/dataframeanalytics.asciidoc:137 [source, python] ---- diff --git a/docs/examples/4c9350ed09b28f00e297ebe73c3b95a2.asciidoc b/docs/examples/4c9350ed09b28f00e297ebe73c3b95a2.asciidoc index e0aebc835..85dd4b15b 100644 --- a/docs/examples/4c9350ed09b28f00e297ebe73c3b95a2.asciidoc +++ b/docs/examples/4c9350ed09b28f00e297ebe73c3b95a2.asciidoc @@ -1,5 +1,5 @@ // This file is autogenerated, DO NOT EDIT -// inference/service-elasticsearch.asciidoc:227 +// inference/service-elasticsearch.asciidoc:236 [source, python] ---- diff --git a/docs/examples/4ca15672fc5ab1d80a127d086b6d2837.asciidoc b/docs/examples/4ca15672fc5ab1d80a127d086b6d2837.asciidoc index 20d45a996..b0a3784fb 100644 --- a/docs/examples/4ca15672fc5ab1d80a127d086b6d2837.asciidoc +++ b/docs/examples/4ca15672fc5ab1d80a127d086b6d2837.asciidoc @@ -1,5 +1,5 @@ // This file is autogenerated, DO NOT EDIT -// cluster/allocation-explain.asciidoc:451 +// cluster/allocation-explain.asciidoc:457 [source, python] ---- diff --git a/docs/examples/4cb44556b8c699f43489b17b42ddd475.asciidoc b/docs/examples/4cb44556b8c699f43489b17b42ddd475.asciidoc index 7e66cc7c7..533486e82 100644 --- a/docs/examples/4cb44556b8c699f43489b17b42ddd475.asciidoc +++ b/docs/examples/4cb44556b8c699f43489b17b42ddd475.asciidoc @@ -1,5 +1,5 @@ // This file is autogenerated, DO NOT EDIT -// docs/multi-get.asciidoc:216 +// docs/multi-get.asciidoc:222 [source, python] ---- diff --git a/docs/examples/4cdbd53f08df4bf66e2a47c0f1fcb3f8.asciidoc b/docs/examples/4cdbd53f08df4bf66e2a47c0f1fcb3f8.asciidoc index fb2f2e2c8..5f643884b 100644 --- a/docs/examples/4cdbd53f08df4bf66e2a47c0f1fcb3f8.asciidoc +++ b/docs/examples/4cdbd53f08df4bf66e2a47c0f1fcb3f8.asciidoc @@ -1,5 +1,5 @@ // This file is autogenerated, DO NOT EDIT -// indices/clearcache.asciidoc:130 +// indices/clearcache.asciidoc:136 [source, python] ---- diff --git a/docs/examples/4cdcc3fde5cea165a3a7567962b9bd61.asciidoc b/docs/examples/4cdcc3fde5cea165a3a7567962b9bd61.asciidoc index a74c2c8cb..fcc5123ad 100644 --- a/docs/examples/4cdcc3fde5cea165a3a7567962b9bd61.asciidoc +++ b/docs/examples/4cdcc3fde5cea165a3a7567962b9bd61.asciidoc @@ -1,5 +1,5 @@ // This file is autogenerated, DO NOT EDIT -// synonyms/apis/put-synonyms-set.asciidoc:125 +// synonyms/apis/put-synonyms-set.asciidoc:131 [source, python] ---- diff --git a/docs/examples/4d21725453955582ff12b4a1104aa7b6.asciidoc b/docs/examples/4d21725453955582ff12b4a1104aa7b6.asciidoc index 4f877c366..dafdda283 100644 --- a/docs/examples/4d21725453955582ff12b4a1104aa7b6.asciidoc +++ b/docs/examples/4d21725453955582ff12b4a1104aa7b6.asciidoc @@ -1,5 +1,5 @@ // This file is autogenerated, DO NOT EDIT -// ml/anomaly-detection/apis/update-filter.asciidoc:44 +// ml/anomaly-detection/apis/update-filter.asciidoc:50 [source, python] ---- diff --git a/docs/examples/4d2e6eb7fea407deeb7a859c267fda62.asciidoc b/docs/examples/4d2e6eb7fea407deeb7a859c267fda62.asciidoc index cc1d2081a..7defd89a7 100644 --- a/docs/examples/4d2e6eb7fea407deeb7a859c267fda62.asciidoc +++ b/docs/examples/4d2e6eb7fea407deeb7a859c267fda62.asciidoc @@ -1,5 +1,5 @@ // This file is autogenerated, DO NOT EDIT -// rollup/apis/put-job.asciidoc:254 +// rollup/apis/put-job.asciidoc:260 [source, python] ---- diff --git a/docs/examples/4d7c0b52d3c0a084157428624c543c90.asciidoc b/docs/examples/4d7c0b52d3c0a084157428624c543c90.asciidoc index f949a6474..df65fde44 100644 --- a/docs/examples/4d7c0b52d3c0a084157428624c543c90.asciidoc +++ b/docs/examples/4d7c0b52d3c0a084157428624c543c90.asciidoc @@ -1,5 +1,5 @@ // This file is autogenerated, DO NOT EDIT -// ml/common/apis/get-ml-info.asciidoc:38 +// ml/common/apis/get-ml-info.asciidoc:44 [source, python] ---- diff --git a/docs/examples/4da0cb8693e9ceceee2ba3b558014bbf.asciidoc b/docs/examples/4da0cb8693e9ceceee2ba3b558014bbf.asciidoc index 7ea6ba0c0..1e3760d1b 100644 --- a/docs/examples/4da0cb8693e9ceceee2ba3b558014bbf.asciidoc +++ b/docs/examples/4da0cb8693e9ceceee2ba3b558014bbf.asciidoc @@ -1,5 +1,5 @@ // This file is autogenerated, DO NOT EDIT -// connector/docs/connectors-sharepoint-online.asciidoc:934 +// connector/docs/connectors-sharepoint-online.asciidoc:1088 [source, python] ---- diff --git a/docs/examples/4e3414fc712b16311f9e433dd366f49d.asciidoc b/docs/examples/4e3414fc712b16311f9e433dd366f49d.asciidoc index f39150a79..0335ed397 100644 --- a/docs/examples/4e3414fc712b16311f9e433dd366f49d.asciidoc +++ b/docs/examples/4e3414fc712b16311f9e433dd366f49d.asciidoc @@ -1,5 +1,5 @@ // This file is autogenerated, DO NOT EDIT -// inference/delete-inference.asciidoc:64 +// inference/delete-inference.asciidoc:70 [source, python] ---- diff --git a/docs/examples/4e931cfac74e46e221cf4a9ab88a182d.asciidoc b/docs/examples/4e931cfac74e46e221cf4a9ab88a182d.asciidoc index 6970d0a99..ae1dda74c 100644 --- a/docs/examples/4e931cfac74e46e221cf4a9ab88a182d.asciidoc +++ b/docs/examples/4e931cfac74e46e221cf4a9ab88a182d.asciidoc @@ -1,5 +1,5 @@ // This file is autogenerated, DO NOT EDIT -// search/field-caps.asciidoc:246 +// search/field-caps.asciidoc:251 [source, python] ---- diff --git a/docs/examples/4ed946065faa92f9950f04e402676a97.asciidoc b/docs/examples/4ed946065faa92f9950f04e402676a97.asciidoc index 60d9e2c87..72f00c320 100644 --- a/docs/examples/4ed946065faa92f9950f04e402676a97.asciidoc +++ b/docs/examples/4ed946065faa92f9950f04e402676a97.asciidoc @@ -1,5 +1,5 @@ // This file is autogenerated, DO NOT EDIT -// rest-api/info.asciidoc:204 +// rest-api/info.asciidoc:206 [source, python] ---- diff --git a/docs/examples/4ee31fd4ea6d18f32ec28b7fa433441d.asciidoc b/docs/examples/4ee31fd4ea6d18f32ec28b7fa433441d.asciidoc index 3a608567f..5211b63ec 100644 --- a/docs/examples/4ee31fd4ea6d18f32ec28b7fa433441d.asciidoc +++ b/docs/examples/4ee31fd4ea6d18f32ec28b7fa433441d.asciidoc @@ -1,5 +1,5 @@ // This file is autogenerated, DO NOT EDIT -// rest-api/security/put-app-privileges.asciidoc:88 +// rest-api/security/put-app-privileges.asciidoc:94 [source, python] ---- diff --git a/docs/examples/4f08d9e21d9f199acc77abfb83287878.asciidoc b/docs/examples/4f08d9e21d9f199acc77abfb83287878.asciidoc index 97db55509..c13a9cfa3 100644 --- a/docs/examples/4f08d9e21d9f199acc77abfb83287878.asciidoc +++ b/docs/examples/4f08d9e21d9f199acc77abfb83287878.asciidoc @@ -1,5 +1,5 @@ // This file is autogenerated, DO NOT EDIT -// search-application/apis/search-application-search.asciidoc:125 +// search-application/apis/search-application-search.asciidoc:130 [source, python] ---- diff --git a/docs/examples/4f140d8922efdf3420e41b1cb669a289.asciidoc b/docs/examples/4f140d8922efdf3420e41b1cb669a289.asciidoc index 1f5787c1c..9febe3c0c 100644 --- a/docs/examples/4f140d8922efdf3420e41b1cb669a289.asciidoc +++ b/docs/examples/4f140d8922efdf3420e41b1cb669a289.asciidoc @@ -1,5 +1,5 @@ // This file is autogenerated, DO NOT EDIT -// indices/delete-component-template.asciidoc:25 +// indices/delete-component-template.asciidoc:31 [source, python] ---- diff --git a/docs/examples/4f621ab694f62ddb89e0684a9e76c4d1.asciidoc b/docs/examples/4f621ab694f62ddb89e0684a9e76c4d1.asciidoc index 6b8eea73e..8e43ea56c 100644 --- a/docs/examples/4f621ab694f62ddb89e0684a9e76c4d1.asciidoc +++ b/docs/examples/4f621ab694f62ddb89e0684a9e76c4d1.asciidoc @@ -1,5 +1,5 @@ // This file is autogenerated, DO NOT EDIT -// search/search-your-data/highlighting.asciidoc:572 +// search/search-your-data/highlighting.asciidoc:574 [source, python] ---- diff --git a/docs/examples/4f666d710758578e2582850dac3ad144.asciidoc b/docs/examples/4f666d710758578e2582850dac3ad144.asciidoc index 60e20c858..0474f05fc 100644 --- a/docs/examples/4f666d710758578e2582850dac3ad144.asciidoc +++ b/docs/examples/4f666d710758578e2582850dac3ad144.asciidoc @@ -1,5 +1,5 @@ // This file is autogenerated, DO NOT EDIT -// rest-api/security/update-user-profile-data.asciidoc:135 +// rest-api/security/update-user-profile-data.asciidoc:141 [source, python] ---- diff --git a/docs/examples/4f6694ef147a73b1163bde3c13779d26.asciidoc b/docs/examples/4f6694ef147a73b1163bde3c13779d26.asciidoc index 0167e378e..249c1bddd 100644 --- a/docs/examples/4f6694ef147a73b1163bde3c13779d26.asciidoc +++ b/docs/examples/4f6694ef147a73b1163bde3c13779d26.asciidoc @@ -1,5 +1,5 @@ // This file is autogenerated, DO NOT EDIT -// troubleshooting/common-issues/rejected-requests.asciidoc:58 +// troubleshooting/common-issues/rejected-requests.asciidoc:68 [source, python] ---- diff --git a/docs/examples/4f8a4ad49e2bca6784c88ede18a1a709.asciidoc b/docs/examples/4f8a4ad49e2bca6784c88ede18a1a709.asciidoc index c7576d78e..3cabc3382 100644 --- a/docs/examples/4f8a4ad49e2bca6784c88ede18a1a709.asciidoc +++ b/docs/examples/4f8a4ad49e2bca6784c88ede18a1a709.asciidoc @@ -1,5 +1,5 @@ // This file is autogenerated, DO NOT EDIT -// licensing/delete-license.asciidoc:37 +// licensing/delete-license.asciidoc:43 [source, python] ---- diff --git a/docs/examples/4fa9ee04188cbf0b38cfc28f6a56527d.asciidoc b/docs/examples/4fa9ee04188cbf0b38cfc28f6a56527d.asciidoc index ac9f9eb67..aab1b8537 100644 --- a/docs/examples/4fa9ee04188cbf0b38cfc28f6a56527d.asciidoc +++ b/docs/examples/4fa9ee04188cbf0b38cfc28f6a56527d.asciidoc @@ -1,5 +1,5 @@ // This file is autogenerated, DO NOT EDIT -// ml/anomaly-detection/apis/get-datafeed.asciidoc:74 +// ml/anomaly-detection/apis/get-datafeed.asciidoc:80 [source, python] ---- diff --git a/docs/examples/4fb0629146ca78b85e823edd405497bb.asciidoc b/docs/examples/4fb0629146ca78b85e823edd405497bb.asciidoc index ce649ee73..2c8596f9b 100644 --- a/docs/examples/4fb0629146ca78b85e823edd405497bb.asciidoc +++ b/docs/examples/4fb0629146ca78b85e823edd405497bb.asciidoc @@ -1,5 +1,5 @@ // This file is autogenerated, DO NOT EDIT -// ml/df-analytics/apis/put-dfanalytics.asciidoc:908 +// ml/df-analytics/apis/put-dfanalytics.asciidoc:914 [source, python] ---- diff --git a/docs/examples/4ff2dcec03fe097075cf1d174a019a1f.asciidoc b/docs/examples/4ff2dcec03fe097075cf1d174a019a1f.asciidoc index 2636250c5..ed884ed78 100644 --- a/docs/examples/4ff2dcec03fe097075cf1d174a019a1f.asciidoc +++ b/docs/examples/4ff2dcec03fe097075cf1d174a019a1f.asciidoc @@ -1,5 +1,5 @@ // This file is autogenerated, DO NOT EDIT -// search/search-your-data/highlighting.asciidoc:707 +// search/search-your-data/highlighting.asciidoc:709 [source, python] ---- diff --git a/docs/examples/5093bfd281dbe41bd0dba8ff979e6e47.asciidoc b/docs/examples/5093bfd281dbe41bd0dba8ff979e6e47.asciidoc index 1dfd1c859..a25580013 100644 --- a/docs/examples/5093bfd281dbe41bd0dba8ff979e6e47.asciidoc +++ b/docs/examples/5093bfd281dbe41bd0dba8ff979e6e47.asciidoc @@ -1,5 +1,5 @@ // This file is autogenerated, DO NOT EDIT -// scripting/apis/get-stored-script-api.asciidoc:24 +// scripting/apis/get-stored-script-api.asciidoc:30 [source, python] ---- diff --git a/docs/examples/50a9623c153cabe64101efb633e10e6c.asciidoc b/docs/examples/50a9623c153cabe64101efb633e10e6c.asciidoc index b84d11c31..08678e3bd 100644 --- a/docs/examples/50a9623c153cabe64101efb633e10e6c.asciidoc +++ b/docs/examples/50a9623c153cabe64101efb633e10e6c.asciidoc @@ -1,5 +1,5 @@ // This file is autogenerated, DO NOT EDIT -// autoscaling/apis/delete-autoscaling-policy.asciidoc:31 +// autoscaling/apis/delete-autoscaling-policy.asciidoc:37 [source, python] ---- diff --git a/docs/examples/50b5c0332949d2154c72b629b5fa6222.asciidoc b/docs/examples/50b5c0332949d2154c72b629b5fa6222.asciidoc index 0922defcd..b096a417a 100644 --- a/docs/examples/50b5c0332949d2154c72b629b5fa6222.asciidoc +++ b/docs/examples/50b5c0332949d2154c72b629b5fa6222.asciidoc @@ -1,5 +1,5 @@ // This file is autogenerated, DO NOT EDIT -// indices/put-mapping.asciidoc:339 +// indices/put-mapping.asciidoc:345 [source, python] ---- diff --git a/docs/examples/50dc35d3d8705bd62aed20a15209476c.asciidoc b/docs/examples/50dc35d3d8705bd62aed20a15209476c.asciidoc index a51c7d773..8919d476a 100644 --- a/docs/examples/50dc35d3d8705bd62aed20a15209476c.asciidoc +++ b/docs/examples/50dc35d3d8705bd62aed20a15209476c.asciidoc @@ -1,5 +1,5 @@ // This file is autogenerated, DO NOT EDIT -// rest-api/security/create-role-mappings.asciidoc:358 +// rest-api/security/create-role-mappings.asciidoc:364 [source, python] ---- diff --git a/docs/examples/5174c3c731fc1703e5b43ae2bae7a80e.asciidoc b/docs/examples/5174c3c731fc1703e5b43ae2bae7a80e.asciidoc index 4488c4343..cef5594ec 100644 --- a/docs/examples/5174c3c731fc1703e5b43ae2bae7a80e.asciidoc +++ b/docs/examples/5174c3c731fc1703e5b43ae2bae7a80e.asciidoc @@ -1,5 +1,5 @@ // This file is autogenerated, DO NOT EDIT -// sql/apis/clear-sql-cursor-api.asciidoc:23 +// sql/apis/clear-sql-cursor-api.asciidoc:29 [source, python] ---- diff --git a/docs/examples/5195a88194f7a139c635a84398d76205.asciidoc b/docs/examples/5195a88194f7a139c635a84398d76205.asciidoc index 812b30e06..93151dd86 100644 --- a/docs/examples/5195a88194f7a139c635a84398d76205.asciidoc +++ b/docs/examples/5195a88194f7a139c635a84398d76205.asciidoc @@ -1,5 +1,5 @@ // This file is autogenerated, DO NOT EDIT -// snapshot-restore/apis/restore-snapshot-api.asciidoc:54 +// snapshot-restore/apis/restore-snapshot-api.asciidoc:60 [source, python] ---- diff --git a/docs/examples/519e46350316a33162740e5d7968aa2c.asciidoc b/docs/examples/519e46350316a33162740e5d7968aa2c.asciidoc new file mode 100644 index 000000000..a0daa1e65 --- /dev/null +++ b/docs/examples/519e46350316a33162740e5d7968aa2c.asciidoc @@ -0,0 +1,27 @@ +// This file is autogenerated, DO NOT EDIT +// search/search-your-data/knn-search.asciidoc:1103 + +[source, python] +---- +resp = client.search( + index="image-index", + knn={ + "field": "image-vector", + "query_vector": [ + -5, + 9, + -12 + ], + "k": 10, + "num_candidates": 100, + "rescore_vector": { + "oversample": 2 + } + }, + fields=[ + "title", + "file-type" + ], +) +print(resp) +---- diff --git a/docs/examples/51f1a0930362594b231a5bcc17673768.asciidoc b/docs/examples/51f1a0930362594b231a5bcc17673768.asciidoc index 0950c1dee..4c986a6ed 100644 --- a/docs/examples/51f1a0930362594b231a5bcc17673768.asciidoc +++ b/docs/examples/51f1a0930362594b231a5bcc17673768.asciidoc @@ -1,5 +1,5 @@ // This file is autogenerated, DO NOT EDIT -// data-streams/modify-data-streams-api.asciidoc:11 +// data-streams/modify-data-streams-api.asciidoc:17 [source, python] ---- diff --git a/docs/examples/5275842787967b6db876025f4a1c6942.asciidoc b/docs/examples/5275842787967b6db876025f4a1c6942.asciidoc index 679b69a09..dd4e9ae6e 100644 --- a/docs/examples/5275842787967b6db876025f4a1c6942.asciidoc +++ b/docs/examples/5275842787967b6db876025f4a1c6942.asciidoc @@ -1,5 +1,5 @@ // This file is autogenerated, DO NOT EDIT -// search/suggesters.asciidoc:122 +// search/suggesters.asciidoc:128 [source, python] ---- diff --git a/docs/examples/52a2d119addb15366a935115518335fd.asciidoc b/docs/examples/52a2d119addb15366a935115518335fd.asciidoc index 2ee9ea4c7..221acc952 100644 --- a/docs/examples/52a2d119addb15366a935115518335fd.asciidoc +++ b/docs/examples/52a2d119addb15366a935115518335fd.asciidoc @@ -1,5 +1,5 @@ // This file is autogenerated, DO NOT EDIT -// indices/shrink-index.asciidoc:46 +// indices/shrink-index.asciidoc:52 [source, python] ---- diff --git a/docs/examples/52b71aa4ae6563abae78cd20ff06d1e9.asciidoc b/docs/examples/52b71aa4ae6563abae78cd20ff06d1e9.asciidoc index 2c3ecbaf6..eda2a03b6 100644 --- a/docs/examples/52b71aa4ae6563abae78cd20ff06d1e9.asciidoc +++ b/docs/examples/52b71aa4ae6563abae78cd20ff06d1e9.asciidoc @@ -1,5 +1,5 @@ // This file is autogenerated, DO NOT EDIT -// troubleshooting/common-issues/hotspotting.asciidoc:144 +// troubleshooting/common-issues/hotspotting.asciidoc:148 [source, python] ---- diff --git a/docs/examples/52c2b4c180388f5ae044588ba70b70f0.asciidoc b/docs/examples/52c2b4c180388f5ae044588ba70b70f0.asciidoc index 0a7997675..1a2dbaaae 100644 --- a/docs/examples/52c2b4c180388f5ae044588ba70b70f0.asciidoc +++ b/docs/examples/52c2b4c180388f5ae044588ba70b70f0.asciidoc @@ -1,5 +1,5 @@ // This file is autogenerated, DO NOT EDIT -// query-dsl/knn-query.asciidoc:172 +// query-dsl/knn-query.asciidoc:178 [source, python] ---- diff --git a/docs/examples/52f4c5eb08d39f98e2e2f5527ece9731.asciidoc b/docs/examples/52f4c5eb08d39f98e2e2f5527ece9731.asciidoc index 282fd0579..89fa235ad 100644 --- a/docs/examples/52f4c5eb08d39f98e2e2f5527ece9731.asciidoc +++ b/docs/examples/52f4c5eb08d39f98e2e2f5527ece9731.asciidoc @@ -1,5 +1,5 @@ // This file is autogenerated, DO NOT EDIT -// inference/service-alibabacloud-ai-search.asciidoc:204 +// inference/service-alibabacloud-ai-search.asciidoc:210 [source, python] ---- diff --git a/docs/examples/5305bc07c1bf90bab3e8db1de3e31b26.asciidoc b/docs/examples/5305bc07c1bf90bab3e8db1de3e31b26.asciidoc index 4458a453d..b8649ab3c 100644 --- a/docs/examples/5305bc07c1bf90bab3e8db1de3e31b26.asciidoc +++ b/docs/examples/5305bc07c1bf90bab3e8db1de3e31b26.asciidoc @@ -1,5 +1,5 @@ // This file is autogenerated, DO NOT EDIT -// shutdown/apis/shutdown-put.asciidoc:96 +// shutdown/apis/shutdown-put.asciidoc:102 [source, python] ---- diff --git a/docs/examples/532f371934b61fb4992d37bedcc085de.asciidoc b/docs/examples/532f371934b61fb4992d37bedcc085de.asciidoc index dab4d1e81..d558dc5d6 100644 --- a/docs/examples/532f371934b61fb4992d37bedcc085de.asciidoc +++ b/docs/examples/532f371934b61fb4992d37bedcc085de.asciidoc @@ -1,5 +1,5 @@ // This file is autogenerated, DO NOT EDIT -// shutdown/apis/shutdown-get.asciidoc:49 +// shutdown/apis/shutdown-get.asciidoc:55 [source, python] ---- diff --git a/docs/examples/53c6256295111524d5ff2885bdcb99a9.asciidoc b/docs/examples/53c6256295111524d5ff2885bdcb99a9.asciidoc index f59be3554..0777d6f7c 100644 --- a/docs/examples/53c6256295111524d5ff2885bdcb99a9.asciidoc +++ b/docs/examples/53c6256295111524d5ff2885bdcb99a9.asciidoc @@ -1,5 +1,5 @@ // This file is autogenerated, DO NOT EDIT -// transform/apis/get-transform-stats.asciidoc:322 +// transform/apis/get-transform-stats.asciidoc:328 [source, python] ---- diff --git a/docs/examples/5457c94f0039c6b95c7f9f305d0c6b58.asciidoc b/docs/examples/5457c94f0039c6b95c7f9f305d0c6b58.asciidoc index 81c231f99..f538d29ea 100644 --- a/docs/examples/5457c94f0039c6b95c7f9f305d0c6b58.asciidoc +++ b/docs/examples/5457c94f0039c6b95c7f9f305d0c6b58.asciidoc @@ -1,5 +1,5 @@ // This file is autogenerated, DO NOT EDIT -// cluster/nodes-stats.asciidoc:2532 +// cluster/nodes-stats.asciidoc:2538 [source, python] ---- diff --git a/docs/examples/55096381f811388fafd8e244dd2402c8.asciidoc b/docs/examples/55096381f811388fafd8e244dd2402c8.asciidoc index e460dfbb5..9c38bd334 100644 --- a/docs/examples/55096381f811388fafd8e244dd2402c8.asciidoc +++ b/docs/examples/55096381f811388fafd8e244dd2402c8.asciidoc @@ -1,5 +1,5 @@ // This file is autogenerated, DO NOT EDIT -// indices/rollover-index.asciidoc:445 +// indices/rollover-index.asciidoc:451 [source, python] ---- diff --git a/docs/examples/558b3f9b987771e9f9f35e51a0d7e062.asciidoc b/docs/examples/558b3f9b987771e9f9f35e51a0d7e062.asciidoc index 053704c71..a5d7653a2 100644 --- a/docs/examples/558b3f9b987771e9f9f35e51a0d7e062.asciidoc +++ b/docs/examples/558b3f9b987771e9f9f35e51a0d7e062.asciidoc @@ -1,5 +1,5 @@ // This file is autogenerated, DO NOT EDIT -// search/profile.asciidoc:1155 +// search/profile.asciidoc:1160 [source, python] ---- diff --git a/docs/examples/55e8ddf643726dec51531ada0bec7143.asciidoc b/docs/examples/55e8ddf643726dec51531ada0bec7143.asciidoc index e1f3f9765..0ef93680e 100644 --- a/docs/examples/55e8ddf643726dec51531ada0bec7143.asciidoc +++ b/docs/examples/55e8ddf643726dec51531ada0bec7143.asciidoc @@ -1,5 +1,5 @@ // This file is autogenerated, DO NOT EDIT -// slm/apis/slm-stats.asciidoc:26 +// slm/apis/slm-stats.asciidoc:32 [source, python] ---- diff --git a/docs/examples/55f4a15b84b724b9fbf2efd29a4da120.asciidoc b/docs/examples/55f4a15b84b724b9fbf2efd29a4da120.asciidoc index e47fdd6ae..5ab51f4c9 100644 --- a/docs/examples/55f4a15b84b724b9fbf2efd29a4da120.asciidoc +++ b/docs/examples/55f4a15b84b724b9fbf2efd29a4da120.asciidoc @@ -1,5 +1,5 @@ // This file is autogenerated, DO NOT EDIT -// rest-api/security/authenticate.asciidoc:35 +// rest-api/security/authenticate.asciidoc:41 [source, python] ---- diff --git a/docs/examples/5619103306878d58a058bce87c5bd82b.asciidoc b/docs/examples/5619103306878d58a058bce87c5bd82b.asciidoc index d73c08bc4..fac3847b5 100644 --- a/docs/examples/5619103306878d58a058bce87c5bd82b.asciidoc +++ b/docs/examples/5619103306878d58a058bce87c5bd82b.asciidoc @@ -1,5 +1,5 @@ // This file is autogenerated, DO NOT EDIT -// indices/recovery.asciidoc:336 +// indices/recovery.asciidoc:342 [source, python] ---- diff --git a/docs/examples/563dfbf421422c837ee6929ae2ede876.asciidoc b/docs/examples/563dfbf421422c837ee6929ae2ede876.asciidoc index a15e07d5c..fe461e602 100644 --- a/docs/examples/563dfbf421422c837ee6929ae2ede876.asciidoc +++ b/docs/examples/563dfbf421422c837ee6929ae2ede876.asciidoc @@ -1,5 +1,5 @@ // This file is autogenerated, DO NOT EDIT -// indices/migrate-to-data-stream.asciidoc:53 +// indices/migrate-to-data-stream.asciidoc:59 [source, python] ---- diff --git a/docs/examples/565386eee0951865a684e41fab53b40c.asciidoc b/docs/examples/565386eee0951865a684e41fab53b40c.asciidoc index 2b1dc035a..4ee080da8 100644 --- a/docs/examples/565386eee0951865a684e41fab53b40c.asciidoc +++ b/docs/examples/565386eee0951865a684e41fab53b40c.asciidoc @@ -1,5 +1,5 @@ // This file is autogenerated, DO NOT EDIT -// inference/service-elser.asciidoc:119 +// inference/service-elser.asciidoc:128 [source, python] ---- diff --git a/docs/examples/56563f91d9f0b74e9e4aae9cb221845b.asciidoc b/docs/examples/56563f91d9f0b74e9e4aae9cb221845b.asciidoc index 67cb1a01c..519d06ace 100644 --- a/docs/examples/56563f91d9f0b74e9e4aae9cb221845b.asciidoc +++ b/docs/examples/56563f91d9f0b74e9e4aae9cb221845b.asciidoc @@ -1,5 +1,5 @@ // This file is autogenerated, DO NOT EDIT -// rest-api/security/create-cross-cluster-api-key.asciidoc:106 +// rest-api/security/create-cross-cluster-api-key.asciidoc:111 [source, python] ---- diff --git a/docs/examples/568979150ce18739f8d3ea859355aaa3.asciidoc b/docs/examples/568979150ce18739f8d3ea859355aaa3.asciidoc index 9accb5678..534e62d6e 100644 --- a/docs/examples/568979150ce18739f8d3ea859355aaa3.asciidoc +++ b/docs/examples/568979150ce18739f8d3ea859355aaa3.asciidoc @@ -1,5 +1,5 @@ // This file is autogenerated, DO NOT EDIT -// rest-api/security/get-users.asciidoc:87 +// rest-api/security/get-users.asciidoc:92 [source, python] ---- diff --git a/docs/examples/56a1aa4f7fa62f2289e20607e3039bf3.asciidoc b/docs/examples/56a1aa4f7fa62f2289e20607e3039bf3.asciidoc index c43a52a11..3d50d720a 100644 --- a/docs/examples/56a1aa4f7fa62f2289e20607e3039bf3.asciidoc +++ b/docs/examples/56a1aa4f7fa62f2289e20607e3039bf3.asciidoc @@ -1,5 +1,5 @@ // This file is autogenerated, DO NOT EDIT -// indices/put-mapping.asciidoc:13 +// indices/put-mapping.asciidoc:19 [source, python] ---- diff --git a/docs/examples/56b6b50b174a935d368301ebd717231d.asciidoc b/docs/examples/56b6b50b174a935d368301ebd717231d.asciidoc index d4873c9da..b7f802b9d 100644 --- a/docs/examples/56b6b50b174a935d368301ebd717231d.asciidoc +++ b/docs/examples/56b6b50b174a935d368301ebd717231d.asciidoc @@ -1,5 +1,5 @@ // This file is autogenerated, DO NOT EDIT -// rest-api/watcher/stats.asciidoc:119 +// rest-api/watcher/stats.asciidoc:125 [source, python] ---- diff --git a/docs/examples/56db76c987106a870357854d3068ad98.asciidoc b/docs/examples/56db76c987106a870357854d3068ad98.asciidoc index ede6b5e5c..fc05e3283 100644 --- a/docs/examples/56db76c987106a870357854d3068ad98.asciidoc +++ b/docs/examples/56db76c987106a870357854d3068ad98.asciidoc @@ -1,5 +1,5 @@ // This file is autogenerated, DO NOT EDIT -// query-rules/apis/list-query-rulesets.asciidoc:158 +// query-rules/apis/list-query-rulesets.asciidoc:164 [source, python] ---- diff --git a/docs/examples/578808065fee8691355b8f25c35782cd.asciidoc b/docs/examples/578808065fee8691355b8f25c35782cd.asciidoc index 8bd882564..4ec94c9f5 100644 --- a/docs/examples/578808065fee8691355b8f25c35782cd.asciidoc +++ b/docs/examples/578808065fee8691355b8f25c35782cd.asciidoc @@ -1,5 +1,5 @@ // This file is autogenerated, DO NOT EDIT -// search/profile.asciidoc:1018 +// search/profile.asciidoc:1023 [source, python] ---- diff --git a/docs/examples/57dc15e5ad663c342fd5c1d86fcd1b29.asciidoc b/docs/examples/57dc15e5ad663c342fd5c1d86fcd1b29.asciidoc index 7f7045e6e..871171fb6 100644 --- a/docs/examples/57dc15e5ad663c342fd5c1d86fcd1b29.asciidoc +++ b/docs/examples/57dc15e5ad663c342fd5c1d86fcd1b29.asciidoc @@ -1,5 +1,5 @@ // This file is autogenerated, DO NOT EDIT -// rest-api/security/oidc-prepare-authentication-api.asciidoc:100 +// rest-api/security/oidc-prepare-authentication-api.asciidoc:106 [source, python] ---- diff --git a/docs/examples/57e0bbab98f17d5b564d1ea146a55fe4.asciidoc b/docs/examples/57e0bbab98f17d5b564d1ea146a55fe4.asciidoc index 398c41932..19c524c34 100644 --- a/docs/examples/57e0bbab98f17d5b564d1ea146a55fe4.asciidoc +++ b/docs/examples/57e0bbab98f17d5b564d1ea146a55fe4.asciidoc @@ -1,5 +1,5 @@ // This file is autogenerated, DO NOT EDIT -// indices/put-index-template.asciidoc:221 +// indices/put-index-template.asciidoc:227 [source, python] ---- diff --git a/docs/examples/582c4b05401dbc190b19411282d85310.asciidoc b/docs/examples/582c4b05401dbc190b19411282d85310.asciidoc index ed9d3ea23..299d52aec 100644 --- a/docs/examples/582c4b05401dbc190b19411282d85310.asciidoc +++ b/docs/examples/582c4b05401dbc190b19411282d85310.asciidoc @@ -1,5 +1,5 @@ // This file is autogenerated, DO NOT EDIT -// scripting/using.asciidoc:375 +// scripting/using.asciidoc:380 [source, python] ---- diff --git a/docs/examples/5836b09198feb1269ed12839b416123d.asciidoc b/docs/examples/5836b09198feb1269ed12839b416123d.asciidoc new file mode 100644 index 000000000..5f11e91e2 --- /dev/null +++ b/docs/examples/5836b09198feb1269ed12839b416123d.asciidoc @@ -0,0 +1,16 @@ +// This file is autogenerated, DO NOT EDIT +// inference/service-jinaai.asciidoc:218 + +[source, python] +---- +resp = client.search( + index="jinaai-index", + query={ + "semantic": { + "field": "content", + "query": "who inspired taking care of the sea?" + } + }, +) +print(resp) +---- diff --git a/docs/examples/5837d5f50665ac0a26181d3aaeb3f204.asciidoc b/docs/examples/5837d5f50665ac0a26181d3aaeb3f204.asciidoc index 71163305a..c5c20efb5 100644 --- a/docs/examples/5837d5f50665ac0a26181d3aaeb3f204.asciidoc +++ b/docs/examples/5837d5f50665ac0a26181d3aaeb3f204.asciidoc @@ -1,5 +1,5 @@ // This file is autogenerated, DO NOT EDIT -// ml/trained-models/apis/start-trained-model-deployment.asciidoc:208 +// ml/trained-models/apis/start-trained-model-deployment.asciidoc:214 [source, python] ---- diff --git a/docs/examples/585a34ad79aee16678b37da785933ac8.asciidoc b/docs/examples/585a34ad79aee16678b37da785933ac8.asciidoc index 4ae188bd7..069d5ef6e 100644 --- a/docs/examples/585a34ad79aee16678b37da785933ac8.asciidoc +++ b/docs/examples/585a34ad79aee16678b37da785933ac8.asciidoc @@ -1,5 +1,5 @@ // This file is autogenerated, DO NOT EDIT -// ilm/apis/stop.asciidoc:79 +// ilm/apis/stop.asciidoc:85 [source, python] ---- diff --git a/docs/examples/58ca855be30049f8f0879e532db51ee2.asciidoc b/docs/examples/58ca855be30049f8f0879e532db51ee2.asciidoc index d043f45f6..b6c5fea9f 100644 --- a/docs/examples/58ca855be30049f8f0879e532db51ee2.asciidoc +++ b/docs/examples/58ca855be30049f8f0879e532db51ee2.asciidoc @@ -1,5 +1,5 @@ // This file is autogenerated, DO NOT EDIT -// transform/apis/put-transform.asciidoc:314 +// transform/apis/put-transform.asciidoc:320 [source, python] ---- diff --git a/docs/examples/58f72be60c25752d7899a35fc60fe6eb.asciidoc b/docs/examples/58f72be60c25752d7899a35fc60fe6eb.asciidoc index 95b46f3fe..cea199fa0 100644 --- a/docs/examples/58f72be60c25752d7899a35fc60fe6eb.asciidoc +++ b/docs/examples/58f72be60c25752d7899a35fc60fe6eb.asciidoc @@ -1,5 +1,5 @@ // This file is autogenerated, DO NOT EDIT -// modules/cluster/misc.asciidoc:179 +// modules/cluster/misc.asciidoc:182 [source, python] ---- diff --git a/docs/examples/591c7fb7451069829a14bba593136f1f.asciidoc b/docs/examples/591c7fb7451069829a14bba593136f1f.asciidoc index 85d4c0f71..bdebba748 100644 --- a/docs/examples/591c7fb7451069829a14bba593136f1f.asciidoc +++ b/docs/examples/591c7fb7451069829a14bba593136f1f.asciidoc @@ -1,5 +1,5 @@ // This file is autogenerated, DO NOT EDIT -// ml/anomaly-detection/apis/forecast.asciidoc:82 +// ml/anomaly-detection/apis/forecast.asciidoc:88 [source, python] ---- diff --git a/docs/examples/5969c446688c8b326acc80276573e9d2.asciidoc b/docs/examples/5969c446688c8b326acc80276573e9d2.asciidoc index 411f337f2..fd1bb3e8e 100644 --- a/docs/examples/5969c446688c8b326acc80276573e9d2.asciidoc +++ b/docs/examples/5969c446688c8b326acc80276573e9d2.asciidoc @@ -1,5 +1,5 @@ // This file is autogenerated, DO NOT EDIT -// search/search-your-data/highlighting.asciidoc:310 +// search/search-your-data/highlighting.asciidoc:312 [source, python] ---- diff --git a/docs/examples/5987afb2c17c73fe3d860937565ef115.asciidoc b/docs/examples/5987afb2c17c73fe3d860937565ef115.asciidoc index d777e9bd5..b2c20b385 100644 --- a/docs/examples/5987afb2c17c73fe3d860937565ef115.asciidoc +++ b/docs/examples/5987afb2c17c73fe3d860937565ef115.asciidoc @@ -1,5 +1,5 @@ // This file is autogenerated, DO NOT EDIT -// search/point-in-time-api.asciidoc:40 +// search/point-in-time-api.asciidoc:46 [source, python] ---- diff --git a/docs/examples/599f693cc7d30b1153f5eeecec8eb23a.asciidoc b/docs/examples/599f693cc7d30b1153f5eeecec8eb23a.asciidoc index 8b43c7453..df07501d6 100644 --- a/docs/examples/599f693cc7d30b1153f5eeecec8eb23a.asciidoc +++ b/docs/examples/599f693cc7d30b1153f5eeecec8eb23a.asciidoc @@ -1,5 +1,5 @@ // This file is autogenerated, DO NOT EDIT -// indices/delete-index-template-v1.asciidoc:29 +// indices/delete-index-template-v1.asciidoc:35 [source, python] ---- diff --git a/docs/examples/59b8b9555f4aa30bc4613f819e9fc8f0.asciidoc b/docs/examples/59b8b9555f4aa30bc4613f819e9fc8f0.asciidoc index 06bef0b08..e5617647b 100644 --- a/docs/examples/59b8b9555f4aa30bc4613f819e9fc8f0.asciidoc +++ b/docs/examples/59b8b9555f4aa30bc4613f819e9fc8f0.asciidoc @@ -1,5 +1,5 @@ // This file is autogenerated, DO NOT EDIT -// indices/close.asciidoc:72 +// indices/close.asciidoc:78 [source, python] ---- diff --git a/docs/examples/59d736a4d064ed2013c7ead8e32e0998.asciidoc b/docs/examples/59d736a4d064ed2013c7ead8e32e0998.asciidoc index d0d2dd8a7..691256d73 100644 --- a/docs/examples/59d736a4d064ed2013c7ead8e32e0998.asciidoc +++ b/docs/examples/59d736a4d064ed2013c7ead8e32e0998.asciidoc @@ -1,5 +1,5 @@ // This file is autogenerated, DO NOT EDIT -// inference/service-openai.asciidoc:163 +// inference/service-openai.asciidoc:177 [source, python] ---- diff --git a/docs/examples/59f0ad2a6f97200e98e8eb079cdd8334.asciidoc b/docs/examples/59f0ad2a6f97200e98e8eb079cdd8334.asciidoc index 44e6fc0af..48a62341f 100644 --- a/docs/examples/59f0ad2a6f97200e98e8eb079cdd8334.asciidoc +++ b/docs/examples/59f0ad2a6f97200e98e8eb079cdd8334.asciidoc @@ -1,5 +1,5 @@ // This file is autogenerated, DO NOT EDIT -// docs/multi-get.asciidoc:156 +// docs/multi-get.asciidoc:162 [source, python] ---- diff --git a/docs/examples/5ad365ed9e1a3c26093a0f09666c133a.asciidoc b/docs/examples/5ad365ed9e1a3c26093a0f09666c133a.asciidoc index 921bfe844..eb54a1bb6 100644 --- a/docs/examples/5ad365ed9e1a3c26093a0f09666c133a.asciidoc +++ b/docs/examples/5ad365ed9e1a3c26093a0f09666c133a.asciidoc @@ -1,5 +1,5 @@ // This file is autogenerated, DO NOT EDIT -// rest-api/security/create-role-mappings.asciidoc:246 +// rest-api/security/create-role-mappings.asciidoc:252 [source, python] ---- diff --git a/docs/examples/5afbd9caed88c32f8a2968c07054f096.asciidoc b/docs/examples/5afbd9caed88c32f8a2968c07054f096.asciidoc index 912ae0d8c..0f4d555f8 100644 --- a/docs/examples/5afbd9caed88c32f8a2968c07054f096.asciidoc +++ b/docs/examples/5afbd9caed88c32f8a2968c07054f096.asciidoc @@ -1,5 +1,5 @@ // This file is autogenerated, DO NOT EDIT -// rest-api/logstash/delete-pipeline.asciidoc:67 +// rest-api/logstash/delete-pipeline.asciidoc:73 [source, python] ---- diff --git a/docs/examples/5b0cc9e186a8f765a11141809b8b17b7.asciidoc b/docs/examples/5b0cc9e186a8f765a11141809b8b17b7.asciidoc index 6766b1c62..d3044eb49 100644 --- a/docs/examples/5b0cc9e186a8f765a11141809b8b17b7.asciidoc +++ b/docs/examples/5b0cc9e186a8f765a11141809b8b17b7.asciidoc @@ -1,5 +1,5 @@ // This file is autogenerated, DO NOT EDIT -// search-application/apis/list-search-applications.asciidoc:101 +// search-application/apis/list-search-applications.asciidoc:106 [source, python] ---- diff --git a/docs/examples/5b191f2dbfa46c774cc9b9b9e8d1d831.asciidoc b/docs/examples/5b191f2dbfa46c774cc9b9b9e8d1d831.asciidoc index 5a0713e09..5c8dd5b84 100644 --- a/docs/examples/5b191f2dbfa46c774cc9b9b9e8d1d831.asciidoc +++ b/docs/examples/5b191f2dbfa46c774cc9b9b9e8d1d831.asciidoc @@ -1,5 +1,5 @@ // This file is autogenerated, DO NOT EDIT -// rest-api/security/get-user-privileges.asciidoc:34 +// rest-api/security/get-user-privileges.asciidoc:40 [source, python] ---- diff --git a/docs/examples/5b281956e35a26e734c482b42b356c0d.asciidoc b/docs/examples/5b281956e35a26e734c482b42b356c0d.asciidoc index 4b77d9f45..02c2cfbd7 100644 --- a/docs/examples/5b281956e35a26e734c482b42b356c0d.asciidoc +++ b/docs/examples/5b281956e35a26e734c482b42b356c0d.asciidoc @@ -1,5 +1,5 @@ // This file is autogenerated, DO NOT EDIT -// indices/alias-exists.asciidoc:10 +// indices/alias-exists.asciidoc:16 [source, python] ---- diff --git a/docs/examples/5b2a13366bd4e1ab4b25d04d360570dc.asciidoc b/docs/examples/5b2a13366bd4e1ab4b25d04d360570dc.asciidoc index e47c2638d..270362136 100644 --- a/docs/examples/5b2a13366bd4e1ab4b25d04d360570dc.asciidoc +++ b/docs/examples/5b2a13366bd4e1ab4b25d04d360570dc.asciidoc @@ -1,5 +1,5 @@ // This file is autogenerated, DO NOT EDIT -// indices/put-component-template.asciidoc:255 +// indices/put-component-template.asciidoc:261 [source, python] ---- diff --git a/docs/examples/5b7d6f1db88ca6f42c48fa3dbb4341e8.asciidoc b/docs/examples/5b7d6f1db88ca6f42c48fa3dbb4341e8.asciidoc index b58e6bc27..9990e5c7b 100644 --- a/docs/examples/5b7d6f1db88ca6f42c48fa3dbb4341e8.asciidoc +++ b/docs/examples/5b7d6f1db88ca6f42c48fa3dbb4341e8.asciidoc @@ -1,5 +1,5 @@ // This file is autogenerated, DO NOT EDIT -// indices/get-mapping.asciidoc:79 +// indices/get-mapping.asciidoc:85 [source, python] ---- diff --git a/docs/examples/5bbccf103107e505c17ae59863753efd.asciidoc b/docs/examples/5bbccf103107e505c17ae59863753efd.asciidoc index 056d688e7..2b1bde38c 100644 --- a/docs/examples/5bbccf103107e505c17ae59863753efd.asciidoc +++ b/docs/examples/5bbccf103107e505c17ae59863753efd.asciidoc @@ -1,5 +1,5 @@ // This file is autogenerated, DO NOT EDIT -// ml/anomaly-detection/apis/get-influencer.asciidoc:152 +// ml/anomaly-detection/apis/get-influencer.asciidoc:158 [source, python] ---- diff --git a/docs/examples/5c7ece1f30267adabdb832424871900a.asciidoc b/docs/examples/5c7ece1f30267adabdb832424871900a.asciidoc index 4e8858788..46a493cee 100644 --- a/docs/examples/5c7ece1f30267adabdb832424871900a.asciidoc +++ b/docs/examples/5c7ece1f30267adabdb832424871900a.asciidoc @@ -1,5 +1,5 @@ // This file is autogenerated, DO NOT EDIT -// troubleshooting/troubleshooting-unbalanced-cluster.asciidoc:20 +// troubleshooting/troubleshooting-unbalanced-cluster.asciidoc:24 [source, python] ---- diff --git a/docs/examples/5ccfd9f4698dcd7cdfbc6bad60081aab.asciidoc b/docs/examples/5ccfd9f4698dcd7cdfbc6bad60081aab.asciidoc index 6ec562e73..c953d972f 100644 --- a/docs/examples/5ccfd9f4698dcd7cdfbc6bad60081aab.asciidoc +++ b/docs/examples/5ccfd9f4698dcd7cdfbc6bad60081aab.asciidoc @@ -1,5 +1,5 @@ // This file is autogenerated, DO NOT EDIT -// ml/df-analytics/apis/get-dfanalytics.asciidoc:212 +// ml/df-analytics/apis/get-dfanalytics.asciidoc:218 [source, python] ---- diff --git a/docs/examples/5ceb734e3affe00e2cdc29af748d95bf.asciidoc b/docs/examples/5ceb734e3affe00e2cdc29af748d95bf.asciidoc index 1112278fe..8e8095f7b 100644 --- a/docs/examples/5ceb734e3affe00e2cdc29af748d95bf.asciidoc +++ b/docs/examples/5ceb734e3affe00e2cdc29af748d95bf.asciidoc @@ -1,5 +1,5 @@ // This file is autogenerated, DO NOT EDIT -// inference/inference-apis.asciidoc:111 +// inference/inference-apis.asciidoc:114 [source, python] ---- diff --git a/docs/examples/5d03bb385904d20c5323885706738459.asciidoc b/docs/examples/5d03bb385904d20c5323885706738459.asciidoc index b5272d856..baeaa644a 100644 --- a/docs/examples/5d03bb385904d20c5323885706738459.asciidoc +++ b/docs/examples/5d03bb385904d20c5323885706738459.asciidoc @@ -1,5 +1,5 @@ // This file is autogenerated, DO NOT EDIT -// indices/aliases.asciidoc:10 +// indices/aliases.asciidoc:16 [source, python] ---- diff --git a/docs/examples/5deeed427f35cbaee4b8ddc45002a9d7.asciidoc b/docs/examples/5deeed427f35cbaee4b8ddc45002a9d7.asciidoc index 5b7e50ced..1edbb7e20 100644 --- a/docs/examples/5deeed427f35cbaee4b8ddc45002a9d7.asciidoc +++ b/docs/examples/5deeed427f35cbaee4b8ddc45002a9d7.asciidoc @@ -1,5 +1,5 @@ // This file is autogenerated, DO NOT EDIT -// rest-api/security/bulk-delete-roles.asciidoc:71 +// rest-api/security/bulk-delete-roles.asciidoc:77 [source, python] ---- diff --git a/docs/examples/5dfb23f6e36ef484f1d3271bae76a8d1.asciidoc b/docs/examples/5dfb23f6e36ef484f1d3271bae76a8d1.asciidoc index a7d0b7013..c99773099 100644 --- a/docs/examples/5dfb23f6e36ef484f1d3271bae76a8d1.asciidoc +++ b/docs/examples/5dfb23f6e36ef484f1d3271bae76a8d1.asciidoc @@ -1,5 +1,5 @@ // This file is autogenerated, DO NOT EDIT -// indices/recovery.asciidoc:234 +// indices/recovery.asciidoc:240 [source, python] ---- diff --git a/docs/examples/5e021307d331a4483a5aa2198168451b.asciidoc b/docs/examples/5e021307d331a4483a5aa2198168451b.asciidoc index 1c6919af5..cd316527b 100644 --- a/docs/examples/5e021307d331a4483a5aa2198168451b.asciidoc +++ b/docs/examples/5e021307d331a4483a5aa2198168451b.asciidoc @@ -1,5 +1,5 @@ // This file is autogenerated, DO NOT EDIT -// rest-api/security/create-roles.asciidoc:183 +// rest-api/security/create-roles.asciidoc:189 [source, python] ---- diff --git a/docs/examples/5e099493f135ff7bd614e935c4f2bf5a.asciidoc b/docs/examples/5e099493f135ff7bd614e935c4f2bf5a.asciidoc index d1f47e0f5..207872edc 100644 --- a/docs/examples/5e099493f135ff7bd614e935c4f2bf5a.asciidoc +++ b/docs/examples/5e099493f135ff7bd614e935c4f2bf5a.asciidoc @@ -1,5 +1,5 @@ // This file is autogenerated, DO NOT EDIT -// modules/indices/request_cache.asciidoc:86 +// shard-request-cache.asciidoc:88 [source, python] ---- diff --git a/docs/examples/5e124875d97c27362ae858160ae1c6d5.asciidoc b/docs/examples/5e124875d97c27362ae858160ae1c6d5.asciidoc index d83f724ea..9381112b4 100644 --- a/docs/examples/5e124875d97c27362ae858160ae1c6d5.asciidoc +++ b/docs/examples/5e124875d97c27362ae858160ae1c6d5.asciidoc @@ -1,5 +1,5 @@ // This file is autogenerated, DO NOT EDIT -// ccr/apis/auto-follow/get-auto-follow-pattern.asciidoc:44 +// ccr/apis/auto-follow/get-auto-follow-pattern.asciidoc:50 [source, python] ---- diff --git a/docs/examples/5e415c490a46358643ee2aab554b4876.asciidoc b/docs/examples/5e415c490a46358643ee2aab554b4876.asciidoc index 89b3587f7..e19029d48 100644 --- a/docs/examples/5e415c490a46358643ee2aab554b4876.asciidoc +++ b/docs/examples/5e415c490a46358643ee2aab554b4876.asciidoc @@ -1,5 +1,5 @@ // This file is autogenerated, DO NOT EDIT -// troubleshooting/common-issues/red-yellow-cluster-status.asciidoc:59 +// troubleshooting/common-issues/red-yellow-cluster-status.asciidoc:63 [source, python] ---- diff --git a/docs/examples/5ea9da129ca70a5fe534f27a82d80b29.asciidoc b/docs/examples/5ea9da129ca70a5fe534f27a82d80b29.asciidoc index 212650bef..a84be9f9e 100644 --- a/docs/examples/5ea9da129ca70a5fe534f27a82d80b29.asciidoc +++ b/docs/examples/5ea9da129ca70a5fe534f27a82d80b29.asciidoc @@ -1,5 +1,5 @@ // This file is autogenerated, DO NOT EDIT -// search/search-your-data/highlighting.asciidoc:667 +// search/search-your-data/highlighting.asciidoc:669 [source, python] ---- diff --git a/docs/examples/5f16358ebb5d14b86f57612d5f92d923.asciidoc b/docs/examples/5f16358ebb5d14b86f57612d5f92d923.asciidoc index dfd5e16b6..565804a37 100644 --- a/docs/examples/5f16358ebb5d14b86f57612d5f92d923.asciidoc +++ b/docs/examples/5f16358ebb5d14b86f57612d5f92d923.asciidoc @@ -1,5 +1,5 @@ // This file is autogenerated, DO NOT EDIT -// mapping/types/semantic-text.asciidoc:25 +// mapping/types/semantic-text.asciidoc:26 [source, python] ---- diff --git a/docs/examples/5f1ed9cfdc149763b444acfbe10b0e16.asciidoc b/docs/examples/5f1ed9cfdc149763b444acfbe10b0e16.asciidoc index 4b346a298..118ad732e 100644 --- a/docs/examples/5f1ed9cfdc149763b444acfbe10b0e16.asciidoc +++ b/docs/examples/5f1ed9cfdc149763b444acfbe10b0e16.asciidoc @@ -1,5 +1,5 @@ // This file is autogenerated, DO NOT EDIT -// indices/put-mapping.asciidoc:265 +// indices/put-mapping.asciidoc:271 [source, python] ---- diff --git a/docs/examples/5faa121e00a0582160b2adb2b72fed67.asciidoc b/docs/examples/5faa121e00a0582160b2adb2b72fed67.asciidoc index 6342a01eb..47a0bb0a1 100644 --- a/docs/examples/5faa121e00a0582160b2adb2b72fed67.asciidoc +++ b/docs/examples/5faa121e00a0582160b2adb2b72fed67.asciidoc @@ -1,5 +1,5 @@ // This file is autogenerated, DO NOT EDIT -// indices/get-settings.asciidoc:92 +// indices/get-settings.asciidoc:98 [source, python] ---- diff --git a/docs/examples/5fca6671bc8eaddc44ac488d1c3c6909.asciidoc b/docs/examples/5fca6671bc8eaddc44ac488d1c3c6909.asciidoc index f3234a306..5007151bf 100644 --- a/docs/examples/5fca6671bc8eaddc44ac488d1c3c6909.asciidoc +++ b/docs/examples/5fca6671bc8eaddc44ac488d1c3c6909.asciidoc @@ -1,5 +1,5 @@ // This file is autogenerated, DO NOT EDIT -// ml/anomaly-detection/apis/get-calendar.asciidoc:89 +// ml/anomaly-detection/apis/get-calendar.asciidoc:95 [source, python] ---- diff --git a/docs/examples/5fde0d78e9b2cc0519f8a63848ed344e.asciidoc b/docs/examples/5fde0d78e9b2cc0519f8a63848ed344e.asciidoc index 74cfdcf7b..df3038e41 100644 --- a/docs/examples/5fde0d78e9b2cc0519f8a63848ed344e.asciidoc +++ b/docs/examples/5fde0d78e9b2cc0519f8a63848ed344e.asciidoc @@ -1,5 +1,5 @@ // This file is autogenerated, DO NOT EDIT -// query-rules/apis/get-query-ruleset.asciidoc:102 +// query-rules/apis/get-query-ruleset.asciidoc:108 [source, python] ---- diff --git a/docs/examples/601ad3b0ceccb3fcd282e5ec36748954.asciidoc b/docs/examples/601ad3b0ceccb3fcd282e5ec36748954.asciidoc index 41fbc65df..be80f02ef 100644 --- a/docs/examples/601ad3b0ceccb3fcd282e5ec36748954.asciidoc +++ b/docs/examples/601ad3b0ceccb3fcd282e5ec36748954.asciidoc @@ -1,5 +1,5 @@ // This file is autogenerated, DO NOT EDIT -// rest-api/security/get-service-credentials.asciidoc:59 +// rest-api/security/get-service-credentials.asciidoc:64 [source, python] ---- diff --git a/docs/examples/602e04051c092cf77de2f75a563661b8.asciidoc b/docs/examples/602e04051c092cf77de2f75a563661b8.asciidoc index 4d7617acd..8e7d57b80 100644 --- a/docs/examples/602e04051c092cf77de2f75a563661b8.asciidoc +++ b/docs/examples/602e04051c092cf77de2f75a563661b8.asciidoc @@ -1,5 +1,5 @@ // This file is autogenerated, DO NOT EDIT -// cat.asciidoc:57 +// cat.asciidoc:63 [source, python] ---- diff --git a/docs/examples/604da59fe41160efa10a846a9dacc07a.asciidoc b/docs/examples/604da59fe41160efa10a846a9dacc07a.asciidoc index b25e552f6..771bd1742 100644 --- a/docs/examples/604da59fe41160efa10a846a9dacc07a.asciidoc +++ b/docs/examples/604da59fe41160efa10a846a9dacc07a.asciidoc @@ -1,5 +1,5 @@ // This file is autogenerated, DO NOT EDIT -// eql/get-async-eql-status-api.asciidoc:18 +// eql/get-async-eql-status-api.asciidoc:25 [source, python] ---- diff --git a/docs/examples/6061aadb3b870791278212d1e8f52b39.asciidoc b/docs/examples/6061aadb3b870791278212d1e8f52b39.asciidoc index 7a90e38ee..077977e52 100644 --- a/docs/examples/6061aadb3b870791278212d1e8f52b39.asciidoc +++ b/docs/examples/6061aadb3b870791278212d1e8f52b39.asciidoc @@ -1,5 +1,5 @@ // This file is autogenerated, DO NOT EDIT -// ml/common/apis/get-ml-memory.asciidoc:228 +// ml/common/apis/get-ml-memory.asciidoc:234 [source, python] ---- diff --git a/docs/examples/6097ae69c64454a92a89ef01b994e9f9.asciidoc b/docs/examples/6097ae69c64454a92a89ef01b994e9f9.asciidoc index 4cad7c0a3..b22dce60a 100644 --- a/docs/examples/6097ae69c64454a92a89ef01b994e9f9.asciidoc +++ b/docs/examples/6097ae69c64454a92a89ef01b994e9f9.asciidoc @@ -1,5 +1,5 @@ // This file is autogenerated, DO NOT EDIT -// synonyms/apis/put-synonym-rule.asciidoc:145 +// synonyms/apis/put-synonym-rule.asciidoc:151 [source, python] ---- diff --git a/docs/examples/60d3f9a99cc91b43aaa7524a9a74dba0.asciidoc b/docs/examples/60d3f9a99cc91b43aaa7524a9a74dba0.asciidoc index bf47c1f20..6fe2dc982 100644 --- a/docs/examples/60d3f9a99cc91b43aaa7524a9a74dba0.asciidoc +++ b/docs/examples/60d3f9a99cc91b43aaa7524a9a74dba0.asciidoc @@ -1,5 +1,5 @@ // This file is autogenerated, DO NOT EDIT -// troubleshooting/common-issues/rejected-requests.asciidoc:43 +// troubleshooting/common-issues/rejected-requests.asciidoc:50 [source, python] ---- diff --git a/docs/examples/60f889fbed5df3185444f7015b48ed76.asciidoc b/docs/examples/60f889fbed5df3185444f7015b48ed76.asciidoc index f0991a95c..c742c3978 100644 --- a/docs/examples/60f889fbed5df3185444f7015b48ed76.asciidoc +++ b/docs/examples/60f889fbed5df3185444f7015b48ed76.asciidoc @@ -1,5 +1,5 @@ // This file is autogenerated, DO NOT EDIT -// indices/create-index.asciidoc:10 +// indices/create-index.asciidoc:16 [source, python] ---- diff --git a/docs/examples/612c2e975f833de9815651135735eae5.asciidoc b/docs/examples/612c2e975f833de9815651135735eae5.asciidoc index b3e378bbb..4a1a4e169 100644 --- a/docs/examples/612c2e975f833de9815651135735eae5.asciidoc +++ b/docs/examples/612c2e975f833de9815651135735eae5.asciidoc @@ -1,5 +1,5 @@ // This file is autogenerated, DO NOT EDIT -// cluster/tasks.asciidoc:247 +// cluster/tasks.asciidoc:253 [source, python] ---- diff --git a/docs/examples/618c9d42284c067891fb57034a4fd834.asciidoc b/docs/examples/618c9d42284c067891fb57034a4fd834.asciidoc index cb2e2f133..3bab5a6e7 100644 --- a/docs/examples/618c9d42284c067891fb57034a4fd834.asciidoc +++ b/docs/examples/618c9d42284c067891fb57034a4fd834.asciidoc @@ -1,5 +1,5 @@ // This file is autogenerated, DO NOT EDIT -// rollup/apis/start-job.asciidoc:50 +// rollup/apis/start-job.asciidoc:56 [source, python] ---- diff --git a/docs/examples/61d6b9503459914c436930c3ae87d454.asciidoc b/docs/examples/61d6b9503459914c436930c3ae87d454.asciidoc index 12f47766f..4782a49cf 100644 --- a/docs/examples/61d6b9503459914c436930c3ae87d454.asciidoc +++ b/docs/examples/61d6b9503459914c436930c3ae87d454.asciidoc @@ -1,5 +1,5 @@ // This file is autogenerated, DO NOT EDIT -// query-rules/apis/list-query-rulesets.asciidoc:165 +// query-rules/apis/list-query-rulesets.asciidoc:171 [source, python] ---- diff --git a/docs/examples/6244204213f60edf2f23295f9059f2c9.asciidoc b/docs/examples/6244204213f60edf2f23295f9059f2c9.asciidoc index eacb1ead7..ac7a3d39c 100644 --- a/docs/examples/6244204213f60edf2f23295f9059f2c9.asciidoc +++ b/docs/examples/6244204213f60edf2f23295f9059f2c9.asciidoc @@ -1,5 +1,5 @@ // This file is autogenerated, DO NOT EDIT -// rest-api/watcher/stats.asciidoc:163 +// rest-api/watcher/stats.asciidoc:169 [source, python] ---- diff --git a/docs/examples/62ccee6ad356428c2d625742f961ceb7.asciidoc b/docs/examples/62ccee6ad356428c2d625742f961ceb7.asciidoc index d94a8ced9..156da376e 100644 --- a/docs/examples/62ccee6ad356428c2d625742f961ceb7.asciidoc +++ b/docs/examples/62ccee6ad356428c2d625742f961ceb7.asciidoc @@ -1,5 +1,5 @@ // This file is autogenerated, DO NOT EDIT -// rest-api/security/update-api-key.asciidoc:200 +// rest-api/security/update-api-key.asciidoc:206 [source, python] ---- diff --git a/docs/examples/62eafc5b3ab75cc67314d5a8567d6077.asciidoc b/docs/examples/62eafc5b3ab75cc67314d5a8567d6077.asciidoc index 1af60a98f..880a8fc68 100644 --- a/docs/examples/62eafc5b3ab75cc67314d5a8567d6077.asciidoc +++ b/docs/examples/62eafc5b3ab75cc67314d5a8567d6077.asciidoc @@ -1,5 +1,5 @@ // This file is autogenerated, DO NOT EDIT -// rest-api/security/get-api-keys.asciidoc:225 +// rest-api/security/get-api-keys.asciidoc:231 [source, python] ---- diff --git a/docs/examples/63893e7e9479a9b60db71dcddcc79aaf.asciidoc b/docs/examples/63893e7e9479a9b60db71dcddcc79aaf.asciidoc index 1ee6a288d..753107965 100644 --- a/docs/examples/63893e7e9479a9b60db71dcddcc79aaf.asciidoc +++ b/docs/examples/63893e7e9479a9b60db71dcddcc79aaf.asciidoc @@ -1,5 +1,5 @@ // This file is autogenerated, DO NOT EDIT -// ml/anomaly-detection/apis/delete-calendar.asciidoc:38 +// ml/anomaly-detection/apis/delete-calendar.asciidoc:44 [source, python] ---- diff --git a/docs/examples/63a53fcb0717ae9033a679cbfc932851.asciidoc b/docs/examples/63a53fcb0717ae9033a679cbfc932851.asciidoc index 15c170aba..746b8a42d 100644 --- a/docs/examples/63a53fcb0717ae9033a679cbfc932851.asciidoc +++ b/docs/examples/63a53fcb0717ae9033a679cbfc932851.asciidoc @@ -1,5 +1,5 @@ // This file is autogenerated, DO NOT EDIT -// inference/service-alibabacloud-ai-search.asciidoc:168 +// inference/service-alibabacloud-ai-search.asciidoc:174 [source, python] ---- diff --git a/docs/examples/63bf3480627a89b4b4ede4150e1d6bc0.asciidoc b/docs/examples/63bf3480627a89b4b4ede4150e1d6bc0.asciidoc index c7d05b973..91a1b7c2e 100644 --- a/docs/examples/63bf3480627a89b4b4ede4150e1d6bc0.asciidoc +++ b/docs/examples/63bf3480627a89b4b4ede4150e1d6bc0.asciidoc @@ -1,5 +1,5 @@ // This file is autogenerated, DO NOT EDIT -// rest-api/security/bulk-create-roles.asciidoc:119 +// rest-api/security/bulk-create-roles.asciidoc:125 [source, python] ---- diff --git a/docs/examples/63cc960215ae83b359c12df3c0993bfa.asciidoc b/docs/examples/63cc960215ae83b359c12df3c0993bfa.asciidoc index 5529b0b89..bbf69419f 100644 --- a/docs/examples/63cc960215ae83b359c12df3c0993bfa.asciidoc +++ b/docs/examples/63cc960215ae83b359c12df3c0993bfa.asciidoc @@ -1,5 +1,5 @@ // This file is autogenerated, DO NOT EDIT -// indices/create-index.asciidoc:130 +// indices/create-index.asciidoc:136 [source, python] ---- diff --git a/docs/examples/63e20883732ec30b5400046be2efb0f1.asciidoc b/docs/examples/63e20883732ec30b5400046be2efb0f1.asciidoc index e6e5a0dd6..d2846a3b6 100644 --- a/docs/examples/63e20883732ec30b5400046be2efb0f1.asciidoc +++ b/docs/examples/63e20883732ec30b5400046be2efb0f1.asciidoc @@ -1,5 +1,5 @@ // This file is autogenerated, DO NOT EDIT -// indices/flush.asciidoc:121 +// indices/flush.asciidoc:127 [source, python] ---- diff --git a/docs/examples/640621cea39cdeeb76fbc95bff31a18d.asciidoc b/docs/examples/640621cea39cdeeb76fbc95bff31a18d.asciidoc index 34660de39..1837f3899 100644 --- a/docs/examples/640621cea39cdeeb76fbc95bff31a18d.asciidoc +++ b/docs/examples/640621cea39cdeeb76fbc95bff31a18d.asciidoc @@ -1,5 +1,5 @@ // This file is autogenerated, DO NOT EDIT -// connector/apis/update-connector-last-sync-api.asciidoc:116 +// connector/apis/update-connector-last-sync-api.asciidoc:122 [source, python] ---- diff --git a/docs/examples/640dbeecb736bd25f6f2b392b76a7531.asciidoc b/docs/examples/640dbeecb736bd25f6f2b392b76a7531.asciidoc index 7e70eab6d..08ac55001 100644 --- a/docs/examples/640dbeecb736bd25f6f2b392b76a7531.asciidoc +++ b/docs/examples/640dbeecb736bd25f6f2b392b76a7531.asciidoc @@ -1,5 +1,5 @@ // This file is autogenerated, DO NOT EDIT -// cluster/stats.asciidoc:1905 +// cluster/stats.asciidoc:1914 [source, python] ---- diff --git a/docs/examples/6414b9276ba1c63898c3ff5cbe03c54e.asciidoc b/docs/examples/6414b9276ba1c63898c3ff5cbe03c54e.asciidoc index 5227631bd..561422a4b 100644 --- a/docs/examples/6414b9276ba1c63898c3ff5cbe03c54e.asciidoc +++ b/docs/examples/6414b9276ba1c63898c3ff5cbe03c54e.asciidoc @@ -1,5 +1,5 @@ // This file is autogenerated, DO NOT EDIT -// indices/segments.asciidoc:128 +// indices/segments.asciidoc:134 [source, python] ---- diff --git a/docs/examples/642161d70dacf7d153767d37d3726838.asciidoc b/docs/examples/642161d70dacf7d153767d37d3726838.asciidoc index 3fb9f5242..a7c877f17 100644 --- a/docs/examples/642161d70dacf7d153767d37d3726838.asciidoc +++ b/docs/examples/642161d70dacf7d153767d37d3726838.asciidoc @@ -1,5 +1,5 @@ // This file is autogenerated, DO NOT EDIT -// rollup/apis/rollup-index-caps.asciidoc:163 +// rollup/apis/rollup-index-caps.asciidoc:169 [source, python] ---- diff --git a/docs/examples/64622409407316d2d47094e692d9b516.asciidoc b/docs/examples/64622409407316d2d47094e692d9b516.asciidoc index b5cabc544..606ac367b 100644 --- a/docs/examples/64622409407316d2d47094e692d9b516.asciidoc +++ b/docs/examples/64622409407316d2d47094e692d9b516.asciidoc @@ -1,5 +1,5 @@ // This file is autogenerated, DO NOT EDIT -// ml/df-analytics/apis/evaluate-dfanalytics.asciidoc:395 +// ml/df-analytics/apis/evaluate-dfanalytics.asciidoc:401 [source, python] ---- diff --git a/docs/examples/646d71869f1a18c5bede7759559bfc47.asciidoc b/docs/examples/646d71869f1a18c5bede7759559bfc47.asciidoc index 4b28aad02..036a676f3 100644 --- a/docs/examples/646d71869f1a18c5bede7759559bfc47.asciidoc +++ b/docs/examples/646d71869f1a18c5bede7759559bfc47.asciidoc @@ -1,5 +1,5 @@ // This file is autogenerated, DO NOT EDIT -// indices/get-field-mapping.asciidoc:236 +// indices/get-field-mapping.asciidoc:242 [source, python] ---- diff --git a/docs/examples/64c572abc23394a77b6cca0b5368ee1d.asciidoc b/docs/examples/64c572abc23394a77b6cca0b5368ee1d.asciidoc index 87b81e8e4..adbb544fe 100644 --- a/docs/examples/64c572abc23394a77b6cca0b5368ee1d.asciidoc +++ b/docs/examples/64c572abc23394a77b6cca0b5368ee1d.asciidoc @@ -1,5 +1,5 @@ // This file is autogenerated, DO NOT EDIT -// features/apis/get-features-api.asciidoc:12 +// features/apis/get-features-api.asciidoc:18 [source, python] ---- diff --git a/docs/examples/64d24f4b2a57dba48092dafe3eb68ad1.asciidoc b/docs/examples/64d24f4b2a57dba48092dafe3eb68ad1.asciidoc index 381ddf143..d916c5e3d 100644 --- a/docs/examples/64d24f4b2a57dba48092dafe3eb68ad1.asciidoc +++ b/docs/examples/64d24f4b2a57dba48092dafe3eb68ad1.asciidoc @@ -1,5 +1,5 @@ // This file is autogenerated, DO NOT EDIT -// docs/multi-get.asciidoc:239 +// docs/multi-get.asciidoc:245 [source, python] ---- diff --git a/docs/examples/654882f545eca8d7047695f867c63072.asciidoc b/docs/examples/654882f545eca8d7047695f867c63072.asciidoc index ed2907890..f2cf570e4 100644 --- a/docs/examples/654882f545eca8d7047695f867c63072.asciidoc +++ b/docs/examples/654882f545eca8d7047695f867c63072.asciidoc @@ -1,5 +1,5 @@ // This file is autogenerated, DO NOT EDIT -// transform/apis/stop-transform.asciidoc:81 +// transform/apis/stop-transform.asciidoc:87 [source, python] ---- diff --git a/docs/examples/65b6185356f16f2f0d84bc5aee2ed0fc.asciidoc b/docs/examples/65b6185356f16f2f0d84bc5aee2ed0fc.asciidoc index 6c0013855..48abc6096 100644 --- a/docs/examples/65b6185356f16f2f0d84bc5aee2ed0fc.asciidoc +++ b/docs/examples/65b6185356f16f2f0d84bc5aee2ed0fc.asciidoc @@ -1,5 +1,5 @@ // This file is autogenerated, DO NOT EDIT -// query-dsl/sparse-vector-query.asciidoc:25 +// query-dsl/sparse-vector-query.asciidoc:26 [source, python] ---- diff --git a/docs/examples/6606d46685d10377b996b5f20f1229b5.asciidoc b/docs/examples/6606d46685d10377b996b5f20f1229b5.asciidoc index 793512aa2..1ab17d6c4 100644 --- a/docs/examples/6606d46685d10377b996b5f20f1229b5.asciidoc +++ b/docs/examples/6606d46685d10377b996b5f20f1229b5.asciidoc @@ -1,5 +1,5 @@ // This file is autogenerated, DO NOT EDIT -// connector/apis/update-connector-index-name-api.asciidoc:76 +// connector/apis/update-connector-index-name-api.asciidoc:82 [source, python] ---- diff --git a/docs/examples/66539dc6011dd2e0282cf81db1f3df27.asciidoc b/docs/examples/66539dc6011dd2e0282cf81db1f3df27.asciidoc index 8e89820c4..77fde631d 100644 --- a/docs/examples/66539dc6011dd2e0282cf81db1f3df27.asciidoc +++ b/docs/examples/66539dc6011dd2e0282cf81db1f3df27.asciidoc @@ -1,5 +1,5 @@ // This file is autogenerated, DO NOT EDIT -// cat.asciidoc:85 +// cat.asciidoc:91 [source, python] ---- diff --git a/docs/examples/6689aa213884196b47a6f482d4993749.asciidoc b/docs/examples/6689aa213884196b47a6f482d4993749.asciidoc index c850d3ee8..c522b28a5 100644 --- a/docs/examples/6689aa213884196b47a6f482d4993749.asciidoc +++ b/docs/examples/6689aa213884196b47a6f482d4993749.asciidoc @@ -1,5 +1,5 @@ // This file is autogenerated, DO NOT EDIT -// ingest/apis/put-pipeline.asciidoc:11 +// ingest/apis/put-pipeline.asciidoc:17 [source, python] ---- diff --git a/docs/examples/67aac8882fa476db8a5878b67ea08eb3.asciidoc b/docs/examples/67aac8882fa476db8a5878b67ea08eb3.asciidoc index 4ca7f4d84..d8dfbd7a0 100644 --- a/docs/examples/67aac8882fa476db8a5878b67ea08eb3.asciidoc +++ b/docs/examples/67aac8882fa476db8a5878b67ea08eb3.asciidoc @@ -1,5 +1,5 @@ // This file is autogenerated, DO NOT EDIT -// snapshot-restore/apis/repo-analysis-api.asciidoc:26 +// snapshot-restore/apis/repo-analysis-api.asciidoc:32 [source, python] ---- diff --git a/docs/examples/67bab07fda27ef77e3bc948211051a33.asciidoc b/docs/examples/67bab07fda27ef77e3bc948211051a33.asciidoc index e7072b9dc..b0dbc1131 100644 --- a/docs/examples/67bab07fda27ef77e3bc948211051a33.asciidoc +++ b/docs/examples/67bab07fda27ef77e3bc948211051a33.asciidoc @@ -1,5 +1,5 @@ // This file is autogenerated, DO NOT EDIT -// troubleshooting/common-issues/hotspotting.asciidoc:156 +// troubleshooting/common-issues/hotspotting.asciidoc:160 [source, python] ---- diff --git a/docs/examples/67ffa135c50c43d6788636c88078c7d1.asciidoc b/docs/examples/67ffa135c50c43d6788636c88078c7d1.asciidoc index 263c02e41..ce2a93601 100644 --- a/docs/examples/67ffa135c50c43d6788636c88078c7d1.asciidoc +++ b/docs/examples/67ffa135c50c43d6788636c88078c7d1.asciidoc @@ -1,5 +1,5 @@ // This file is autogenerated, DO NOT EDIT -// ingest/apis/simulate-pipeline.asciidoc:150 +// ingest/apis/simulate-pipeline.asciidoc:156 [source, python] ---- diff --git a/docs/examples/ee05714a83d75fb6858e3b9fcbeb8f8b.asciidoc b/docs/examples/681d24c2633f598fc43d6afff8996dbb.asciidoc similarity index 93% rename from docs/examples/ee05714a83d75fb6858e3b9fcbeb8f8b.asciidoc rename to docs/examples/681d24c2633f598fc43d6afff8996dbb.asciidoc index 3a50a9384..79fe95816 100644 --- a/docs/examples/ee05714a83d75fb6858e3b9fcbeb8f8b.asciidoc +++ b/docs/examples/681d24c2633f598fc43d6afff8996dbb.asciidoc @@ -1,17 +1,23 @@ // This file is autogenerated, DO NOT EDIT -// search/search-your-data/retrievers-examples.asciidoc:13 +// search/search-your-data/retrievers-examples.asciidoc:14 [source, python] ---- resp = client.indices.create( index="retrievers_example", + settings={ + "number_of_shards": 1 + }, mappings={ "properties": { "vector": { "type": "dense_vector", "dims": 3, "similarity": "l2_norm", - "index": True + "index": True, + "index_options": { + "type": "flat" + } }, "text": { "type": "text" diff --git a/docs/examples/68738b4fd0dda177022be45be95b4c84.asciidoc b/docs/examples/68738b4fd0dda177022be45be95b4c84.asciidoc index 632e5ba7d..56a80efcd 100644 --- a/docs/examples/68738b4fd0dda177022be45be95b4c84.asciidoc +++ b/docs/examples/68738b4fd0dda177022be45be95b4c84.asciidoc @@ -1,5 +1,5 @@ // This file is autogenerated, DO NOT EDIT -// docs/reindex.asciidoc:202 +// docs/reindex.asciidoc:208 [source, python] ---- diff --git a/docs/examples/68b64313bf89ec3f2c645da61999dbb4.asciidoc b/docs/examples/68b64313bf89ec3f2c645da61999dbb4.asciidoc index bd40f4871..3134ba195 100644 --- a/docs/examples/68b64313bf89ec3f2c645da61999dbb4.asciidoc +++ b/docs/examples/68b64313bf89ec3f2c645da61999dbb4.asciidoc @@ -1,5 +1,5 @@ // This file is autogenerated, DO NOT EDIT -// cluster/nodes-info.asciidoc:221 +// cluster/nodes-info.asciidoc:226 [source, python] ---- diff --git a/docs/examples/692606cc6d6462becc321d92961a3bac.asciidoc b/docs/examples/692606cc6d6462becc321d92961a3bac.asciidoc index 176019bf1..d237ae7f7 100644 --- a/docs/examples/692606cc6d6462becc321d92961a3bac.asciidoc +++ b/docs/examples/692606cc6d6462becc321d92961a3bac.asciidoc @@ -1,5 +1,5 @@ // This file is autogenerated, DO NOT EDIT -// text-structure/apis/test-grok-pattern.asciidoc:54 +// text-structure/apis/test-grok-pattern.asciidoc:60 [source, python] ---- diff --git a/docs/examples/69541f0bb81ab3797926bb2a00607cda.asciidoc b/docs/examples/69541f0bb81ab3797926bb2a00607cda.asciidoc index 6ba5981f1..88e55f89c 100644 --- a/docs/examples/69541f0bb81ab3797926bb2a00607cda.asciidoc +++ b/docs/examples/69541f0bb81ab3797926bb2a00607cda.asciidoc @@ -1,5 +1,5 @@ // This file is autogenerated, DO NOT EDIT -// search/retriever.asciidoc:576 +// search/retriever.asciidoc:703 [source, python] ---- diff --git a/docs/examples/698e0a2b67ba7842caa801d9ef46ebe3.asciidoc b/docs/examples/698e0a2b67ba7842caa801d9ef46ebe3.asciidoc index aceae9924..b164965d1 100644 --- a/docs/examples/698e0a2b67ba7842caa801d9ef46ebe3.asciidoc +++ b/docs/examples/698e0a2b67ba7842caa801d9ef46ebe3.asciidoc @@ -1,5 +1,5 @@ // This file is autogenerated, DO NOT EDIT -// search/search-your-data/highlighting.asciidoc:497 +// search/search-your-data/highlighting.asciidoc:499 [source, python] ---- diff --git a/docs/examples/69a08e7bdcc616f3bdcb8ae842d9e30e.asciidoc b/docs/examples/69a08e7bdcc616f3bdcb8ae842d9e30e.asciidoc index 87d427403..0b36e7def 100644 --- a/docs/examples/69a08e7bdcc616f3bdcb8ae842d9e30e.asciidoc +++ b/docs/examples/69a08e7bdcc616f3bdcb8ae842d9e30e.asciidoc @@ -1,5 +1,5 @@ // This file is autogenerated, DO NOT EDIT -// docs/get.asciidoc:354 +// docs/get.asciidoc:360 [source, python] ---- diff --git a/docs/examples/69c07cfdf8054c301cd6186c5d71aa02.asciidoc b/docs/examples/69c07cfdf8054c301cd6186c5d71aa02.asciidoc index b4add7199..24327ea21 100644 --- a/docs/examples/69c07cfdf8054c301cd6186c5d71aa02.asciidoc +++ b/docs/examples/69c07cfdf8054c301cd6186c5d71aa02.asciidoc @@ -1,5 +1,5 @@ // This file is autogenerated, DO NOT EDIT -// docs/update-by-query.asciidoc:344 +// docs/update-by-query.asciidoc:350 [source, python] ---- diff --git a/docs/examples/69f8b0f2a9ba47e11f363d788cee9d6d.asciidoc b/docs/examples/69f8b0f2a9ba47e11f363d788cee9d6d.asciidoc index 0325c8d27..18bd0f1ce 100644 --- a/docs/examples/69f8b0f2a9ba47e11f363d788cee9d6d.asciidoc +++ b/docs/examples/69f8b0f2a9ba47e11f363d788cee9d6d.asciidoc @@ -1,5 +1,5 @@ // This file is autogenerated, DO NOT EDIT -// migration/apis/deprecation.asciidoc:140 +// migration/apis/deprecation.asciidoc:146 [source, python] ---- diff --git a/docs/examples/6a350a17701e8c8158407191f2718b66.asciidoc b/docs/examples/6a350a17701e8c8158407191f2718b66.asciidoc index a721d4b83..a3290564b 100644 --- a/docs/examples/6a350a17701e8c8158407191f2718b66.asciidoc +++ b/docs/examples/6a350a17701e8c8158407191f2718b66.asciidoc @@ -1,5 +1,5 @@ // This file is autogenerated, DO NOT EDIT -// ccr/apis/follow/post-unfollow.asciidoc:74 +// ccr/apis/follow/post-unfollow.asciidoc:80 [source, python] ---- diff --git a/docs/examples/6a3a86ff58e5f20950d429cf2832c229.asciidoc b/docs/examples/6a3a86ff58e5f20950d429cf2832c229.asciidoc index a6761640a..624c974fa 100644 --- a/docs/examples/6a3a86ff58e5f20950d429cf2832c229.asciidoc +++ b/docs/examples/6a3a86ff58e5f20950d429cf2832c229.asciidoc @@ -1,5 +1,5 @@ // This file is autogenerated, DO NOT EDIT -// ingest/apis/get-pipeline.asciidoc:76 +// ingest/apis/get-pipeline.asciidoc:82 [source, python] ---- diff --git a/docs/examples/6aca241c0361d26f134712821e2d09a9.asciidoc b/docs/examples/6aca241c0361d26f134712821e2d09a9.asciidoc index 72da86fba..c0a72833c 100644 --- a/docs/examples/6aca241c0361d26f134712821e2d09a9.asciidoc +++ b/docs/examples/6aca241c0361d26f134712821e2d09a9.asciidoc @@ -1,5 +1,5 @@ // This file is autogenerated, DO NOT EDIT -// snapshot-restore/apis/clean-up-repo-api.asciidoc:79 +// snapshot-restore/apis/clean-up-repo-api.asciidoc:85 [source, python] ---- diff --git a/docs/examples/6b0288acb739c4667d41339e5100c327.asciidoc b/docs/examples/6b0288acb739c4667d41339e5100c327.asciidoc index 26a2af93b..421376449 100644 --- a/docs/examples/6b0288acb739c4667d41339e5100c327.asciidoc +++ b/docs/examples/6b0288acb739c4667d41339e5100c327.asciidoc @@ -1,5 +1,5 @@ // This file is autogenerated, DO NOT EDIT -// query-dsl/match-query.asciidoc:230 +// query-dsl/match-query.asciidoc:234 [source, python] ---- diff --git a/docs/examples/6b1336ff477f91d4a0db0b06db546ff0.asciidoc b/docs/examples/6b1336ff477f91d4a0db0b06db546ff0.asciidoc index 1dccfee87..162a22abf 100644 --- a/docs/examples/6b1336ff477f91d4a0db0b06db546ff0.asciidoc +++ b/docs/examples/6b1336ff477f91d4a0db0b06db546ff0.asciidoc @@ -1,5 +1,5 @@ // This file is autogenerated, DO NOT EDIT -// rest-api/watcher/stop.asciidoc:45 +// rest-api/watcher/stop.asciidoc:51 [source, python] ---- diff --git a/docs/examples/6b3dcde0656d3a96dbcfed1ec814e10a.asciidoc b/docs/examples/6b3dcde0656d3a96dbcfed1ec814e10a.asciidoc index 650690a2c..81ce7ccd1 100644 --- a/docs/examples/6b3dcde0656d3a96dbcfed1ec814e10a.asciidoc +++ b/docs/examples/6b3dcde0656d3a96dbcfed1ec814e10a.asciidoc @@ -1,5 +1,5 @@ // This file is autogenerated, DO NOT EDIT -// shutdown/apis/shutdown-delete.asciidoc:65 +// shutdown/apis/shutdown-delete.asciidoc:71 [source, python] ---- diff --git a/docs/examples/6b67c6121efb86ee100d40c2646f77b5.asciidoc b/docs/examples/6b67c6121efb86ee100d40c2646f77b5.asciidoc new file mode 100644 index 000000000..bc427ddf0 --- /dev/null +++ b/docs/examples/6b67c6121efb86ee100d40c2646f77b5.asciidoc @@ -0,0 +1,15 @@ +// This file is autogenerated, DO NOT EDIT +// index-modules/slowlog.asciidoc:219 + +[source, python] +---- +resp = client.indices.put_settings( + index="*", + settings={ + "index.search.slowlog.include.user": True, + "index.search.slowlog.threshold.fetch.warn": "30s", + "index.search.slowlog.threshold.query.warn": "30s" + }, +) +print(resp) +---- diff --git a/docs/examples/6b6f5e0ab4ef523fc9a3a4a655848f64.asciidoc b/docs/examples/6b6f5e0ab4ef523fc9a3a4a655848f64.asciidoc index 9c8ff6008..10f198dce 100644 --- a/docs/examples/6b6f5e0ab4ef523fc9a3a4a655848f64.asciidoc +++ b/docs/examples/6b6f5e0ab4ef523fc9a3a4a655848f64.asciidoc @@ -1,5 +1,5 @@ // This file is autogenerated, DO NOT EDIT -// query-dsl/sparse-vector-query.asciidoc:43 +// query-dsl/sparse-vector-query.asciidoc:44 [source, python] ---- diff --git a/docs/examples/6b8c5c8145c287c4fc535fa57ccf95a7.asciidoc b/docs/examples/6b8c5c8145c287c4fc535fa57ccf95a7.asciidoc index 5afe00179..39589af02 100644 --- a/docs/examples/6b8c5c8145c287c4fc535fa57ccf95a7.asciidoc +++ b/docs/examples/6b8c5c8145c287c4fc535fa57ccf95a7.asciidoc @@ -1,5 +1,5 @@ // This file is autogenerated, DO NOT EDIT -// connector/apis/list-connector-sync-jobs-api.asciidoc:65 +// connector/apis/list-connector-sync-jobs-api.asciidoc:71 [source, python] ---- diff --git a/docs/examples/6ba332596f5eb29660c90ab2d480e7dc.asciidoc b/docs/examples/6ba332596f5eb29660c90ab2d480e7dc.asciidoc index a24ccbc71..fbd0709e9 100644 --- a/docs/examples/6ba332596f5eb29660c90ab2d480e7dc.asciidoc +++ b/docs/examples/6ba332596f5eb29660c90ab2d480e7dc.asciidoc @@ -1,5 +1,5 @@ // This file is autogenerated, DO NOT EDIT -// indices/put-index-template-v1.asciidoc:183 +// indices/put-index-template-v1.asciidoc:189 [source, python] ---- diff --git a/docs/examples/6c70b022a8a74b887fe46e514feb38c0.asciidoc b/docs/examples/6c70b022a8a74b887fe46e514feb38c0.asciidoc index 4b7511daa..4ad22e7db 100644 --- a/docs/examples/6c70b022a8a74b887fe46e514feb38c0.asciidoc +++ b/docs/examples/6c70b022a8a74b887fe46e514feb38c0.asciidoc @@ -1,5 +1,5 @@ // This file is autogenerated, DO NOT EDIT -// indices/recovery.asciidoc:12 +// indices/recovery.asciidoc:18 [source, python] ---- diff --git a/docs/examples/6c72460570307f23478100db04a84c8e.asciidoc b/docs/examples/6c72460570307f23478100db04a84c8e.asciidoc index 883ddf576..be86726e6 100644 --- a/docs/examples/6c72460570307f23478100db04a84c8e.asciidoc +++ b/docs/examples/6c72460570307f23478100db04a84c8e.asciidoc @@ -1,5 +1,5 @@ // This file is autogenerated, DO NOT EDIT -// indices/get-component-template.asciidoc:86 +// indices/get-component-template.asciidoc:92 [source, python] ---- diff --git a/docs/examples/6c8bf6d4d68b7756f953be4c07655337.asciidoc b/docs/examples/6c8bf6d4d68b7756f953be4c07655337.asciidoc index 4b01b060e..522f1b320 100644 --- a/docs/examples/6c8bf6d4d68b7756f953be4c07655337.asciidoc +++ b/docs/examples/6c8bf6d4d68b7756f953be4c07655337.asciidoc @@ -1,5 +1,5 @@ // This file is autogenerated, DO NOT EDIT -// cluster/nodes-reload-secure-settings.asciidoc:63 +// cluster/nodes-reload-secure-settings.asciidoc:69 [source, python] ---- diff --git a/docs/examples/6c927313867647e0ef3cd3a37cb410cc.asciidoc b/docs/examples/6c927313867647e0ef3cd3a37cb410cc.asciidoc index 0c0e8d4e0..b34f7c02f 100644 --- a/docs/examples/6c927313867647e0ef3cd3a37cb410cc.asciidoc +++ b/docs/examples/6c927313867647e0ef3cd3a37cb410cc.asciidoc @@ -1,5 +1,5 @@ // This file is autogenerated, DO NOT EDIT -// rest-api/security/invalidate-api-keys.asciidoc:179 +// rest-api/security/invalidate-api-keys.asciidoc:185 [source, python] ---- diff --git a/docs/examples/6ce6cac9df216c52371c2e77e6e07ba1.asciidoc b/docs/examples/6ce6cac9df216c52371c2e77e6e07ba1.asciidoc index 7f5bcdd06..4458d2c85 100644 --- a/docs/examples/6ce6cac9df216c52371c2e77e6e07ba1.asciidoc +++ b/docs/examples/6ce6cac9df216c52371c2e77e6e07ba1.asciidoc @@ -1,5 +1,5 @@ // This file is autogenerated, DO NOT EDIT -// query-rules/apis/put-query-ruleset.asciidoc:117 +// query-rules/apis/put-query-ruleset.asciidoc:123 [source, python] ---- diff --git a/docs/examples/6dd2a107bc64fd6f058fb17c21640649.asciidoc b/docs/examples/6dd2a107bc64fd6f058fb17c21640649.asciidoc index 4cf7cbec2..1ec99e3ef 100644 --- a/docs/examples/6dd2a107bc64fd6f058fb17c21640649.asciidoc +++ b/docs/examples/6dd2a107bc64fd6f058fb17c21640649.asciidoc @@ -1,5 +1,5 @@ // This file is autogenerated, DO NOT EDIT -// rest-api/security/invalidate-tokens.asciidoc:210 +// rest-api/security/invalidate-tokens.asciidoc:216 [source, python] ---- diff --git a/docs/examples/6dd4c02fe3d6b800648a04d3e2d29fc1.asciidoc b/docs/examples/6dd4c02fe3d6b800648a04d3e2d29fc1.asciidoc index 7682dc8ef..17a4a4a4c 100644 --- a/docs/examples/6dd4c02fe3d6b800648a04d3e2d29fc1.asciidoc +++ b/docs/examples/6dd4c02fe3d6b800648a04d3e2d29fc1.asciidoc @@ -1,5 +1,5 @@ // This file is autogenerated, DO NOT EDIT -// snapshot-restore/apis/delete-snapshot-api.asciidoc:72 +// snapshot-restore/apis/delete-snapshot-api.asciidoc:78 [source, python] ---- diff --git a/docs/examples/6ddd4e657efbf45def430a6419825796.asciidoc b/docs/examples/6ddd4e657efbf45def430a6419825796.asciidoc index f3e419d1f..1742c8750 100644 --- a/docs/examples/6ddd4e657efbf45def430a6419825796.asciidoc +++ b/docs/examples/6ddd4e657efbf45def430a6419825796.asciidoc @@ -1,5 +1,5 @@ // This file is autogenerated, DO NOT EDIT -// inference/service-azure-ai-studio.asciidoc:179 +// inference/service-azure-ai-studio.asciidoc:185 [source, python] ---- diff --git a/docs/examples/6e6b78e6b689a5d6aa637271b6d084e2.asciidoc b/docs/examples/6e6b78e6b689a5d6aa637271b6d084e2.asciidoc index a90ac37fb..f0612e3b4 100644 --- a/docs/examples/6e6b78e6b689a5d6aa637271b6d084e2.asciidoc +++ b/docs/examples/6e6b78e6b689a5d6aa637271b6d084e2.asciidoc @@ -1,5 +1,5 @@ // This file is autogenerated, DO NOT EDIT -// search/retriever.asciidoc:329 +// search/retriever.asciidoc:340 [source, python] ---- diff --git a/docs/examples/6f3b723bf6179b96c3413597ed7f49e1.asciidoc b/docs/examples/6f3b723bf6179b96c3413597ed7f49e1.asciidoc index 97ad37206..4ffc08b07 100644 --- a/docs/examples/6f3b723bf6179b96c3413597ed7f49e1.asciidoc +++ b/docs/examples/6f3b723bf6179b96c3413597ed7f49e1.asciidoc @@ -1,5 +1,5 @@ // This file is autogenerated, DO NOT EDIT -// rest-api/security/bulk-update-api-keys.asciidoc:296 +// rest-api/security/bulk-update-api-keys.asciidoc:302 [source, python] ---- diff --git a/docs/examples/6f48ab7cbb8a4a46d0e9272c07166eaf.asciidoc b/docs/examples/6f48ab7cbb8a4a46d0e9272c07166eaf.asciidoc index 9942c771f..ae2cff12d 100644 --- a/docs/examples/6f48ab7cbb8a4a46d0e9272c07166eaf.asciidoc +++ b/docs/examples/6f48ab7cbb8a4a46d0e9272c07166eaf.asciidoc @@ -1,5 +1,5 @@ // This file is autogenerated, DO NOT EDIT -// sql/apis/sql-translate-api.asciidoc:12 +// sql/apis/sql-translate-api.asciidoc:18 [source, python] ---- diff --git a/docs/examples/6f4cbebfd6d2cee54aa3e7a86a755ef8.asciidoc b/docs/examples/6f4cbebfd6d2cee54aa3e7a86a755ef8.asciidoc index b3acd844e..76430e37d 100644 --- a/docs/examples/6f4cbebfd6d2cee54aa3e7a86a755ef8.asciidoc +++ b/docs/examples/6f4cbebfd6d2cee54aa3e7a86a755ef8.asciidoc @@ -1,5 +1,5 @@ // This file is autogenerated, DO NOT EDIT -// query-dsl/knn-query.asciidoc:204 +// query-dsl/knn-query.asciidoc:210 [source, python] ---- diff --git a/docs/examples/6f855bc92b4cc6e6a63f95bce1cb4441.asciidoc b/docs/examples/6f855bc92b4cc6e6a63f95bce1cb4441.asciidoc index 139cdcd7b..7efd19751 100644 --- a/docs/examples/6f855bc92b4cc6e6a63f95bce1cb4441.asciidoc +++ b/docs/examples/6f855bc92b4cc6e6a63f95bce1cb4441.asciidoc @@ -1,5 +1,5 @@ // This file is autogenerated, DO NOT EDIT -// rest-api/logstash/get-pipeline.asciidoc:69 +// rest-api/logstash/get-pipeline.asciidoc:75 [source, python] ---- diff --git a/docs/examples/6fa570ae7039171e2ab722344ec1063f.asciidoc b/docs/examples/6fa570ae7039171e2ab722344ec1063f.asciidoc index 787c451f0..e71e7bd27 100644 --- a/docs/examples/6fa570ae7039171e2ab722344ec1063f.asciidoc +++ b/docs/examples/6fa570ae7039171e2ab722344ec1063f.asciidoc @@ -1,5 +1,5 @@ // This file is autogenerated, DO NOT EDIT -// indices/get-field-mapping.asciidoc:14 +// indices/get-field-mapping.asciidoc:20 [source, python] ---- diff --git a/docs/examples/6fc778e9a888b16b937c5c2a7a1ec140.asciidoc b/docs/examples/6fc778e9a888b16b937c5c2a7a1ec140.asciidoc index 3502d3a1a..509f9ce44 100644 --- a/docs/examples/6fc778e9a888b16b937c5c2a7a1ec140.asciidoc +++ b/docs/examples/6fc778e9a888b16b937c5c2a7a1ec140.asciidoc @@ -1,5 +1,5 @@ // This file is autogenerated, DO NOT EDIT -// searchable-snapshots/apis/clear-cache.asciidoc:69 +// searchable-snapshots/apis/clear-cache.asciidoc:75 [source, python] ---- diff --git a/docs/examples/6fe6c095c6995e0f2214f5f3bc85d74e.asciidoc b/docs/examples/6fe6c095c6995e0f2214f5f3bc85d74e.asciidoc index cba318af2..ea72bc7db 100644 --- a/docs/examples/6fe6c095c6995e0f2214f5f3bc85d74e.asciidoc +++ b/docs/examples/6fe6c095c6995e0f2214f5f3bc85d74e.asciidoc @@ -1,5 +1,5 @@ // This file is autogenerated, DO NOT EDIT -// data-streams/lifecycle/apis/delete-lifecycle.asciidoc:77 +// data-streams/lifecycle/apis/delete-lifecycle.asciidoc:83 [source, python] ---- diff --git a/docs/examples/701f1fffc65e9e51c96aa60261e2eae3.asciidoc b/docs/examples/701f1fffc65e9e51c96aa60261e2eae3.asciidoc index 46263db30..5505f8c93 100644 --- a/docs/examples/701f1fffc65e9e51c96aa60261e2eae3.asciidoc +++ b/docs/examples/701f1fffc65e9e51c96aa60261e2eae3.asciidoc @@ -1,5 +1,5 @@ // This file is autogenerated, DO NOT EDIT -// rest-api/security/update-cross-cluster-api-key.asciidoc:120 +// rest-api/security/update-cross-cluster-api-key.asciidoc:126 [source, python] ---- diff --git a/docs/examples/708e7ec681be41791f232817a07cda82.asciidoc b/docs/examples/708e7ec681be41791f232817a07cda82.asciidoc index 522239825..6fe563481 100644 --- a/docs/examples/708e7ec681be41791f232817a07cda82.asciidoc +++ b/docs/examples/708e7ec681be41791f232817a07cda82.asciidoc @@ -1,5 +1,5 @@ // This file is autogenerated, DO NOT EDIT -// snapshot-restore/apis/get-snapshot-api.asciidoc:532 +// snapshot-restore/apis/get-snapshot-api.asciidoc:538 [source, python] ---- diff --git a/docs/examples/70c736ecb3746dbe839af0e468712805.asciidoc b/docs/examples/70c736ecb3746dbe839af0e468712805.asciidoc index 88e06c678..f30a7d193 100644 --- a/docs/examples/70c736ecb3746dbe839af0e468712805.asciidoc +++ b/docs/examples/70c736ecb3746dbe839af0e468712805.asciidoc @@ -1,5 +1,5 @@ // This file is autogenerated, DO NOT EDIT -// transform/apis/delete-transform.asciidoc:53 +// transform/apis/delete-transform.asciidoc:59 [source, python] ---- diff --git a/docs/examples/70cc66bf4054ebf0ad4955cb99d9ab80.asciidoc b/docs/examples/70cc66bf4054ebf0ad4955cb99d9ab80.asciidoc index 6382cbc78..83f65cf1b 100644 --- a/docs/examples/70cc66bf4054ebf0ad4955cb99d9ab80.asciidoc +++ b/docs/examples/70cc66bf4054ebf0ad4955cb99d9ab80.asciidoc @@ -1,5 +1,5 @@ // This file is autogenerated, DO NOT EDIT -// ml/trained-models/apis/update-trained-model-deployment.asciidoc:74 +// ml/trained-models/apis/update-trained-model-deployment.asciidoc:80 [source, python] ---- diff --git a/docs/examples/7106e6317e6368b9863cf64df9c6f0c9.asciidoc b/docs/examples/7106e6317e6368b9863cf64df9c6f0c9.asciidoc index 6e7c9ce55..f24bc51be 100644 --- a/docs/examples/7106e6317e6368b9863cf64df9c6f0c9.asciidoc +++ b/docs/examples/7106e6317e6368b9863cf64df9c6f0c9.asciidoc @@ -1,5 +1,5 @@ // This file is autogenerated, DO NOT EDIT -// transform/apis/put-transform.asciidoc:378 +// transform/apis/put-transform.asciidoc:384 [source, python] ---- diff --git a/docs/examples/71c629c44bf3c542a0daacbfc253c4b0.asciidoc b/docs/examples/71c629c44bf3c542a0daacbfc253c4b0.asciidoc index 3238e48b8..aafa33337 100644 --- a/docs/examples/71c629c44bf3c542a0daacbfc253c4b0.asciidoc +++ b/docs/examples/71c629c44bf3c542a0daacbfc253c4b0.asciidoc @@ -1,5 +1,5 @@ // This file is autogenerated, DO NOT EDIT -// cluster/stats.asciidoc:1898 +// cluster/stats.asciidoc:1907 [source, python] ---- diff --git a/docs/examples/71fa652ddea811eb3c8bf8c5db21e549.asciidoc b/docs/examples/71fa652ddea811eb3c8bf8c5db21e549.asciidoc index 94f43f795..c0932dc5d 100644 --- a/docs/examples/71fa652ddea811eb3c8bf8c5db21e549.asciidoc +++ b/docs/examples/71fa652ddea811eb3c8bf8c5db21e549.asciidoc @@ -1,5 +1,5 @@ // This file is autogenerated, DO NOT EDIT -// indices/analyze.asciidoc:224 +// indices/analyze.asciidoc:230 [source, python] ---- diff --git a/docs/examples/72bae0252b74ff6fd9f0702ff008d84a.asciidoc b/docs/examples/72bae0252b74ff6fd9f0702ff008d84a.asciidoc index 733bae91a..676bf2d62 100644 --- a/docs/examples/72bae0252b74ff6fd9f0702ff008d84a.asciidoc +++ b/docs/examples/72bae0252b74ff6fd9f0702ff008d84a.asciidoc @@ -1,5 +1,5 @@ // This file is autogenerated, DO NOT EDIT -// snapshot-restore/apis/get-snapshot-api.asciidoc:664 +// snapshot-restore/apis/get-snapshot-api.asciidoc:670 [source, python] ---- diff --git a/docs/examples/72beebe779a258c225dee7b023e60c52.asciidoc b/docs/examples/72beebe779a258c225dee7b023e60c52.asciidoc index 4b0eeca27..1863afd2c 100644 --- a/docs/examples/72beebe779a258c225dee7b023e60c52.asciidoc +++ b/docs/examples/72beebe779a258c225dee7b023e60c52.asciidoc @@ -1,5 +1,5 @@ // This file is autogenerated, DO NOT EDIT -// search/point-in-time-api.asciidoc:146 +// search/point-in-time-api.asciidoc:152 [source, python] ---- diff --git a/docs/examples/73646c12ad33a813ab2280f1dc83500e.asciidoc b/docs/examples/73646c12ad33a813ab2280f1dc83500e.asciidoc index 3ca8489e1..61020a145 100644 --- a/docs/examples/73646c12ad33a813ab2280f1dc83500e.asciidoc +++ b/docs/examples/73646c12ad33a813ab2280f1dc83500e.asciidoc @@ -1,5 +1,5 @@ // This file is autogenerated, DO NOT EDIT -// ccr/apis/follow/put-follow.asciidoc:24 +// ccr/apis/follow/put-follow.asciidoc:30 [source, python] ---- diff --git a/docs/examples/73b07b24ab2c4cd304a57f9cbda8b863.asciidoc b/docs/examples/73b07b24ab2c4cd304a57f9cbda8b863.asciidoc index 6fe97c17f..c0a9ee6d8 100644 --- a/docs/examples/73b07b24ab2c4cd304a57f9cbda8b863.asciidoc +++ b/docs/examples/73b07b24ab2c4cd304a57f9cbda8b863.asciidoc @@ -1,5 +1,5 @@ // This file is autogenerated, DO NOT EDIT -// behavioral-analytics/apis/list-analytics-collection.asciidoc:60 +// behavioral-analytics/apis/list-analytics-collection.asciidoc:66 [source, python] ---- diff --git a/docs/examples/73d1a6c5ef90b7e35d43a0bfdc1e158d.asciidoc b/docs/examples/73d1a6c5ef90b7e35d43a0bfdc1e158d.asciidoc index adff218d6..41b4fc221 100644 --- a/docs/examples/73d1a6c5ef90b7e35d43a0bfdc1e158d.asciidoc +++ b/docs/examples/73d1a6c5ef90b7e35d43a0bfdc1e158d.asciidoc @@ -1,5 +1,5 @@ // This file is autogenerated, DO NOT EDIT -// rollup/apis/rollup-index-caps.asciidoc:88 +// rollup/apis/rollup-index-caps.asciidoc:94 [source, python] ---- diff --git a/docs/examples/73ebc89cb32adb389ae16bb088d7c7e6.asciidoc b/docs/examples/73ebc89cb32adb389ae16bb088d7c7e6.asciidoc index c2d14e6ec..524e6230b 100644 --- a/docs/examples/73ebc89cb32adb389ae16bb088d7c7e6.asciidoc +++ b/docs/examples/73ebc89cb32adb389ae16bb088d7c7e6.asciidoc @@ -1,5 +1,5 @@ // This file is autogenerated, DO NOT EDIT -// troubleshooting/common-issues/red-yellow-cluster-status.asciidoc:86 +// troubleshooting/common-issues/red-yellow-cluster-status.asciidoc:242 [source, python] ---- diff --git a/docs/examples/73fa0d6d03cd98ea538fff9e89d99eed.asciidoc b/docs/examples/73fa0d6d03cd98ea538fff9e89d99eed.asciidoc index 7a44e748a..1a87f8842 100644 --- a/docs/examples/73fa0d6d03cd98ea538fff9e89d99eed.asciidoc +++ b/docs/examples/73fa0d6d03cd98ea538fff9e89d99eed.asciidoc @@ -1,5 +1,5 @@ // This file is autogenerated, DO NOT EDIT -// rest-api/security/get-service-accounts.asciidoc:57 +// rest-api/security/get-service-accounts.asciidoc:63 [source, python] ---- diff --git a/docs/examples/741180473ba526219578ad0422f4fe81.asciidoc b/docs/examples/741180473ba526219578ad0422f4fe81.asciidoc index 328eb727d..462e68e4d 100644 --- a/docs/examples/741180473ba526219578ad0422f4fe81.asciidoc +++ b/docs/examples/741180473ba526219578ad0422f4fe81.asciidoc @@ -1,5 +1,5 @@ // This file is autogenerated, DO NOT EDIT -// connector/apis/update-connector-features-api.asciidoc:91 +// connector/apis/update-connector-features-api.asciidoc:97 [source, python] ---- diff --git a/docs/examples/7429b16221fe741fd31b0584786dd0b0.asciidoc b/docs/examples/7429b16221fe741fd31b0584786dd0b0.asciidoc index e9d165184..9e552ae3c 100644 --- a/docs/examples/7429b16221fe741fd31b0584786dd0b0.asciidoc +++ b/docs/examples/7429b16221fe741fd31b0584786dd0b0.asciidoc @@ -1,5 +1,5 @@ // This file is autogenerated, DO NOT EDIT -// inference/post-inference.asciidoc:243 +// inference/post-inference.asciidoc:249 [source, python] ---- diff --git a/docs/examples/7471e97aaaf21c3a200abdd89f15c3cc.asciidoc b/docs/examples/7471e97aaaf21c3a200abdd89f15c3cc.asciidoc index 471f96714..8db72beed 100644 --- a/docs/examples/7471e97aaaf21c3a200abdd89f15c3cc.asciidoc +++ b/docs/examples/7471e97aaaf21c3a200abdd89f15c3cc.asciidoc @@ -1,5 +1,5 @@ // This file is autogenerated, DO NOT EDIT -// query-dsl/intervals-query.asciidoc:383 +// query-dsl/intervals-query.asciidoc:393 [source, python] ---- diff --git a/docs/examples/74a80c28737a0648db0dfe7f049d12f2.asciidoc b/docs/examples/74a80c28737a0648db0dfe7f049d12f2.asciidoc index c94c2b279..604fd2449 100644 --- a/docs/examples/74a80c28737a0648db0dfe7f049d12f2.asciidoc +++ b/docs/examples/74a80c28737a0648db0dfe7f049d12f2.asciidoc @@ -1,5 +1,5 @@ // This file is autogenerated, DO NOT EDIT -// docs/get.asciidoc:272 +// docs/get.asciidoc:278 [source, python] ---- diff --git a/docs/examples/74b229a6e020113e5749099451979c89.asciidoc b/docs/examples/74b229a6e020113e5749099451979c89.asciidoc deleted file mode 100644 index d4560e688..000000000 --- a/docs/examples/74b229a6e020113e5749099451979c89.asciidoc +++ /dev/null @@ -1,26 +0,0 @@ -// This file is autogenerated, DO NOT EDIT -// query-dsl/semantic-query.asciidoc:172 - -[source, python] ----- -resp = client.search( - index="test-index", - query={ - "nested": { - "path": "inference_field.inference.chunks", - "query": { - "knn": { - "field": "inference_field.inference.chunks.embeddings", - "query_vector_builder": { - "text_embedding": { - "model_id": "my_inference_id", - "model_text": "mountain lake" - } - } - } - } - } - }, -) -print(resp) ----- diff --git a/docs/examples/74da377bccad43da2b0e276c086d26ba.asciidoc b/docs/examples/74da377bccad43da2b0e276c086d26ba.asciidoc index 731c683e3..7607134c9 100644 --- a/docs/examples/74da377bccad43da2b0e276c086d26ba.asciidoc +++ b/docs/examples/74da377bccad43da2b0e276c086d26ba.asciidoc @@ -1,5 +1,5 @@ // This file is autogenerated, DO NOT EDIT -// cluster/cluster-info.asciidoc:382 +// cluster/cluster-info.asciidoc:388 [source, python] ---- diff --git a/docs/examples/750ac969f9a05567f5cdf4f93d6244b6.asciidoc b/docs/examples/750ac969f9a05567f5cdf4f93d6244b6.asciidoc index ef5e71196..7e47cc7c7 100644 --- a/docs/examples/750ac969f9a05567f5cdf4f93d6244b6.asciidoc +++ b/docs/examples/750ac969f9a05567f5cdf4f93d6244b6.asciidoc @@ -1,5 +1,5 @@ // This file is autogenerated, DO NOT EDIT -// troubleshooting/common-issues/red-yellow-cluster-status.asciidoc:252 +// troubleshooting/common-issues/red-yellow-cluster-status.asciidoc:281 [source, python] ---- diff --git a/docs/examples/75957a7d1b67e3d47899c5f18b32cb61.asciidoc b/docs/examples/75957a7d1b67e3d47899c5f18b32cb61.asciidoc index c6b6cad6c..4befbcd95 100644 --- a/docs/examples/75957a7d1b67e3d47899c5f18b32cb61.asciidoc +++ b/docs/examples/75957a7d1b67e3d47899c5f18b32cb61.asciidoc @@ -1,5 +1,5 @@ // This file is autogenerated, DO NOT EDIT -// ml/anomaly-detection/apis/close-job.asciidoc:99 +// ml/anomaly-detection/apis/close-job.asciidoc:105 [source, python] ---- diff --git a/docs/examples/75aba7b1d3a22dce62f26b8b1e6bee58.asciidoc b/docs/examples/75aba7b1d3a22dce62f26b8b1e6bee58.asciidoc index d603f109b..30dd30499 100644 --- a/docs/examples/75aba7b1d3a22dce62f26b8b1e6bee58.asciidoc +++ b/docs/examples/75aba7b1d3a22dce62f26b8b1e6bee58.asciidoc @@ -1,5 +1,5 @@ // This file is autogenerated, DO NOT EDIT -// search/validate.asciidoc:167 +// search/validate.asciidoc:173 [source, python] ---- diff --git a/docs/examples/75e6d66e94e61bd8a555beaaee255c36.asciidoc b/docs/examples/75e6d66e94e61bd8a555beaaee255c36.asciidoc index b8e011dc5..f1e5b8201 100644 --- a/docs/examples/75e6d66e94e61bd8a555beaaee255c36.asciidoc +++ b/docs/examples/75e6d66e94e61bd8a555beaaee255c36.asciidoc @@ -1,5 +1,5 @@ // This file is autogenerated, DO NOT EDIT -// rollup/apis/rollup-search.asciidoc:170 +// rollup/apis/rollup-search.asciidoc:176 [source, python] ---- diff --git a/docs/examples/76bc87c2592864152768687c2963d1d1.asciidoc b/docs/examples/76bc87c2592864152768687c2963d1d1.asciidoc index 204b2d14b..f0da20a0f 100644 --- a/docs/examples/76bc87c2592864152768687c2963d1d1.asciidoc +++ b/docs/examples/76bc87c2592864152768687c2963d1d1.asciidoc @@ -1,5 +1,5 @@ // This file is autogenerated, DO NOT EDIT -// rest-api/security/update-api-key.asciidoc:148 +// rest-api/security/update-api-key.asciidoc:154 [source, python] ---- diff --git a/docs/examples/76c167d8ab305cb43b594f140c902dfe.asciidoc b/docs/examples/76c167d8ab305cb43b594f140c902dfe.asciidoc index 9a6d854d8..ffc545fa3 100644 --- a/docs/examples/76c167d8ab305cb43b594f140c902dfe.asciidoc +++ b/docs/examples/76c167d8ab305cb43b594f140c902dfe.asciidoc @@ -1,5 +1,5 @@ // This file is autogenerated, DO NOT EDIT -// indices/shrink-index.asciidoc:162 +// indices/shrink-index.asciidoc:168 [source, python] ---- diff --git a/docs/examples/76dbdd0b2bd48c3c6b1a8d81e23bafd6.asciidoc b/docs/examples/76dbdd0b2bd48c3c6b1a8d81e23bafd6.asciidoc index 88bbfb22e..954224106 100644 --- a/docs/examples/76dbdd0b2bd48c3c6b1a8d81e23bafd6.asciidoc +++ b/docs/examples/76dbdd0b2bd48c3c6b1a8d81e23bafd6.asciidoc @@ -1,5 +1,5 @@ // This file is autogenerated, DO NOT EDIT -// indices/analyze.asciidoc:143 +// indices/analyze.asciidoc:149 [source, python] ---- diff --git a/docs/examples/76e02434835630cb830724beb92df354.asciidoc b/docs/examples/76e02434835630cb830724beb92df354.asciidoc index 2c71bd2fc..886da7d4d 100644 --- a/docs/examples/76e02434835630cb830724beb92df354.asciidoc +++ b/docs/examples/76e02434835630cb830724beb92df354.asciidoc @@ -1,5 +1,5 @@ // This file is autogenerated, DO NOT EDIT -// search/search-your-data/retrievers-examples.asciidoc:1170 +// search/search-your-data/retrievers-examples.asciidoc:1183 [source, python] ---- diff --git a/docs/examples/7709a48020a6cefbbe547fb944541cdb.asciidoc b/docs/examples/7709a48020a6cefbbe547fb944541cdb.asciidoc index a7512d2e8..00ea6fa58 100644 --- a/docs/examples/7709a48020a6cefbbe547fb944541cdb.asciidoc +++ b/docs/examples/7709a48020a6cefbbe547fb944541cdb.asciidoc @@ -1,5 +1,5 @@ // This file is autogenerated, DO NOT EDIT -// mapping/types/dense-vector.asciidoc:420 +// mapping/types/dense-vector.asciidoc:421 [source, python] ---- diff --git a/docs/examples/77447e2966708e92f5e219d43ac3f00d.asciidoc b/docs/examples/77447e2966708e92f5e219d43ac3f00d.asciidoc index 10b268ae4..075cb366a 100644 --- a/docs/examples/77447e2966708e92f5e219d43ac3f00d.asciidoc +++ b/docs/examples/77447e2966708e92f5e219d43ac3f00d.asciidoc @@ -1,5 +1,5 @@ // This file is autogenerated, DO NOT EDIT -// cluster/tasks.asciidoc:226 +// cluster/tasks.asciidoc:232 [source, python] ---- diff --git a/docs/examples/774bfde8793dc4927f7cad2dd91c5b5f.asciidoc b/docs/examples/774bfde8793dc4927f7cad2dd91c5b5f.asciidoc index 40889a7d3..980ce422b 100644 --- a/docs/examples/774bfde8793dc4927f7cad2dd91c5b5f.asciidoc +++ b/docs/examples/774bfde8793dc4927f7cad2dd91c5b5f.asciidoc @@ -1,5 +1,5 @@ // This file is autogenerated, DO NOT EDIT -// search/multi-search-template-api.asciidoc:38 +// search/multi-search-template-api.asciidoc:44 [source, python] ---- diff --git a/docs/examples/77518e8c6198acfe77c0934fd2fe65cb.asciidoc b/docs/examples/77518e8c6198acfe77c0934fd2fe65cb.asciidoc index fca5406ce..f62ff2428 100644 --- a/docs/examples/77518e8c6198acfe77c0934fd2fe65cb.asciidoc +++ b/docs/examples/77518e8c6198acfe77c0934fd2fe65cb.asciidoc @@ -1,5 +1,5 @@ // This file is autogenerated, DO NOT EDIT -// text-structure/apis/find-message-structure.asciidoc:87 +// text-structure/apis/find-message-structure.asciidoc:93 [source, python] ---- diff --git a/docs/examples/7752b677825523bfb0c38ad9325a6d47.asciidoc b/docs/examples/7752b677825523bfb0c38ad9325a6d47.asciidoc index 75baf555d..1fb038498 100644 --- a/docs/examples/7752b677825523bfb0c38ad9325a6d47.asciidoc +++ b/docs/examples/7752b677825523bfb0c38ad9325a6d47.asciidoc @@ -1,5 +1,5 @@ // This file is autogenerated, DO NOT EDIT -// connector/apis/delete-connector-api.asciidoc:70 +// connector/apis/delete-connector-api.asciidoc:79 [source, python] ---- diff --git a/docs/examples/776b553df0e507c96dbdbaedecaca0cc.asciidoc b/docs/examples/776b553df0e507c96dbdbaedecaca0cc.asciidoc index 95f751ddd..e6f55debc 100644 --- a/docs/examples/776b553df0e507c96dbdbaedecaca0cc.asciidoc +++ b/docs/examples/776b553df0e507c96dbdbaedecaca0cc.asciidoc @@ -1,5 +1,5 @@ // This file is autogenerated, DO NOT EDIT -// ml/trained-models/apis/infer-trained-model.asciidoc:981 +// ml/trained-models/apis/infer-trained-model.asciidoc:987 [source, python] ---- diff --git a/docs/examples/7781b13b0ffff6026d10c4e3ab4a3a51.asciidoc b/docs/examples/7781b13b0ffff6026d10c4e3ab4a3a51.asciidoc index ed9f75c24..fdb30e0d9 100644 --- a/docs/examples/7781b13b0ffff6026d10c4e3ab4a3a51.asciidoc +++ b/docs/examples/7781b13b0ffff6026d10c4e3ab4a3a51.asciidoc @@ -1,5 +1,5 @@ // This file is autogenerated, DO NOT EDIT -// behavioral-analytics/apis/put-analytics-collection.asciidoc:49 +// behavioral-analytics/apis/put-analytics-collection.asciidoc:55 [source, python] ---- diff --git a/docs/examples/77b90f6787195767b6da60d8532714b4.asciidoc b/docs/examples/77b90f6787195767b6da60d8532714b4.asciidoc index 8e749b938..62e3132f7 100644 --- a/docs/examples/77b90f6787195767b6da60d8532714b4.asciidoc +++ b/docs/examples/77b90f6787195767b6da60d8532714b4.asciidoc @@ -1,5 +1,5 @@ // This file is autogenerated, DO NOT EDIT -// inference/service-azure-openai.asciidoc:141 +// inference/service-azure-openai.asciidoc:147 [source, python] ---- diff --git a/docs/examples/77c099c97ea6911e2dd6e996da7dcca0.asciidoc b/docs/examples/77c099c97ea6911e2dd6e996da7dcca0.asciidoc index 5536af5cf..c68675eb1 100644 --- a/docs/examples/77c099c97ea6911e2dd6e996da7dcca0.asciidoc +++ b/docs/examples/77c099c97ea6911e2dd6e996da7dcca0.asciidoc @@ -1,5 +1,5 @@ // This file is autogenerated, DO NOT EDIT -// cluster/nodes-hot-threads.asciidoc:72 +// cluster/nodes-hot-threads.asciidoc:78 [source, python] ---- diff --git a/docs/examples/77c50f982906718ecc59aa708aed728f.asciidoc b/docs/examples/77c50f982906718ecc59aa708aed728f.asciidoc index 498e9f892..e36b4be9a 100644 --- a/docs/examples/77c50f982906718ecc59aa708aed728f.asciidoc +++ b/docs/examples/77c50f982906718ecc59aa708aed728f.asciidoc @@ -1,5 +1,5 @@ // This file is autogenerated, DO NOT EDIT -// scripting/using.asciidoc:294 +// scripting/using.asciidoc:299 [source, python] ---- diff --git a/docs/examples/77ca1a3193f75651e0bf9e8fe5227a04.asciidoc b/docs/examples/77ca1a3193f75651e0bf9e8fe5227a04.asciidoc index 3800f0b25..53ab5fcec 100644 --- a/docs/examples/77ca1a3193f75651e0bf9e8fe5227a04.asciidoc +++ b/docs/examples/77ca1a3193f75651e0bf9e8fe5227a04.asciidoc @@ -1,5 +1,5 @@ // This file is autogenerated, DO NOT EDIT -// ml/anomaly-detection/apis/get-job-model-snapshot-upgrade-stats.asciidoc:121 +// ml/anomaly-detection/apis/get-job-model-snapshot-upgrade-stats.asciidoc:127 [source, python] ---- diff --git a/docs/examples/9d47f02a063444da9f098858a1830d28.asciidoc b/docs/examples/77cebba946fe648873a1e7375c13df41.asciidoc similarity index 60% rename from docs/examples/9d47f02a063444da9f098858a1830d28.asciidoc rename to docs/examples/77cebba946fe648873a1e7375c13df41.asciidoc index 88fc79960..85c688fad 100644 --- a/docs/examples/9d47f02a063444da9f098858a1830d28.asciidoc +++ b/docs/examples/77cebba946fe648873a1e7375c13df41.asciidoc @@ -1,11 +1,12 @@ // This file is autogenerated, DO NOT EDIT -// troubleshooting/common-issues/red-yellow-cluster-status.asciidoc:214 +// troubleshooting/common-issues/red-yellow-cluster-status.asciidoc:215 [source, python] ---- resp = client.cluster.put_settings( persistent={ - "cluster.routing.allocation.disk.watermark.low": "30gb" + "cluster.routing.allocation.disk.watermark.low": "90%", + "cluster.routing.allocation.disk.watermark.high": "95%" }, ) print(resp) diff --git a/docs/examples/77e3dcd87d2b2c8e6ec842462b02df1f.asciidoc b/docs/examples/77e3dcd87d2b2c8e6ec842462b02df1f.asciidoc index 80b434a2f..3459e379e 100644 --- a/docs/examples/77e3dcd87d2b2c8e6ec842462b02df1f.asciidoc +++ b/docs/examples/77e3dcd87d2b2c8e6ec842462b02df1f.asciidoc @@ -1,5 +1,5 @@ // This file is autogenerated, DO NOT EDIT -// indices/clone-index.asciidoc:10 +// indices/clone-index.asciidoc:16 [source, python] ---- diff --git a/docs/examples/78043831fd32004a82930c8ac8a1d809.asciidoc b/docs/examples/78043831fd32004a82930c8ac8a1d809.asciidoc index 19444af65..f2b32c69a 100644 --- a/docs/examples/78043831fd32004a82930c8ac8a1d809.asciidoc +++ b/docs/examples/78043831fd32004a82930c8ac8a1d809.asciidoc @@ -1,5 +1,5 @@ // This file is autogenerated, DO NOT EDIT -// search/search-your-data/retrievers-examples.asciidoc:1115 +// search/search-your-data/retrievers-examples.asciidoc:1128 [source, python] ---- diff --git a/docs/examples/78176cd6f570e1534bb40b19e6e900b6.asciidoc b/docs/examples/78176cd6f570e1534bb40b19e6e900b6.asciidoc index 62ff4fba8..2fd9fd572 100644 --- a/docs/examples/78176cd6f570e1534bb40b19e6e900b6.asciidoc +++ b/docs/examples/78176cd6f570e1534bb40b19e6e900b6.asciidoc @@ -1,5 +1,5 @@ // This file is autogenerated, DO NOT EDIT -// cat/alias.asciidoc:87 +// cat/alias.asciidoc:93 [source, python] ---- diff --git a/docs/examples/78c4035e4fbf6851140660f6ed2a1fa5.asciidoc b/docs/examples/78c4035e4fbf6851140660f6ed2a1fa5.asciidoc index b980e41a9..130322ecc 100644 --- a/docs/examples/78c4035e4fbf6851140660f6ed2a1fa5.asciidoc +++ b/docs/examples/78c4035e4fbf6851140660f6ed2a1fa5.asciidoc @@ -1,5 +1,5 @@ // This file is autogenerated, DO NOT EDIT -// indices/stats.asciidoc:115 +// indices/stats.asciidoc:121 [source, python] ---- diff --git a/docs/examples/78c96113ae4ed0054e581b17542528a7.asciidoc b/docs/examples/78c96113ae4ed0054e581b17542528a7.asciidoc index d7e332f84..65574f3f8 100644 --- a/docs/examples/78c96113ae4ed0054e581b17542528a7.asciidoc +++ b/docs/examples/78c96113ae4ed0054e581b17542528a7.asciidoc @@ -1,5 +1,5 @@ // This file is autogenerated, DO NOT EDIT -// docs/reindex.asciidoc:403 +// docs/reindex.asciidoc:409 [source, python] ---- diff --git a/docs/examples/790684b45bef2bb848ea932f0fd0cfbd.asciidoc b/docs/examples/790684b45bef2bb848ea932f0fd0cfbd.asciidoc new file mode 100644 index 000000000..1ab1bd218 --- /dev/null +++ b/docs/examples/790684b45bef2bb848ea932f0fd0cfbd.asciidoc @@ -0,0 +1,35 @@ +// This file is autogenerated, DO NOT EDIT +// query-dsl/intervals-query.asciidoc:539 + +[source, python] +---- +resp = client.search( + query={ + "intervals": { + "my_text": { + "all_of": { + "ordered": False, + "max_gaps": 1, + "intervals": [ + { + "match": { + "query": "my favorite food", + "max_gaps": 0, + "ordered": True + } + }, + { + "match": { + "query": "cold porridge", + "max_gaps": 4, + "ordered": True + } + } + ] + } + } + } + }, +) +print(resp) +---- diff --git a/docs/examples/79d206a528be704050a437adce2496dd.asciidoc b/docs/examples/79d206a528be704050a437adce2496dd.asciidoc index e0bc6e242..25b3aae32 100644 --- a/docs/examples/79d206a528be704050a437adce2496dd.asciidoc +++ b/docs/examples/79d206a528be704050a437adce2496dd.asciidoc @@ -1,5 +1,5 @@ // This file is autogenerated, DO NOT EDIT -// search/retriever.asciidoc:457 +// search/retriever.asciidoc:584 [source, python] ---- diff --git a/docs/examples/79f33e05b203eb46eef7958fbc95ef77.asciidoc b/docs/examples/79f33e05b203eb46eef7958fbc95ef77.asciidoc index 01da4fc57..8ddda044a 100644 --- a/docs/examples/79f33e05b203eb46eef7958fbc95ef77.asciidoc +++ b/docs/examples/79f33e05b203eb46eef7958fbc95ef77.asciidoc @@ -1,5 +1,5 @@ // This file is autogenerated, DO NOT EDIT -// ccr/apis/auto-follow/get-auto-follow-pattern.asciidoc:87 +// ccr/apis/auto-follow/get-auto-follow-pattern.asciidoc:93 [source, python] ---- diff --git a/docs/examples/7a0c633a67244e9703344d036e584d95.asciidoc b/docs/examples/7a0c633a67244e9703344d036e584d95.asciidoc index db177d476..d7325bc54 100644 --- a/docs/examples/7a0c633a67244e9703344d036e584d95.asciidoc +++ b/docs/examples/7a0c633a67244e9703344d036e584d95.asciidoc @@ -1,5 +1,5 @@ // This file is autogenerated, DO NOT EDIT -// rest-api/security/enable-user-profile.asciidoc:54 +// rest-api/security/enable-user-profile.asciidoc:60 [source, python] ---- diff --git a/docs/examples/7a23a385a63c87cab58fd494870450fd.asciidoc b/docs/examples/7a23a385a63c87cab58fd494870450fd.asciidoc index c38503fb5..4116be624 100644 --- a/docs/examples/7a23a385a63c87cab58fd494870450fd.asciidoc +++ b/docs/examples/7a23a385a63c87cab58fd494870450fd.asciidoc @@ -1,5 +1,5 @@ // This file is autogenerated, DO NOT EDIT -// rest-api/security/create-role-mappings.asciidoc:175 +// rest-api/security/create-role-mappings.asciidoc:181 [source, python] ---- diff --git a/docs/examples/7a2fdfd7b0553d63440af7598f9ad867.asciidoc b/docs/examples/7a2fdfd7b0553d63440af7598f9ad867.asciidoc index f434960c2..b6a6cc46d 100644 --- a/docs/examples/7a2fdfd7b0553d63440af7598f9ad867.asciidoc +++ b/docs/examples/7a2fdfd7b0553d63440af7598f9ad867.asciidoc @@ -1,5 +1,5 @@ // This file is autogenerated, DO NOT EDIT -// mapping/types/semantic-text.asciidoc:62 +// mapping/types/semantic-text.asciidoc:63 [source, python] ---- diff --git a/docs/examples/7a3a7fbd81e5050b42e8c1eca26c7c1d.asciidoc b/docs/examples/7a3a7fbd81e5050b42e8c1eca26c7c1d.asciidoc index a1990bd3f..60b088761 100644 --- a/docs/examples/7a3a7fbd81e5050b42e8c1eca26c7c1d.asciidoc +++ b/docs/examples/7a3a7fbd81e5050b42e8c1eca26c7c1d.asciidoc @@ -1,5 +1,5 @@ // This file is autogenerated, DO NOT EDIT -// search/async-search.asciidoc:334 +// search/async-search.asciidoc:340 [source, python] ---- diff --git a/docs/examples/7a8de5606f283f4ef171b015eef6befa.asciidoc b/docs/examples/7a8de5606f283f4ef171b015eef6befa.asciidoc index 3c62552a4..f35c65c58 100644 --- a/docs/examples/7a8de5606f283f4ef171b015eef6befa.asciidoc +++ b/docs/examples/7a8de5606f283f4ef171b015eef6befa.asciidoc @@ -1,5 +1,5 @@ // This file is autogenerated, DO NOT EDIT -// indices/stats.asciidoc:143 +// indices/stats.asciidoc:149 [source, python] ---- diff --git a/docs/examples/7ae434b3667c589a8e70fe560f4ee3f9.asciidoc b/docs/examples/7ae434b3667c589a8e70fe560f4ee3f9.asciidoc index 782dd3688..a094945d5 100644 --- a/docs/examples/7ae434b3667c589a8e70fe560f4ee3f9.asciidoc +++ b/docs/examples/7ae434b3667c589a8e70fe560f4ee3f9.asciidoc @@ -1,5 +1,5 @@ // This file is autogenerated, DO NOT EDIT -// docs/update-by-query.asciidoc:12 +// docs/update-by-query.asciidoc:18 [source, python] ---- diff --git a/docs/examples/7b5c231526846f2f7b98d78f3656ae6a.asciidoc b/docs/examples/7b5c231526846f2f7b98d78f3656ae6a.asciidoc index 66cd93a86..62de86215 100644 --- a/docs/examples/7b5c231526846f2f7b98d78f3656ae6a.asciidoc +++ b/docs/examples/7b5c231526846f2f7b98d78f3656ae6a.asciidoc @@ -1,5 +1,5 @@ // This file is autogenerated, DO NOT EDIT -// docs/update.asciidoc:362 +// docs/update.asciidoc:368 [source, python] ---- diff --git a/docs/examples/7b864d61767ab283cfd5f9b9ba784b1f.asciidoc b/docs/examples/7b864d61767ab283cfd5f9b9ba784b1f.asciidoc index 510099f4a..fbda20ffb 100644 --- a/docs/examples/7b864d61767ab283cfd5f9b9ba784b1f.asciidoc +++ b/docs/examples/7b864d61767ab283cfd5f9b9ba784b1f.asciidoc @@ -1,5 +1,5 @@ // This file is autogenerated, DO NOT EDIT -// rest-api/security/get-api-keys.asciidoc:201 +// rest-api/security/get-api-keys.asciidoc:207 [source, python] ---- diff --git a/docs/examples/7ba29f0be2297b54a640b0a17d7ef5ca.asciidoc b/docs/examples/7ba29f0be2297b54a640b0a17d7ef5ca.asciidoc index 8dbfa5565..1ed294e9c 100644 --- a/docs/examples/7ba29f0be2297b54a640b0a17d7ef5ca.asciidoc +++ b/docs/examples/7ba29f0be2297b54a640b0a17d7ef5ca.asciidoc @@ -1,5 +1,5 @@ // This file is autogenerated, DO NOT EDIT -// ingest/apis/delete-ip-location-database.asciidoc:10 +// ingest/apis/delete-ip-location-database.asciidoc:16 [source, python] ---- diff --git a/docs/examples/93c77c65f1e11382f8043d0300e87b89.asciidoc b/docs/examples/7bdc283b96c7a965fae23013647b8578.asciidoc similarity index 91% rename from docs/examples/93c77c65f1e11382f8043d0300e87b89.asciidoc rename to docs/examples/7bdc283b96c7a965fae23013647b8578.asciidoc index 244c8ef90..b71f4fa2e 100644 --- a/docs/examples/93c77c65f1e11382f8043d0300e87b89.asciidoc +++ b/docs/examples/7bdc283b96c7a965fae23013647b8578.asciidoc @@ -1,5 +1,5 @@ // This file is autogenerated, DO NOT EDIT -// mapping/types/semantic-text.asciidoc:198 +// mapping/types/semantic-text.asciidoc:194 [source, python] ---- @@ -7,13 +7,13 @@ resp = client.indices.create( index="test-index", mappings={ "properties": { - "infer_field": { - "type": "semantic_text", - "inference_id": ".elser-2-elasticsearch" - }, "source_field": { "type": "text", "copy_to": "infer_field" + }, + "infer_field": { + "type": "semantic_text", + "inference_id": ".elser-2-elasticsearch" } } }, diff --git a/docs/examples/7cd23457e220c8b64c5b0041d2acc27a.asciidoc b/docs/examples/7cd23457e220c8b64c5b0041d2acc27a.asciidoc index 6685a274c..261211313 100644 --- a/docs/examples/7cd23457e220c8b64c5b0041d2acc27a.asciidoc +++ b/docs/examples/7cd23457e220c8b64c5b0041d2acc27a.asciidoc @@ -1,5 +1,5 @@ // This file is autogenerated, DO NOT EDIT -// setup/advanced-configuration.asciidoc:124 +// setup/advanced-configuration.asciidoc:123 [source, python] ---- diff --git a/docs/examples/7cd3d8388c51a9f6ee3f730cdaddbb89.asciidoc b/docs/examples/7cd3d8388c51a9f6ee3f730cdaddbb89.asciidoc index 0bbe1f915..d872da8bc 100644 --- a/docs/examples/7cd3d8388c51a9f6ee3f730cdaddbb89.asciidoc +++ b/docs/examples/7cd3d8388c51a9f6ee3f730cdaddbb89.asciidoc @@ -1,5 +1,5 @@ // This file is autogenerated, DO NOT EDIT -// indices/update-settings.asciidoc:91 +// indices/update-settings.asciidoc:97 [source, python] ---- diff --git a/docs/examples/7d880157a95f64ad339225d4af71c2de.asciidoc b/docs/examples/7d880157a95f64ad339225d4af71c2de.asciidoc index da85d0ee3..ad48c8c12 100644 --- a/docs/examples/7d880157a95f64ad339225d4af71c2de.asciidoc +++ b/docs/examples/7d880157a95f64ad339225d4af71c2de.asciidoc @@ -1,5 +1,5 @@ // This file is autogenerated, DO NOT EDIT -// rest-api/security/suggest-user-profile.asciidoc:99 +// rest-api/security/suggest-user-profile.asciidoc:105 [source, python] ---- diff --git a/docs/examples/7dabae9b37d2cbd724f2a069be9e753b.asciidoc b/docs/examples/7dabae9b37d2cbd724f2a069be9e753b.asciidoc index 0c8ed226f..46f020739 100644 --- a/docs/examples/7dabae9b37d2cbd724f2a069be9e753b.asciidoc +++ b/docs/examples/7dabae9b37d2cbd724f2a069be9e753b.asciidoc @@ -1,5 +1,5 @@ // This file is autogenerated, DO NOT EDIT -// ml/anomaly-detection/apis/reset-job.asciidoc:73 +// ml/anomaly-detection/apis/reset-job.asciidoc:79 [source, python] ---- diff --git a/docs/examples/7daff6b7e668ab8a762b8ab5dff7a167.asciidoc b/docs/examples/7daff6b7e668ab8a762b8ab5dff7a167.asciidoc index 70e4049e8..9b796b318 100644 --- a/docs/examples/7daff6b7e668ab8a762b8ab5dff7a167.asciidoc +++ b/docs/examples/7daff6b7e668ab8a762b8ab5dff7a167.asciidoc @@ -1,5 +1,5 @@ // This file is autogenerated, DO NOT EDIT -// query-dsl/sparse-vector-query.asciidoc:255 +// query-dsl/sparse-vector-query.asciidoc:257 [source, python] ---- diff --git a/docs/examples/7df191cc7f814e410a4ac7261065e6ef.asciidoc b/docs/examples/7df191cc7f814e410a4ac7261065e6ef.asciidoc index 6550ab9e4..9bc5dcb34 100644 --- a/docs/examples/7df191cc7f814e410a4ac7261065e6ef.asciidoc +++ b/docs/examples/7df191cc7f814e410a4ac7261065e6ef.asciidoc @@ -1,5 +1,5 @@ // This file is autogenerated, DO NOT EDIT -// docs/update-by-query.asciidoc:468 +// docs/update-by-query.asciidoc:474 [source, python] ---- diff --git a/docs/examples/7e126e2751311db60cfcbb22c9c41caa.asciidoc b/docs/examples/7e126e2751311db60cfcbb22c9c41caa.asciidoc index 3a10e81ef..9a2fe5082 100644 --- a/docs/examples/7e126e2751311db60cfcbb22c9c41caa.asciidoc +++ b/docs/examples/7e126e2751311db60cfcbb22c9c41caa.asciidoc @@ -1,5 +1,5 @@ // This file is autogenerated, DO NOT EDIT -// cat/shards.asciidoc:386 +// cat/shards.asciidoc:395 [source, python] ---- diff --git a/docs/examples/7e484b8b41f9dbc2bcf1f340db197c1d.asciidoc b/docs/examples/7e484b8b41f9dbc2bcf1f340db197c1d.asciidoc index acbcbaafd..f75c537ad 100644 --- a/docs/examples/7e484b8b41f9dbc2bcf1f340db197c1d.asciidoc +++ b/docs/examples/7e484b8b41f9dbc2bcf1f340db197c1d.asciidoc @@ -1,5 +1,5 @@ // This file is autogenerated, DO NOT EDIT -// docs/reindex.asciidoc:25 +// docs/reindex.asciidoc:31 [source, python] ---- diff --git a/docs/examples/7e4cb3de3e3c75646b60f9f81ddc59cc.asciidoc b/docs/examples/7e4cb3de3e3c75646b60f9f81ddc59cc.asciidoc index f14130819..2d67112d4 100644 --- a/docs/examples/7e4cb3de3e3c75646b60f9f81ddc59cc.asciidoc +++ b/docs/examples/7e4cb3de3e3c75646b60f9f81ddc59cc.asciidoc @@ -1,5 +1,5 @@ // This file is autogenerated, DO NOT EDIT -// ml/trained-models/apis/clear-trained-model-deployment-cache.asciidoc:43 +// ml/trained-models/apis/clear-trained-model-deployment-cache.asciidoc:49 [source, python] ---- diff --git a/docs/examples/7e5faa551f2c95ffd627da352563d450.asciidoc b/docs/examples/7e5faa551f2c95ffd627da352563d450.asciidoc index 00324ab22..bb9c725f8 100644 --- a/docs/examples/7e5faa551f2c95ffd627da352563d450.asciidoc +++ b/docs/examples/7e5faa551f2c95ffd627da352563d450.asciidoc @@ -1,5 +1,5 @@ // This file is autogenerated, DO NOT EDIT -// rest-api/security/create-role-mappings.asciidoc:269 +// rest-api/security/create-role-mappings.asciidoc:275 [source, python] ---- diff --git a/docs/examples/7e74d1a54e816e8f40cfdaa01b070788.asciidoc b/docs/examples/7e74d1a54e816e8f40cfdaa01b070788.asciidoc index fccbcf662..a2911efe7 100644 --- a/docs/examples/7e74d1a54e816e8f40cfdaa01b070788.asciidoc +++ b/docs/examples/7e74d1a54e816e8f40cfdaa01b070788.asciidoc @@ -1,5 +1,5 @@ // This file is autogenerated, DO NOT EDIT -// search/rrf.asciidoc:244 +// search/rrf.asciidoc:250 [source, python] ---- diff --git a/docs/examples/7e77509ab646276ff78f58bb38bec8dd.asciidoc b/docs/examples/7e77509ab646276ff78f58bb38bec8dd.asciidoc index 9424c3552..03278ad8b 100644 --- a/docs/examples/7e77509ab646276ff78f58bb38bec8dd.asciidoc +++ b/docs/examples/7e77509ab646276ff78f58bb38bec8dd.asciidoc @@ -1,5 +1,5 @@ // This file is autogenerated, DO NOT EDIT -// query-rules/apis/delete-query-ruleset.asciidoc:69 +// query-rules/apis/delete-query-ruleset.asciidoc:75 [source, python] ---- diff --git a/docs/examples/7ebeb6cf26be5b5ecdfd408bd0fc3215.asciidoc b/docs/examples/7ebeb6cf26be5b5ecdfd408bd0fc3215.asciidoc index 52fc6bcb5..cd921232c 100644 --- a/docs/examples/7ebeb6cf26be5b5ecdfd408bd0fc3215.asciidoc +++ b/docs/examples/7ebeb6cf26be5b5ecdfd408bd0fc3215.asciidoc @@ -1,5 +1,5 @@ // This file is autogenerated, DO NOT EDIT -// search/profile.asciidoc:1243 +// search/profile.asciidoc:1248 [source, python] ---- diff --git a/docs/examples/7ebfb30b3ece855c1b783d9210939469.asciidoc b/docs/examples/7ebfb30b3ece855c1b783d9210939469.asciidoc index 3b4263e19..c3f26825d 100644 --- a/docs/examples/7ebfb30b3ece855c1b783d9210939469.asciidoc +++ b/docs/examples/7ebfb30b3ece855c1b783d9210939469.asciidoc @@ -1,5 +1,5 @@ // This file is autogenerated, DO NOT EDIT -// ml/anomaly-detection/apis/flush-job.asciidoc:102 +// ml/anomaly-detection/apis/flush-job.asciidoc:108 [source, python] ---- diff --git a/docs/examples/7f37031fb40b68a61255b7c71d7eed0b.asciidoc b/docs/examples/7f37031fb40b68a61255b7c71d7eed0b.asciidoc index 1bd88d1ea..451938e0c 100644 --- a/docs/examples/7f37031fb40b68a61255b7c71d7eed0b.asciidoc +++ b/docs/examples/7f37031fb40b68a61255b7c71d7eed0b.asciidoc @@ -1,5 +1,5 @@ // This file is autogenerated, DO NOT EDIT -// rest-api/watcher/execute-watch.asciidoc:299 +// rest-api/watcher/execute-watch.asciidoc:305 [source, python] ---- diff --git a/docs/examples/7f56755fb6c42f7e6203339a6d0cb6e6.asciidoc b/docs/examples/7f56755fb6c42f7e6203339a6d0cb6e6.asciidoc index 08132ba5d..18e25a546 100644 --- a/docs/examples/7f56755fb6c42f7e6203339a6d0cb6e6.asciidoc +++ b/docs/examples/7f56755fb6c42f7e6203339a6d0cb6e6.asciidoc @@ -1,5 +1,5 @@ // This file is autogenerated, DO NOT EDIT -// query-dsl/match-query.asciidoc:279 +// query-dsl/match-query.asciidoc:283 [source, python] ---- diff --git a/docs/examples/7fb921376cbf66bf9f381bcdd62030ba.asciidoc b/docs/examples/7fb921376cbf66bf9f381bcdd62030ba.asciidoc index 9dd99bfbb..73cd9c68f 100644 --- a/docs/examples/7fb921376cbf66bf9f381bcdd62030ba.asciidoc +++ b/docs/examples/7fb921376cbf66bf9f381bcdd62030ba.asciidoc @@ -1,5 +1,5 @@ // This file is autogenerated, DO NOT EDIT -// scripting/apis/get-script-contexts-api.asciidoc:10 +// scripting/apis/get-script-contexts-api.asciidoc:16 [source, python] ---- diff --git a/docs/examples/7fd5883564d183603e60b37d286ac7e2.asciidoc b/docs/examples/7fd5883564d183603e60b37d286ac7e2.asciidoc index 924cb88d3..552dcecb9 100644 --- a/docs/examples/7fd5883564d183603e60b37d286ac7e2.asciidoc +++ b/docs/examples/7fd5883564d183603e60b37d286ac7e2.asciidoc @@ -1,5 +1,5 @@ // This file is autogenerated, DO NOT EDIT -// ml/anomaly-detection/apis/delete-expired-data.asciidoc:64 +// ml/anomaly-detection/apis/delete-expired-data.asciidoc:70 [source, python] ---- diff --git a/docs/examples/800861c15bb33ca01a46fb97dde7537a.asciidoc b/docs/examples/800861c15bb33ca01a46fb97dde7537a.asciidoc index 95fda5362..08a7b3942 100644 --- a/docs/examples/800861c15bb33ca01a46fb97dde7537a.asciidoc +++ b/docs/examples/800861c15bb33ca01a46fb97dde7537a.asciidoc @@ -1,5 +1,5 @@ // This file is autogenerated, DO NOT EDIT -// ml/anomaly-detection/apis/get-filter.asciidoc:66 +// ml/anomaly-detection/apis/get-filter.asciidoc:72 [source, python] ---- diff --git a/docs/examples/8051766cadded0892290bc2cc06e145c.asciidoc b/docs/examples/8051766cadded0892290bc2cc06e145c.asciidoc index 289db73ae..dea7d94c0 100644 --- a/docs/examples/8051766cadded0892290bc2cc06e145c.asciidoc +++ b/docs/examples/8051766cadded0892290bc2cc06e145c.asciidoc @@ -1,5 +1,5 @@ // This file is autogenerated, DO NOT EDIT -// rest-api/watcher/ack-watch.asciidoc:245 +// rest-api/watcher/ack-watch.asciidoc:251 [source, python] ---- diff --git a/docs/examples/808f4db1e2361be77dd6816c1f818139.asciidoc b/docs/examples/808f4db1e2361be77dd6816c1f818139.asciidoc index da86a9850..675a184bc 100644 --- a/docs/examples/808f4db1e2361be77dd6816c1f818139.asciidoc +++ b/docs/examples/808f4db1e2361be77dd6816c1f818139.asciidoc @@ -1,5 +1,5 @@ // This file is autogenerated, DO NOT EDIT -// indices/shard-stores.asciidoc:13 +// indices/shard-stores.asciidoc:19 [source, python] ---- diff --git a/docs/examples/80dd7f5882c59b9c1c90e8351937441f.asciidoc b/docs/examples/80dd7f5882c59b9c1c90e8351937441f.asciidoc index 00fbed0a4..702838d56 100644 --- a/docs/examples/80dd7f5882c59b9c1c90e8351937441f.asciidoc +++ b/docs/examples/80dd7f5882c59b9c1c90e8351937441f.asciidoc @@ -1,5 +1,5 @@ // This file is autogenerated, DO NOT EDIT -// rest-api/security/bulk-update-api-keys.asciidoc:176 +// rest-api/security/bulk-update-api-keys.asciidoc:182 [source, python] ---- diff --git a/docs/examples/80edd2124a822d9f9bf22ecc49d2c2e9.asciidoc b/docs/examples/80edd2124a822d9f9bf22ecc49d2c2e9.asciidoc index b9d0a1b4f..12c0a097e 100644 --- a/docs/examples/80edd2124a822d9f9bf22ecc49d2c2e9.asciidoc +++ b/docs/examples/80edd2124a822d9f9bf22ecc49d2c2e9.asciidoc @@ -1,5 +1,5 @@ // This file is autogenerated, DO NOT EDIT -// synonyms/apis/get-synonym-rule.asciidoc:67 +// synonyms/apis/get-synonym-rule.asciidoc:72 [source, python] ---- diff --git a/docs/examples/8141b60ad245ece2ff5e8d0817400ee5.asciidoc b/docs/examples/8141b60ad245ece2ff5e8d0817400ee5.asciidoc index 1184d3f7f..b86225d86 100644 --- a/docs/examples/8141b60ad245ece2ff5e8d0817400ee5.asciidoc +++ b/docs/examples/8141b60ad245ece2ff5e8d0817400ee5.asciidoc @@ -1,5 +1,5 @@ // This file is autogenerated, DO NOT EDIT -// eql/eql-search-api.asciidoc:631 +// eql/eql-search-api.asciidoc:684 [source, python] ---- diff --git a/docs/examples/8141cdaddbe7d794f09f9ee84e46194c.asciidoc b/docs/examples/8141cdaddbe7d794f09f9ee84e46194c.asciidoc index 3a3c00fb9..13fd6a661 100644 --- a/docs/examples/8141cdaddbe7d794f09f9ee84e46194c.asciidoc +++ b/docs/examples/8141cdaddbe7d794f09f9ee84e46194c.asciidoc @@ -1,5 +1,5 @@ // This file is autogenerated, DO NOT EDIT -// cat/count.asciidoc:67 +// cat/count.asciidoc:73 [source, python] ---- diff --git a/docs/examples/81612c2537386e031b7eb604f6756a71.asciidoc b/docs/examples/81612c2537386e031b7eb604f6756a71.asciidoc index 3f3cf6154..18f8a3bc8 100644 --- a/docs/examples/81612c2537386e031b7eb604f6756a71.asciidoc +++ b/docs/examples/81612c2537386e031b7eb604f6756a71.asciidoc @@ -1,5 +1,5 @@ // This file is autogenerated, DO NOT EDIT -// indices/clone-index.asciidoc:117 +// indices/clone-index.asciidoc:123 [source, python] ---- diff --git a/docs/examples/81aad155ff23b1b396833b1182c9d46b.asciidoc b/docs/examples/81aad155ff23b1b396833b1182c9d46b.asciidoc index 99962351b..eb41e3131 100644 --- a/docs/examples/81aad155ff23b1b396833b1182c9d46b.asciidoc +++ b/docs/examples/81aad155ff23b1b396833b1182c9d46b.asciidoc @@ -1,5 +1,5 @@ // This file is autogenerated, DO NOT EDIT -// troubleshooting/common-issues/disk-usage-exceeded.asciidoc:31 +// troubleshooting/common-issues/disk-usage-exceeded.asciidoc:35 [source, python] ---- diff --git a/docs/examples/821422f8a03dc98d024a15fc737fe9eb.asciidoc b/docs/examples/821422f8a03dc98d024a15fc737fe9eb.asciidoc index c6a34d582..c6c064054 100644 --- a/docs/examples/821422f8a03dc98d024a15fc737fe9eb.asciidoc +++ b/docs/examples/821422f8a03dc98d024a15fc737fe9eb.asciidoc @@ -1,5 +1,5 @@ // This file is autogenerated, DO NOT EDIT -// ml/trained-models/apis/delete-trained-models-aliases.asciidoc:51 +// ml/trained-models/apis/delete-trained-models-aliases.asciidoc:57 [source, python] ---- diff --git a/docs/examples/824fded1f9db28906ae7e85ae8de9bd0.asciidoc b/docs/examples/824fded1f9db28906ae7e85ae8de9bd0.asciidoc index 8492ee835..70cd4540b 100644 --- a/docs/examples/824fded1f9db28906ae7e85ae8de9bd0.asciidoc +++ b/docs/examples/824fded1f9db28906ae7e85ae8de9bd0.asciidoc @@ -1,5 +1,5 @@ // This file is autogenerated, DO NOT EDIT -// ccr/apis/follow/post-resume-follow.asciidoc:84 +// ccr/apis/follow/post-resume-follow.asciidoc:90 [source, python] ---- diff --git a/docs/examples/827b7e9308ea288f18aea00a5accc38e.asciidoc b/docs/examples/827b7e9308ea288f18aea00a5accc38e.asciidoc index cc91ffc4d..fb48fb59b 100644 --- a/docs/examples/827b7e9308ea288f18aea00a5accc38e.asciidoc +++ b/docs/examples/827b7e9308ea288f18aea00a5accc38e.asciidoc @@ -1,5 +1,5 @@ // This file is autogenerated, DO NOT EDIT -// indices/get-component-template.asciidoc:40 +// indices/get-component-template.asciidoc:46 [source, python] ---- diff --git a/docs/examples/82844ef45e11c0eece100d3109db3182.asciidoc b/docs/examples/82844ef45e11c0eece100d3109db3182.asciidoc index 8886c646e..b601d54d0 100644 --- a/docs/examples/82844ef45e11c0eece100d3109db3182.asciidoc +++ b/docs/examples/82844ef45e11c0eece100d3109db3182.asciidoc @@ -1,5 +1,5 @@ // This file is autogenerated, DO NOT EDIT -// inference/service-amazon-bedrock.asciidoc:174 +// inference/service-amazon-bedrock.asciidoc:180 [source, python] ---- diff --git a/docs/examples/828f0045747fde4888a947bb99e190e3.asciidoc b/docs/examples/828f0045747fde4888a947bb99e190e3.asciidoc index 6275b5a6e..5e62a1545 100644 --- a/docs/examples/828f0045747fde4888a947bb99e190e3.asciidoc +++ b/docs/examples/828f0045747fde4888a947bb99e190e3.asciidoc @@ -1,5 +1,5 @@ // This file is autogenerated, DO NOT EDIT -// search/retriever.asciidoc:665 +// search/retriever.asciidoc:792 [source, python] ---- diff --git a/docs/examples/82bb6c61dab959f4446dc5ecab7ecbdf.asciidoc b/docs/examples/82bb6c61dab959f4446dc5ecab7ecbdf.asciidoc new file mode 100644 index 000000000..f5e9f0231 --- /dev/null +++ b/docs/examples/82bb6c61dab959f4446dc5ecab7ecbdf.asciidoc @@ -0,0 +1,35 @@ +// This file is autogenerated, DO NOT EDIT +// inference/chat-completion-inference.asciidoc:318 + +[source, python] +---- +resp = client.perform_request( + "POST", + "/_inference/chat_completion/openai-completion/_stream", + headers={"Content-Type": "application/json"}, + body={ + "messages": [ + { + "role": "assistant", + "content": "Let's find out what the weather is", + "tool_calls": [ + { + "id": "call_KcAjWtAww20AihPHphUh46Gd", + "type": "function", + "function": { + "name": "get_current_weather", + "arguments": "{\"location\":\"Boston, MA\"}" + } + } + ] + }, + { + "role": "tool", + "content": "The weather is cold", + "tool_call_id": "call_KcAjWtAww20AihPHphUh46Gd" + } + ] + }, +) +print(resp) +---- diff --git a/docs/examples/82d6de3081de7b0664f44adf2942675a.asciidoc b/docs/examples/82d6de3081de7b0664f44adf2942675a.asciidoc index 74c43c0f7..b14f9ce36 100644 --- a/docs/examples/82d6de3081de7b0664f44adf2942675a.asciidoc +++ b/docs/examples/82d6de3081de7b0664f44adf2942675a.asciidoc @@ -1,5 +1,5 @@ // This file is autogenerated, DO NOT EDIT -// behavioral-analytics/apis/list-analytics-collection.asciidoc:85 +// behavioral-analytics/apis/list-analytics-collection.asciidoc:91 [source, python] ---- diff --git a/docs/examples/8330b2ea6317769e52d0647ba434b354.asciidoc b/docs/examples/8330b2ea6317769e52d0647ba434b354.asciidoc index 6ee95743d..08a669440 100644 --- a/docs/examples/8330b2ea6317769e52d0647ba434b354.asciidoc +++ b/docs/examples/8330b2ea6317769e52d0647ba434b354.asciidoc @@ -1,5 +1,5 @@ // This file is autogenerated, DO NOT EDIT -// docs/multi-get.asciidoc:262 +// docs/multi-get.asciidoc:268 [source, python] ---- diff --git a/docs/examples/838a4eabebba4c06100fb37dc30c7722.asciidoc b/docs/examples/838a4eabebba4c06100fb37dc30c7722.asciidoc index 07d36ca6b..4c2576b1a 100644 --- a/docs/examples/838a4eabebba4c06100fb37dc30c7722.asciidoc +++ b/docs/examples/838a4eabebba4c06100fb37dc30c7722.asciidoc @@ -1,5 +1,5 @@ // This file is autogenerated, DO NOT EDIT -// rollup/apis/rollup-search.asciidoc:78 +// rollup/apis/rollup-search.asciidoc:84 [source, python] ---- diff --git a/docs/examples/839710129a165cf93c6e329abedf9089.asciidoc b/docs/examples/839710129a165cf93c6e329abedf9089.asciidoc index 393e65035..9bb354833 100644 --- a/docs/examples/839710129a165cf93c6e329abedf9089.asciidoc +++ b/docs/examples/839710129a165cf93c6e329abedf9089.asciidoc @@ -1,5 +1,5 @@ // This file is autogenerated, DO NOT EDIT -// rest-api/security/update-cross-cluster-api-key.asciidoc:83 +// rest-api/security/update-cross-cluster-api-key.asciidoc:89 [source, python] ---- diff --git a/docs/examples/839a4b2930856790e34cc9dfeb983284.asciidoc b/docs/examples/839a4b2930856790e34cc9dfeb983284.asciidoc index bbb931afe..0e13d90e2 100644 --- a/docs/examples/839a4b2930856790e34cc9dfeb983284.asciidoc +++ b/docs/examples/839a4b2930856790e34cc9dfeb983284.asciidoc @@ -1,5 +1,5 @@ // This file is autogenerated, DO NOT EDIT -// data-streams/downsampling.asciidoc:90 +// data-streams/downsampling.asciidoc:129 [source, python] ---- diff --git a/docs/examples/83b94f9e7b3a9abca8e165ea56927714.asciidoc b/docs/examples/83b94f9e7b3a9abca8e165ea56927714.asciidoc index 30cf5041e..b17d0c5b2 100644 --- a/docs/examples/83b94f9e7b3a9abca8e165ea56927714.asciidoc +++ b/docs/examples/83b94f9e7b3a9abca8e165ea56927714.asciidoc @@ -1,5 +1,5 @@ // This file is autogenerated, DO NOT EDIT -// indices/rollover-index.asciidoc:380 +// indices/rollover-index.asciidoc:386 [source, python] ---- diff --git a/docs/examples/841d8b766902c8e3ae85c228a31383ac.asciidoc b/docs/examples/841d8b766902c8e3ae85c228a31383ac.asciidoc index 17e5ecf63..89b2d222d 100644 --- a/docs/examples/841d8b766902c8e3ae85c228a31383ac.asciidoc +++ b/docs/examples/841d8b766902c8e3ae85c228a31383ac.asciidoc @@ -1,5 +1,5 @@ // This file is autogenerated, DO NOT EDIT -// sql/apis/get-async-sql-search-status-api.asciidoc:12 +// sql/apis/get-async-sql-search-status-api.asciidoc:18 [source, python] ---- diff --git a/docs/examples/84237aa9da49ab4b4c4e2b21d2548df2.asciidoc b/docs/examples/84237aa9da49ab4b4c4e2b21d2548df2.asciidoc index ca3a5b11e..a181069b1 100644 --- a/docs/examples/84237aa9da49ab4b4c4e2b21d2548df2.asciidoc +++ b/docs/examples/84237aa9da49ab4b4c4e2b21d2548df2.asciidoc @@ -1,5 +1,5 @@ // This file is autogenerated, DO NOT EDIT -// snapshot-restore/apis/verify-repo-integrity-api.asciidoc:25 +// snapshot-restore/apis/verify-repo-integrity-api.asciidoc:31 [source, python] ---- diff --git a/docs/examples/84c61160ca815e29e9973ba1380219dd.asciidoc b/docs/examples/84c61160ca815e29e9973ba1380219dd.asciidoc index 64f0af253..99b6078e2 100644 --- a/docs/examples/84c61160ca815e29e9973ba1380219dd.asciidoc +++ b/docs/examples/84c61160ca815e29e9973ba1380219dd.asciidoc @@ -1,5 +1,5 @@ // This file is autogenerated, DO NOT EDIT -// searchable-snapshots/apis/shard-stats.asciidoc:73 +// searchable-snapshots/apis/shard-stats.asciidoc:79 [source, python] ---- diff --git a/docs/examples/84c69fb07050f0e89720007a6507a221.asciidoc b/docs/examples/84c69fb07050f0e89720007a6507a221.asciidoc index e89a8c84b..0a74815fc 100644 --- a/docs/examples/84c69fb07050f0e89720007a6507a221.asciidoc +++ b/docs/examples/84c69fb07050f0e89720007a6507a221.asciidoc @@ -1,5 +1,5 @@ // This file is autogenerated, DO NOT EDIT -// troubleshooting/common-issues/high-cpu-usage.asciidoc:114 +// troubleshooting/common-issues/high-cpu-usage.asciidoc:118 [source, python] ---- diff --git a/docs/examples/853fc710cea79fb4e1a85fb6d149f9c5.asciidoc b/docs/examples/853fc710cea79fb4e1a85fb6d149f9c5.asciidoc index 2b815964c..e41858318 100644 --- a/docs/examples/853fc710cea79fb4e1a85fb6d149f9c5.asciidoc +++ b/docs/examples/853fc710cea79fb4e1a85fb6d149f9c5.asciidoc @@ -1,5 +1,5 @@ // This file is autogenerated, DO NOT EDIT -// search/retriever.asciidoc:704 +// search/retriever.asciidoc:831 [source, python] ---- diff --git a/docs/examples/8582e918a6275472d2eba2e95f1dbe77.asciidoc b/docs/examples/8582e918a6275472d2eba2e95f1dbe77.asciidoc index 1f744bb67..5f0baae9a 100644 --- a/docs/examples/8582e918a6275472d2eba2e95f1dbe77.asciidoc +++ b/docs/examples/8582e918a6275472d2eba2e95f1dbe77.asciidoc @@ -1,5 +1,5 @@ // This file is autogenerated, DO NOT EDIT -// troubleshooting/common-issues/disk-usage-exceeded.asciidoc:61 +// troubleshooting/common-issues/disk-usage-exceeded.asciidoc:65 [source, python] ---- diff --git a/docs/examples/85e2719d9fd6d2c2d47d28d39f2e3f7e.asciidoc b/docs/examples/85e2719d9fd6d2c2d47d28d39f2e3f7e.asciidoc index 385a7529e..3aab09fac 100644 --- a/docs/examples/85e2719d9fd6d2c2d47d28d39f2e3f7e.asciidoc +++ b/docs/examples/85e2719d9fd6d2c2d47d28d39f2e3f7e.asciidoc @@ -1,5 +1,5 @@ // This file is autogenerated, DO NOT EDIT -// migration/apis/feature-migration.asciidoc:47 +// migration/apis/feature-migration.asciidoc:53 [source, python] ---- diff --git a/docs/examples/85f2839beeb71edb66988e5c82188be0.asciidoc b/docs/examples/85f2839beeb71edb66988e5c82188be0.asciidoc index 09bc916c5..c42c597e7 100644 --- a/docs/examples/85f2839beeb71edb66988e5c82188be0.asciidoc +++ b/docs/examples/85f2839beeb71edb66988e5c82188be0.asciidoc @@ -1,5 +1,5 @@ // This file is autogenerated, DO NOT EDIT -// licensing/update-license.asciidoc:63 +// licensing/update-license.asciidoc:69 [source, python] ---- diff --git a/docs/examples/85f9fc6f98e8573efed9b034e853d5ae.asciidoc b/docs/examples/85f9fc6f98e8573efed9b034e853d5ae.asciidoc index 3754b854c..107825f54 100644 --- a/docs/examples/85f9fc6f98e8573efed9b034e853d5ae.asciidoc +++ b/docs/examples/85f9fc6f98e8573efed9b034e853d5ae.asciidoc @@ -1,5 +1,5 @@ // This file is autogenerated, DO NOT EDIT -// inference/service-elasticsearch.asciidoc:280 +// inference/service-elasticsearch.asciidoc:289 [source, python] ---- diff --git a/docs/examples/8619bd17bbfe33490b1f277007f654db.asciidoc b/docs/examples/8619bd17bbfe33490b1f277007f654db.asciidoc index 03d8b42f7..d48245664 100644 --- a/docs/examples/8619bd17bbfe33490b1f277007f654db.asciidoc +++ b/docs/examples/8619bd17bbfe33490b1f277007f654db.asciidoc @@ -1,5 +1,5 @@ // This file is autogenerated, DO NOT EDIT -// inference/service-cohere.asciidoc:208 +// inference/service-cohere.asciidoc:214 [source, python] ---- diff --git a/docs/examples/861f5f61409dc87f3671293b87839ff7.asciidoc b/docs/examples/861f5f61409dc87f3671293b87839ff7.asciidoc index 23dd310c0..5993138ca 100644 --- a/docs/examples/861f5f61409dc87f3671293b87839ff7.asciidoc +++ b/docs/examples/861f5f61409dc87f3671293b87839ff7.asciidoc @@ -1,5 +1,5 @@ // This file is autogenerated, DO NOT EDIT -// cluster/stats.asciidoc:1533 +// cluster/stats.asciidoc:1542 [source, python] ---- diff --git a/docs/examples/86280dcb49aa89083be4b2644daf1b7c.asciidoc b/docs/examples/86280dcb49aa89083be4b2644daf1b7c.asciidoc index 17ed48338..871123f58 100644 --- a/docs/examples/86280dcb49aa89083be4b2644daf1b7c.asciidoc +++ b/docs/examples/86280dcb49aa89083be4b2644daf1b7c.asciidoc @@ -1,5 +1,5 @@ // This file is autogenerated, DO NOT EDIT -// ml/anomaly-detection/apis/get-job.asciidoc:234 +// ml/anomaly-detection/apis/get-job.asciidoc:240 [source, python] ---- diff --git a/docs/examples/8684589e31d96ab229e8c4feb4d704bb.asciidoc b/docs/examples/8684589e31d96ab229e8c4feb4d704bb.asciidoc index 56b0b8967..cac6bcbf9 100644 --- a/docs/examples/8684589e31d96ab229e8c4feb4d704bb.asciidoc +++ b/docs/examples/8684589e31d96ab229e8c4feb4d704bb.asciidoc @@ -1,5 +1,5 @@ // This file is autogenerated, DO NOT EDIT -// ingest/apis/enrich/get-enrich-policy.asciidoc:124 +// ingest/apis/enrich/get-enrich-policy.asciidoc:130 [source, python] ---- diff --git a/docs/examples/8699d35269a47ba867fa8cc766287413.asciidoc b/docs/examples/8699d35269a47ba867fa8cc766287413.asciidoc index 6606c3b1f..5ad7fc06e 100644 --- a/docs/examples/8699d35269a47ba867fa8cc766287413.asciidoc +++ b/docs/examples/8699d35269a47ba867fa8cc766287413.asciidoc @@ -1,5 +1,5 @@ // This file is autogenerated, DO NOT EDIT -// licensing/start-basic.asciidoc:42 +// licensing/start-basic.asciidoc:48 [source, python] ---- diff --git a/docs/examples/8739fad1fb2323950b673acf0c9f2ff5.asciidoc b/docs/examples/8739fad1fb2323950b673acf0c9f2ff5.asciidoc index 2a0845659..bc5186e11 100644 --- a/docs/examples/8739fad1fb2323950b673acf0c9f2ff5.asciidoc +++ b/docs/examples/8739fad1fb2323950b673acf0c9f2ff5.asciidoc @@ -1,5 +1,5 @@ // This file is autogenerated, DO NOT EDIT -// indices/open-close.asciidoc:120 +// indices/open-close.asciidoc:126 [source, python] ---- diff --git a/docs/examples/87416e6a1ca2da324dbed6deb05303eb.asciidoc b/docs/examples/87416e6a1ca2da324dbed6deb05303eb.asciidoc index 98b216fe6..3a6004b3e 100644 --- a/docs/examples/87416e6a1ca2da324dbed6deb05303eb.asciidoc +++ b/docs/examples/87416e6a1ca2da324dbed6deb05303eb.asciidoc @@ -1,5 +1,5 @@ // This file is autogenerated, DO NOT EDIT -// search/count.asciidoc:105 +// search/count.asciidoc:112 [source, python] ---- diff --git a/docs/examples/87469f8b7e9b965408479d276c3ce8aa.asciidoc b/docs/examples/87469f8b7e9b965408479d276c3ce8aa.asciidoc index fcd5ca517..7d6a699e2 100644 --- a/docs/examples/87469f8b7e9b965408479d276c3ce8aa.asciidoc +++ b/docs/examples/87469f8b7e9b965408479d276c3ce8aa.asciidoc @@ -1,5 +1,5 @@ // This file is autogenerated, DO NOT EDIT -// behavioral-analytics/apis/list-analytics-collection.asciidoc:105 +// behavioral-analytics/apis/list-analytics-collection.asciidoc:111 [source, python] ---- diff --git a/docs/examples/87733deeea4b441b595d19a0f97346f0.asciidoc b/docs/examples/87733deeea4b441b595d19a0f97346f0.asciidoc index 1f2c7ceaa..58f99b552 100644 --- a/docs/examples/87733deeea4b441b595d19a0f97346f0.asciidoc +++ b/docs/examples/87733deeea4b441b595d19a0f97346f0.asciidoc @@ -1,5 +1,5 @@ // This file is autogenerated, DO NOT EDIT -// health/health.asciidoc:473 +// health/health.asciidoc:479 [source, python] ---- diff --git a/docs/examples/87b0b496747ad6c1e4ab4b462128fa1c.asciidoc b/docs/examples/87b0b496747ad6c1e4ab4b462128fa1c.asciidoc index 15aa7398b..39ef07bad 100644 --- a/docs/examples/87b0b496747ad6c1e4ab4b462128fa1c.asciidoc +++ b/docs/examples/87b0b496747ad6c1e4ab4b462128fa1c.asciidoc @@ -1,5 +1,5 @@ // This file is autogenerated, DO NOT EDIT -// cat/nodeattrs.asciidoc:113 +// cat/nodeattrs.asciidoc:119 [source, python] ---- diff --git a/docs/examples/87c3e9963400a3e4b296ef8d1c86fae3.asciidoc b/docs/examples/87c3e9963400a3e4b296ef8d1c86fae3.asciidoc index 326753968..c582bf9a0 100644 --- a/docs/examples/87c3e9963400a3e4b296ef8d1c86fae3.asciidoc +++ b/docs/examples/87c3e9963400a3e4b296ef8d1c86fae3.asciidoc @@ -1,5 +1,5 @@ // This file is autogenerated, DO NOT EDIT -// rest-api/security/clear-roles-cache.asciidoc:49 +// rest-api/security/clear-roles-cache.asciidoc:55 [source, python] ---- diff --git a/docs/examples/87c42ef733a50954e4d757fc0a08decc.asciidoc b/docs/examples/87c42ef733a50954e4d757fc0a08decc.asciidoc index 699f6f86e..a696167e8 100644 --- a/docs/examples/87c42ef733a50954e4d757fc0a08decc.asciidoc +++ b/docs/examples/87c42ef733a50954e4d757fc0a08decc.asciidoc @@ -1,5 +1,5 @@ // This file is autogenerated, DO NOT EDIT -// rest-api/security/get-api-keys.asciidoc:255 +// rest-api/security/get-api-keys.asciidoc:261 [source, python] ---- diff --git a/docs/examples/88554b79dba8fd79991855a692b69ff9.asciidoc b/docs/examples/88554b79dba8fd79991855a692b69ff9.asciidoc index c96cce159..5b9b18135 100644 --- a/docs/examples/88554b79dba8fd79991855a692b69ff9.asciidoc +++ b/docs/examples/88554b79dba8fd79991855a692b69ff9.asciidoc @@ -1,5 +1,5 @@ // This file is autogenerated, DO NOT EDIT -// graph/explore.asciidoc:309 +// graph/explore.asciidoc:315 [source, python] ---- diff --git a/docs/examples/88cecae3f0363fc186d955dd8616b5d4.asciidoc b/docs/examples/88cecae3f0363fc186d955dd8616b5d4.asciidoc index 8910550de..293270942 100644 --- a/docs/examples/88cecae3f0363fc186d955dd8616b5d4.asciidoc +++ b/docs/examples/88cecae3f0363fc186d955dd8616b5d4.asciidoc @@ -1,5 +1,5 @@ // This file is autogenerated, DO NOT EDIT -// eql/get-async-eql-status-api.asciidoc:83 +// eql/get-async-eql-status-api.asciidoc:90 [source, python] ---- diff --git a/docs/examples/88cf60d3310a56d8ae12704abc05b565.asciidoc b/docs/examples/88cf60d3310a56d8ae12704abc05b565.asciidoc index ce84bd692..e2a7fb005 100644 --- a/docs/examples/88cf60d3310a56d8ae12704abc05b565.asciidoc +++ b/docs/examples/88cf60d3310a56d8ae12704abc05b565.asciidoc @@ -1,5 +1,5 @@ // This file is autogenerated, DO NOT EDIT -// licensing/get-trial-status.asciidoc:40 +// licensing/get-trial-status.asciidoc:46 [source, python] ---- diff --git a/docs/examples/89b72dd7f747f6297c2b089e8bc807be.asciidoc b/docs/examples/89b72dd7f747f6297c2b089e8bc807be.asciidoc index 4b43638cc..e5818f9d3 100644 --- a/docs/examples/89b72dd7f747f6297c2b089e8bc807be.asciidoc +++ b/docs/examples/89b72dd7f747f6297c2b089e8bc807be.asciidoc @@ -1,5 +1,5 @@ // This file is autogenerated, DO NOT EDIT -// snapshot-restore/apis/put-repo-api.asciidoc:10 +// snapshot-restore/apis/put-repo-api.asciidoc:16 [source, python] ---- diff --git a/docs/examples/89d2a3748dc14c6d5d4c6f94b9b03938.asciidoc b/docs/examples/89d2a3748dc14c6d5d4c6f94b9b03938.asciidoc index 53f24fc7b..fe773300a 100644 --- a/docs/examples/89d2a3748dc14c6d5d4c6f94b9b03938.asciidoc +++ b/docs/examples/89d2a3748dc14c6d5d4c6f94b9b03938.asciidoc @@ -1,5 +1,5 @@ // This file is autogenerated, DO NOT EDIT -// indices/split-index.asciidoc:44 +// indices/split-index.asciidoc:50 [source, python] ---- diff --git a/docs/examples/89f8eac24f3ec6a7668d580aaf0eeefa.asciidoc b/docs/examples/89f8eac24f3ec6a7668d580aaf0eeefa.asciidoc index d608db517..ae121d5b9 100644 --- a/docs/examples/89f8eac24f3ec6a7668d580aaf0eeefa.asciidoc +++ b/docs/examples/89f8eac24f3ec6a7668d580aaf0eeefa.asciidoc @@ -1,5 +1,5 @@ // This file is autogenerated, DO NOT EDIT -// indices/analyze.asciidoc:286 +// indices/analyze.asciidoc:292 [source, python] ---- diff --git a/docs/examples/8a12cd824404d74f098d854716a26899.asciidoc b/docs/examples/8a12cd824404d74f098d854716a26899.asciidoc index b8edf1b62..a97fdd91e 100644 --- a/docs/examples/8a12cd824404d74f098d854716a26899.asciidoc +++ b/docs/examples/8a12cd824404d74f098d854716a26899.asciidoc @@ -1,5 +1,5 @@ // This file is autogenerated, DO NOT EDIT -// ml/anomaly-detection/apis/delete-datafeed.asciidoc:43 +// ml/anomaly-detection/apis/delete-datafeed.asciidoc:49 [source, python] ---- diff --git a/docs/examples/8a1f6cffa653800282c0ae160ee375bc.asciidoc b/docs/examples/8a1f6cffa653800282c0ae160ee375bc.asciidoc index e9aae2f90..5c195ab8f 100644 --- a/docs/examples/8a1f6cffa653800282c0ae160ee375bc.asciidoc +++ b/docs/examples/8a1f6cffa653800282c0ae160ee375bc.asciidoc @@ -1,5 +1,5 @@ // This file is autogenerated, DO NOT EDIT -// docs/update.asciidoc:155 +// docs/update.asciidoc:161 [source, python] ---- diff --git a/docs/examples/8aa17bd25a3f2d634e5253b4b72fec4c.asciidoc b/docs/examples/8aa17bd25a3f2d634e5253b4b72fec4c.asciidoc index d6e4a61fb..750d1778b 100644 --- a/docs/examples/8aa17bd25a3f2d634e5253b4b72fec4c.asciidoc +++ b/docs/examples/8aa17bd25a3f2d634e5253b4b72fec4c.asciidoc @@ -1,5 +1,5 @@ // This file is autogenerated, DO NOT EDIT -// ml/df-analytics/apis/explain-dfanalytics.asciidoc:120 +// ml/df-analytics/apis/explain-dfanalytics.asciidoc:126 [source, python] ---- diff --git a/docs/examples/8b144b3eb20872595fd7cbc6c245c7c8.asciidoc b/docs/examples/8b144b3eb20872595fd7cbc6c245c7c8.asciidoc index fcb54f662..8573b7472 100644 --- a/docs/examples/8b144b3eb20872595fd7cbc6c245c7c8.asciidoc +++ b/docs/examples/8b144b3eb20872595fd7cbc6c245c7c8.asciidoc @@ -1,5 +1,5 @@ // This file is autogenerated, DO NOT EDIT -// rest-api/security/query-role.asciidoc:127 +// rest-api/security/query-role.asciidoc:133 [source, python] ---- diff --git a/docs/examples/8b301122cbf42be6eafeda714a36559e.asciidoc b/docs/examples/8b301122cbf42be6eafeda714a36559e.asciidoc index 5d3c43e24..f1161a356 100644 --- a/docs/examples/8b301122cbf42be6eafeda714a36559e.asciidoc +++ b/docs/examples/8b301122cbf42be6eafeda714a36559e.asciidoc @@ -1,5 +1,5 @@ // This file is autogenerated, DO NOT EDIT -// rest-api/logstash/put-pipeline.asciidoc:74 +// rest-api/logstash/put-pipeline.asciidoc:80 [source, python] ---- diff --git a/docs/examples/8b3a94495127efd9d56b2cd7f3eecdca.asciidoc b/docs/examples/8b3a94495127efd9d56b2cd7f3eecdca.asciidoc index 2d6c0a251..8e1b601bc 100644 --- a/docs/examples/8b3a94495127efd9d56b2cd7f3eecdca.asciidoc +++ b/docs/examples/8b3a94495127efd9d56b2cd7f3eecdca.asciidoc @@ -1,5 +1,5 @@ // This file is autogenerated, DO NOT EDIT -// rest-api/security/get-role-mappings.asciidoc:64 +// rest-api/security/get-role-mappings.asciidoc:70 [source, python] ---- diff --git a/docs/examples/8bf1e7a6d529547906ba8b1d6501fa0c.asciidoc b/docs/examples/8bf1e7a6d529547906ba8b1d6501fa0c.asciidoc index 1c44b7e5c..0770bb31a 100644 --- a/docs/examples/8bf1e7a6d529547906ba8b1d6501fa0c.asciidoc +++ b/docs/examples/8bf1e7a6d529547906ba8b1d6501fa0c.asciidoc @@ -1,5 +1,5 @@ // This file is autogenerated, DO NOT EDIT -// connector/apis/set-connector-sync-job-error-api.asciidoc:57 +// connector/apis/set-connector-sync-job-error-api.asciidoc:63 [source, python] ---- diff --git a/docs/examples/8c5d48252cd6d1ee26a2bb817f89c78e.asciidoc b/docs/examples/8c5d48252cd6d1ee26a2bb817f89c78e.asciidoc index 63cd82aaa..9be0798d3 100644 --- a/docs/examples/8c5d48252cd6d1ee26a2bb817f89c78e.asciidoc +++ b/docs/examples/8c5d48252cd6d1ee26a2bb817f89c78e.asciidoc @@ -1,5 +1,5 @@ // This file is autogenerated, DO NOT EDIT -// ml/anomaly-detection/apis/delete-filter.asciidoc:40 +// ml/anomaly-detection/apis/delete-filter.asciidoc:46 [source, python] ---- diff --git a/docs/examples/8c6f3bb8abae9ff1d21e776f16ad1c86.asciidoc b/docs/examples/8c6f3bb8abae9ff1d21e776f16ad1c86.asciidoc index 592b9e8bf..95ffe4194 100644 --- a/docs/examples/8c6f3bb8abae9ff1d21e776f16ad1c86.asciidoc +++ b/docs/examples/8c6f3bb8abae9ff1d21e776f16ad1c86.asciidoc @@ -1,5 +1,5 @@ // This file is autogenerated, DO NOT EDIT -// ml/df-analytics/apis/put-dfanalytics.asciidoc:574 +// ml/df-analytics/apis/put-dfanalytics.asciidoc:580 [source, python] ---- diff --git a/docs/examples/8c9081dc738d1290fd76071b283fcaec.asciidoc b/docs/examples/8c9081dc738d1290fd76071b283fcaec.asciidoc index bb9df6b30..b062fd8f1 100644 --- a/docs/examples/8c9081dc738d1290fd76071b283fcaec.asciidoc +++ b/docs/examples/8c9081dc738d1290fd76071b283fcaec.asciidoc @@ -1,5 +1,5 @@ // This file is autogenerated, DO NOT EDIT -// docs/get.asciidoc:92 +// docs/get.asciidoc:98 [source, python] ---- diff --git a/docs/examples/8cd00a3aba7c3c158277bc032aac2830.asciidoc b/docs/examples/8cd00a3aba7c3c158277bc032aac2830.asciidoc index b4294c381..68ae5624a 100644 --- a/docs/examples/8cd00a3aba7c3c158277bc032aac2830.asciidoc +++ b/docs/examples/8cd00a3aba7c3c158277bc032aac2830.asciidoc @@ -1,5 +1,5 @@ // This file is autogenerated, DO NOT EDIT -// docs/bulk.asciidoc:614 +// docs/bulk.asciidoc:620 [source, python] ---- diff --git a/docs/examples/8d4dda5d988d568f4f4210a6387e026f.asciidoc b/docs/examples/8d4dda5d988d568f4f4210a6387e026f.asciidoc index dcfbb881e..60df33f6c 100644 --- a/docs/examples/8d4dda5d988d568f4f4210a6387e026f.asciidoc +++ b/docs/examples/8d4dda5d988d568f4f4210a6387e026f.asciidoc @@ -1,5 +1,5 @@ // This file is autogenerated, DO NOT EDIT -// rest-api/security/saml-logout-api.asciidoc:66 +// rest-api/security/saml-logout-api.asciidoc:72 [source, python] ---- diff --git a/docs/examples/8de6fed6ba2b94ce6a12ce076be2b4d7.asciidoc b/docs/examples/8de6fed6ba2b94ce6a12ce076be2b4d7.asciidoc index 30b9b54bb..13ad215ea 100644 --- a/docs/examples/8de6fed6ba2b94ce6a12ce076be2b4d7.asciidoc +++ b/docs/examples/8de6fed6ba2b94ce6a12ce076be2b4d7.asciidoc @@ -1,5 +1,5 @@ // This file is autogenerated, DO NOT EDIT -// cat/segments.asciidoc:126 +// cat/segments.asciidoc:132 [source, python] ---- diff --git a/docs/examples/8e208098a0156c4c92afe0a06960b230.asciidoc b/docs/examples/8e208098a0156c4c92afe0a06960b230.asciidoc index defa6892f..65f5e3558 100644 --- a/docs/examples/8e208098a0156c4c92afe0a06960b230.asciidoc +++ b/docs/examples/8e208098a0156c4c92afe0a06960b230.asciidoc @@ -1,5 +1,5 @@ // This file is autogenerated, DO NOT EDIT -// rest-api/security/saml-authenticate-api.asciidoc:83 +// rest-api/security/saml-authenticate-api.asciidoc:89 [source, python] ---- diff --git a/docs/examples/8e2bbef535fef688d397e60e09aefa7f.asciidoc b/docs/examples/8e2bbef535fef688d397e60e09aefa7f.asciidoc index ad334ccf3..d240a9f5e 100644 --- a/docs/examples/8e2bbef535fef688d397e60e09aefa7f.asciidoc +++ b/docs/examples/8e2bbef535fef688d397e60e09aefa7f.asciidoc @@ -1,5 +1,5 @@ // This file is autogenerated, DO NOT EDIT -// troubleshooting/common-issues/hotspotting.asciidoc:202 +// troubleshooting/common-issues/hotspotting.asciidoc:206 [source, python] ---- diff --git a/docs/examples/8e43bb5b7946143e69d397bb81d87df0.asciidoc b/docs/examples/8e43bb5b7946143e69d397bb81d87df0.asciidoc index db3591bdb..702b5f448 100644 --- a/docs/examples/8e43bb5b7946143e69d397bb81d87df0.asciidoc +++ b/docs/examples/8e43bb5b7946143e69d397bb81d87df0.asciidoc @@ -1,5 +1,5 @@ // This file is autogenerated, DO NOT EDIT -// ccr/apis/follow/get-follow-stats.asciidoc:219 +// ccr/apis/follow/get-follow-stats.asciidoc:225 [source, python] ---- diff --git a/docs/examples/8e89fee0be6a436c4e3d7c152659c47e.asciidoc b/docs/examples/8e89fee0be6a436c4e3d7c152659c47e.asciidoc index 30432d61e..d8069a2de 100644 --- a/docs/examples/8e89fee0be6a436c4e3d7c152659c47e.asciidoc +++ b/docs/examples/8e89fee0be6a436c4e3d7c152659c47e.asciidoc @@ -1,5 +1,5 @@ // This file is autogenerated, DO NOT EDIT -// connector/apis/update-connector-scheduling-api.asciidoc:90 +// connector/apis/update-connector-scheduling-api.asciidoc:96 [source, python] ---- diff --git a/docs/examples/8e9e7dc5fad2b2b8e74ab4dc225d9c53.asciidoc b/docs/examples/8e9e7dc5fad2b2b8e74ab4dc225d9c53.asciidoc index d6d14075f..f2e57ee11 100644 --- a/docs/examples/8e9e7dc5fad2b2b8e74ab4dc225d9c53.asciidoc +++ b/docs/examples/8e9e7dc5fad2b2b8e74ab4dc225d9c53.asciidoc @@ -1,5 +1,5 @@ // This file is autogenerated, DO NOT EDIT -// ml/common/apis/set-upgrade-mode.asciidoc:96 +// ml/common/apis/set-upgrade-mode.asciidoc:102 [source, python] ---- diff --git a/docs/examples/8f4a7f68f2ca3698abdf20026a2d8c5f.asciidoc b/docs/examples/8f4a7f68f2ca3698abdf20026a2d8c5f.asciidoc index 73ac49610..c292f8323 100644 --- a/docs/examples/8f4a7f68f2ca3698abdf20026a2d8c5f.asciidoc +++ b/docs/examples/8f4a7f68f2ca3698abdf20026a2d8c5f.asciidoc @@ -1,5 +1,5 @@ // This file is autogenerated, DO NOT EDIT -// troubleshooting/common-issues/high-cpu-usage.asciidoc:77 +// troubleshooting/common-issues/high-cpu-usage.asciidoc:81 [source, python] ---- diff --git a/docs/examples/90083d93e46fad2524755b8d4d1306fc.asciidoc b/docs/examples/90083d93e46fad2524755b8d4d1306fc.asciidoc index dfe32a284..9a88ab0c4 100644 --- a/docs/examples/90083d93e46fad2524755b8d4d1306fc.asciidoc +++ b/docs/examples/90083d93e46fad2524755b8d4d1306fc.asciidoc @@ -1,5 +1,5 @@ // This file is autogenerated, DO NOT EDIT -// connector/apis/set-connector-sync-job-stats-api.asciidoc:75 +// connector/apis/set-connector-sync-job-stats-api.asciidoc:81 [source, python] ---- diff --git a/docs/examples/9054187cbab5c9e1c4ca2a4dba6a5db0.asciidoc b/docs/examples/9054187cbab5c9e1c4ca2a4dba6a5db0.asciidoc index d6939a443..d0e29e412 100644 --- a/docs/examples/9054187cbab5c9e1c4ca2a4dba6a5db0.asciidoc +++ b/docs/examples/9054187cbab5c9e1c4ca2a4dba6a5db0.asciidoc @@ -1,5 +1,5 @@ // This file is autogenerated, DO NOT EDIT -// rest-api/info.asciidoc:51 +// rest-api/info.asciidoc:57 [source, python] ---- diff --git a/docs/examples/90631797c7fbda43902abf2cc0ea8304.asciidoc b/docs/examples/90631797c7fbda43902abf2cc0ea8304.asciidoc index a4049b5aa..f98a2eab2 100644 --- a/docs/examples/90631797c7fbda43902abf2cc0ea8304.asciidoc +++ b/docs/examples/90631797c7fbda43902abf2cc0ea8304.asciidoc @@ -1,5 +1,5 @@ // This file is autogenerated, DO NOT EDIT -// modules/indices/request_cache.asciidoc:146 +// shard-request-cache.asciidoc:132 [source, python] ---- diff --git a/docs/examples/90c087560ea6c0b7405f710971c86ef0.asciidoc b/docs/examples/90c087560ea6c0b7405f710971c86ef0.asciidoc index f582f5f81..ce7afe167 100644 --- a/docs/examples/90c087560ea6c0b7405f710971c86ef0.asciidoc +++ b/docs/examples/90c087560ea6c0b7405f710971c86ef0.asciidoc @@ -1,5 +1,5 @@ // This file is autogenerated, DO NOT EDIT -// ccr/apis/auto-follow/put-auto-follow-pattern.asciidoc:113 +// ccr/apis/auto-follow/put-auto-follow-pattern.asciidoc:119 [source, python] ---- diff --git a/docs/examples/90e06d5ec5e454832d8fbd2e73ec2248.asciidoc b/docs/examples/90e06d5ec5e454832d8fbd2e73ec2248.asciidoc index f7a08a261..8799359cf 100644 --- a/docs/examples/90e06d5ec5e454832d8fbd2e73ec2248.asciidoc +++ b/docs/examples/90e06d5ec5e454832d8fbd2e73ec2248.asciidoc @@ -1,5 +1,5 @@ // This file is autogenerated, DO NOT EDIT -// autoscaling/apis/delete-autoscaling-policy.asciidoc:79 +// autoscaling/apis/delete-autoscaling-policy.asciidoc:85 [source, python] ---- diff --git a/docs/examples/9116ee8a5b00cc877291ed5559563f24.asciidoc b/docs/examples/9116ee8a5b00cc877291ed5559563f24.asciidoc index 0259220c5..283bb7417 100644 --- a/docs/examples/9116ee8a5b00cc877291ed5559563f24.asciidoc +++ b/docs/examples/9116ee8a5b00cc877291ed5559563f24.asciidoc @@ -1,5 +1,5 @@ // This file is autogenerated, DO NOT EDIT -// rest-api/watcher/ack-watch.asciidoc:62 +// rest-api/watcher/ack-watch.asciidoc:68 [source, python] ---- diff --git a/docs/examples/9129dec88d35571b3166c6677297f03b.asciidoc b/docs/examples/9129dec88d35571b3166c6677297f03b.asciidoc index bf613cbd6..7a1da47bb 100644 --- a/docs/examples/9129dec88d35571b3166c6677297f03b.asciidoc +++ b/docs/examples/9129dec88d35571b3166c6677297f03b.asciidoc @@ -1,5 +1,5 @@ // This file is autogenerated, DO NOT EDIT -// transform/apis/get-transform.asciidoc:109 +// transform/apis/get-transform.asciidoc:115 [source, python] ---- diff --git a/docs/examples/9138550002cb26ab64918cce427963b8.asciidoc b/docs/examples/9138550002cb26ab64918cce427963b8.asciidoc index 10a10eebc..166525f22 100644 --- a/docs/examples/9138550002cb26ab64918cce427963b8.asciidoc +++ b/docs/examples/9138550002cb26ab64918cce427963b8.asciidoc @@ -1,5 +1,5 @@ // This file is autogenerated, DO NOT EDIT -// indices/put-index-template.asciidoc:271 +// indices/put-index-template.asciidoc:277 [source, python] ---- diff --git a/docs/examples/9143be4f137574271953a7a8107e175b.asciidoc b/docs/examples/9143be4f137574271953a7a8107e175b.asciidoc index 56b693906..2bbfd3079 100644 --- a/docs/examples/9143be4f137574271953a7a8107e175b.asciidoc +++ b/docs/examples/9143be4f137574271953a7a8107e175b.asciidoc @@ -1,5 +1,5 @@ // This file is autogenerated, DO NOT EDIT -// rest-api/security/get-user-profile.asciidoc:63 +// rest-api/security/get-user-profile.asciidoc:69 [source, python] ---- diff --git a/docs/examples/9169d19a80175ec94f80865d0f9bef4c.asciidoc b/docs/examples/9169d19a80175ec94f80865d0f9bef4c.asciidoc index 2d06198c3..6e0eedc2a 100644 --- a/docs/examples/9169d19a80175ec94f80865d0f9bef4c.asciidoc +++ b/docs/examples/9169d19a80175ec94f80865d0f9bef4c.asciidoc @@ -1,5 +1,5 @@ // This file is autogenerated, DO NOT EDIT -// search/retriever.asciidoc:280 +// search/retriever.asciidoc:291 [source, python] ---- diff --git a/docs/examples/91c01fcad9bf341d039a15dfc593dcd7.asciidoc b/docs/examples/91c01fcad9bf341d039a15dfc593dcd7.asciidoc index cbbebebab..8f764f138 100644 --- a/docs/examples/91c01fcad9bf341d039a15dfc593dcd7.asciidoc +++ b/docs/examples/91c01fcad9bf341d039a15dfc593dcd7.asciidoc @@ -1,5 +1,5 @@ // This file is autogenerated, DO NOT EDIT -// search/field-caps.asciidoc:305 +// search/field-caps.asciidoc:310 [source, python] ---- diff --git a/docs/examples/91c925fc71abe0ddfe52457e9130363b.asciidoc b/docs/examples/91c925fc71abe0ddfe52457e9130363b.asciidoc index 6673f2caa..1a1361ffc 100644 --- a/docs/examples/91c925fc71abe0ddfe52457e9130363b.asciidoc +++ b/docs/examples/91c925fc71abe0ddfe52457e9130363b.asciidoc @@ -1,5 +1,5 @@ // This file is autogenerated, DO NOT EDIT -// rest-api/security/grant-api-keys.asciidoc:172 +// rest-api/security/grant-api-keys.asciidoc:178 [source, python] ---- diff --git a/docs/examples/91e106a2affbc8df32cd940684a779ed.asciidoc b/docs/examples/91e106a2affbc8df32cd940684a779ed.asciidoc index 2ae56b1be..acc46409b 100644 --- a/docs/examples/91e106a2affbc8df32cd940684a779ed.asciidoc +++ b/docs/examples/91e106a2affbc8df32cd940684a779ed.asciidoc @@ -1,5 +1,5 @@ // This file is autogenerated, DO NOT EDIT -// ingest/apis/put-ip-location-database.asciidoc:16 +// ingest/apis/put-ip-location-database.asciidoc:22 [source, python] ---- diff --git a/docs/examples/9200ed8d5f798a158def4c526e41269e.asciidoc b/docs/examples/9200ed8d5f798a158def4c526e41269e.asciidoc index 935b9089d..4514ba050 100644 --- a/docs/examples/9200ed8d5f798a158def4c526e41269e.asciidoc +++ b/docs/examples/9200ed8d5f798a158def4c526e41269e.asciidoc @@ -1,5 +1,5 @@ // This file is autogenerated, DO NOT EDIT -// search/field-caps.asciidoc:186 +// search/field-caps.asciidoc:191 [source, python] ---- diff --git a/docs/examples/9225841fdcddaf83ebdb90c2b0399e20.asciidoc b/docs/examples/9225841fdcddaf83ebdb90c2b0399e20.asciidoc index e2f8526f9..51ebb8041 100644 --- a/docs/examples/9225841fdcddaf83ebdb90c2b0399e20.asciidoc +++ b/docs/examples/9225841fdcddaf83ebdb90c2b0399e20.asciidoc @@ -1,5 +1,5 @@ // This file is autogenerated, DO NOT EDIT -// ml/trained-models/apis/get-trained-models-stats.asciidoc:405 +// ml/trained-models/apis/get-trained-models-stats.asciidoc:412 [source, python] ---- diff --git a/docs/examples/9250ac57ec81d5192e8ad4c462438489.asciidoc b/docs/examples/9250ac57ec81d5192e8ad4c462438489.asciidoc new file mode 100644 index 000000000..192a0dcf3 --- /dev/null +++ b/docs/examples/9250ac57ec81d5192e8ad4c462438489.asciidoc @@ -0,0 +1,39 @@ +// This file is autogenerated, DO NOT EDIT +// inference/service-jinaai.asciidoc:204 + +[source, python] +---- +resp = client.bulk( + index="jinaai-index", + operations=[ + { + "index": { + "_index": "jinaai-index", + "_id": "1" + } + }, + { + "content": "Sarah Johnson is a talented marine biologist working at the Oceanographic Institute. Her groundbreaking research on coral reef ecosystems has garnered international attention and numerous accolades." + }, + { + "index": { + "_index": "jinaai-index", + "_id": "2" + } + }, + { + "content": "She spends months at a time diving in remote locations, meticulously documenting the intricate relationships between various marine species. " + }, + { + "index": { + "_index": "jinaai-index", + "_id": "3" + } + }, + { + "content": "Her dedication to preserving these delicate underwater environments has inspired a new generation of conservationists." + } + ], +) +print(resp) +---- diff --git a/docs/examples/926c0134aeaad53bd0f3bdad9c430217.asciidoc b/docs/examples/926c0134aeaad53bd0f3bdad9c430217.asciidoc index 8eed56f99..b40547250 100644 --- a/docs/examples/926c0134aeaad53bd0f3bdad9c430217.asciidoc +++ b/docs/examples/926c0134aeaad53bd0f3bdad9c430217.asciidoc @@ -1,5 +1,5 @@ // This file is autogenerated, DO NOT EDIT -// docs/reindex.asciidoc:763 +// docs/reindex.asciidoc:769 [source, python] ---- diff --git a/docs/examples/9270964d35d172ea5b193c5fc7a473dd.asciidoc b/docs/examples/9270964d35d172ea5b193c5fc7a473dd.asciidoc index b95bb8eaa..96a0d9589 100644 --- a/docs/examples/9270964d35d172ea5b193c5fc7a473dd.asciidoc +++ b/docs/examples/9270964d35d172ea5b193c5fc7a473dd.asciidoc @@ -1,5 +1,5 @@ // This file is autogenerated, DO NOT EDIT -// cat/templates.asciidoc:61 +// cat/templates.asciidoc:67 [source, python] ---- diff --git a/docs/examples/9298aaf8232a819e79b3bf8471245e98.asciidoc b/docs/examples/9298aaf8232a819e79b3bf8471245e98.asciidoc index 5dc7235b5..e926cb058 100644 --- a/docs/examples/9298aaf8232a819e79b3bf8471245e98.asciidoc +++ b/docs/examples/9298aaf8232a819e79b3bf8471245e98.asciidoc @@ -1,5 +1,5 @@ // This file is autogenerated, DO NOT EDIT -// ml/anomaly-detection/apis/get-job-stats.asciidoc:375 +// ml/anomaly-detection/apis/get-job-stats.asciidoc:381 [source, python] ---- diff --git a/docs/examples/92fe53019958ba466d1272da0834cf53.asciidoc b/docs/examples/92fe53019958ba466d1272da0834cf53.asciidoc index d7be84156..1b810cb98 100644 --- a/docs/examples/92fe53019958ba466d1272da0834cf53.asciidoc +++ b/docs/examples/92fe53019958ba466d1272da0834cf53.asciidoc @@ -1,5 +1,5 @@ // This file is autogenerated, DO NOT EDIT -// indices/stats.asciidoc:11 +// indices/stats.asciidoc:17 [source, python] ---- diff --git a/docs/examples/934aa38c3adcc4cf74ea40cd8736876c.asciidoc b/docs/examples/934aa38c3adcc4cf74ea40cd8736876c.asciidoc index 6516c85e6..f500cbfae 100644 --- a/docs/examples/934aa38c3adcc4cf74ea40cd8736876c.asciidoc +++ b/docs/examples/934aa38c3adcc4cf74ea40cd8736876c.asciidoc @@ -1,5 +1,5 @@ // This file is autogenerated, DO NOT EDIT -// indices/create-index.asciidoc:172 +// indices/create-index.asciidoc:178 [source, python] ---- diff --git a/docs/examples/93fb59d3204f37af952198b331fb6bb7.asciidoc b/docs/examples/93fb59d3204f37af952198b331fb6bb7.asciidoc index 93b46d640..23150a3d5 100644 --- a/docs/examples/93fb59d3204f37af952198b331fb6bb7.asciidoc +++ b/docs/examples/93fb59d3204f37af952198b331fb6bb7.asciidoc @@ -1,5 +1,5 @@ // This file is autogenerated, DO NOT EDIT -// cluster/tasks.asciidoc:217 +// cluster/tasks.asciidoc:223 [source, python] ---- diff --git a/docs/examples/940e8c2c7ff92d71f489bdb7183c1ce6.asciidoc b/docs/examples/940e8c2c7ff92d71f489bdb7183c1ce6.asciidoc index 61efcb462..c57f84122 100644 --- a/docs/examples/940e8c2c7ff92d71f489bdb7183c1ce6.asciidoc +++ b/docs/examples/940e8c2c7ff92d71f489bdb7183c1ce6.asciidoc @@ -1,5 +1,5 @@ // This file is autogenerated, DO NOT EDIT -// indices/segments.asciidoc:110 +// indices/segments.asciidoc:116 [source, python] ---- diff --git a/docs/examples/9410af79177dd1df9b7b16229a581e18.asciidoc b/docs/examples/9410af79177dd1df9b7b16229a581e18.asciidoc index e41d2fa89..58e584450 100644 --- a/docs/examples/9410af79177dd1df9b7b16229a581e18.asciidoc +++ b/docs/examples/9410af79177dd1df9b7b16229a581e18.asciidoc @@ -1,5 +1,5 @@ // This file is autogenerated, DO NOT EDIT -// rest-api/security/change-password.asciidoc:70 +// rest-api/security/change-password.asciidoc:76 [source, python] ---- diff --git a/docs/examples/941c8d05486200e835d97642e4ee05d5.asciidoc b/docs/examples/941c8d05486200e835d97642e4ee05d5.asciidoc index a43bd9f9b..211d8a492 100644 --- a/docs/examples/941c8d05486200e835d97642e4ee05d5.asciidoc +++ b/docs/examples/941c8d05486200e835d97642e4ee05d5.asciidoc @@ -1,5 +1,5 @@ // This file is autogenerated, DO NOT EDIT -// docs/termvectors.asciidoc:177 +// docs/termvectors.asciidoc:183 [source, python] ---- diff --git a/docs/examples/94246f45025ed394cd6415ed8d7a0588.asciidoc b/docs/examples/94246f45025ed394cd6415ed8d7a0588.asciidoc index e0925bba8..9071c0bdb 100644 --- a/docs/examples/94246f45025ed394cd6415ed8d7a0588.asciidoc +++ b/docs/examples/94246f45025ed394cd6415ed8d7a0588.asciidoc @@ -1,5 +1,5 @@ // This file is autogenerated, DO NOT EDIT -// rollup/apis/delete-job.asciidoc:79 +// rollup/apis/delete-job.asciidoc:85 [source, python] ---- diff --git a/docs/examples/944806221eb89f5af2298ccdf2902277.asciidoc b/docs/examples/944806221eb89f5af2298ccdf2902277.asciidoc index 4fa39ab7e..be677f846 100644 --- a/docs/examples/944806221eb89f5af2298ccdf2902277.asciidoc +++ b/docs/examples/944806221eb89f5af2298ccdf2902277.asciidoc @@ -1,5 +1,5 @@ // This file is autogenerated, DO NOT EDIT -// rollup/apis/rollup-caps.asciidoc:163 +// rollup/apis/rollup-caps.asciidoc:169 [source, python] ---- diff --git a/docs/examples/946522c26d02bebf5c527ba28e55c724.asciidoc b/docs/examples/946522c26d02bebf5c527ba28e55c724.asciidoc index 1ed6de0de..c817120d6 100644 --- a/docs/examples/946522c26d02bebf5c527ba28e55c724.asciidoc +++ b/docs/examples/946522c26d02bebf5c527ba28e55c724.asciidoc @@ -1,5 +1,5 @@ // This file is autogenerated, DO NOT EDIT -// docs/update-by-query.asciidoc:352 +// docs/update-by-query.asciidoc:358 [source, python] ---- diff --git a/docs/examples/bee3fda7bb07086243424b62e5b16ca7.asciidoc b/docs/examples/948418e0ef1b7e7cfee2f11be715d7d2.asciidoc similarity index 89% rename from docs/examples/bee3fda7bb07086243424b62e5b16ca7.asciidoc rename to docs/examples/948418e0ef1b7e7cfee2f11be715d7d2.asciidoc index 6e7855579..3abdfaedb 100644 --- a/docs/examples/bee3fda7bb07086243424b62e5b16ca7.asciidoc +++ b/docs/examples/948418e0ef1b7e7cfee2f11be715d7d2.asciidoc @@ -1,10 +1,13 @@ // This file is autogenerated, DO NOT EDIT -// search/search-your-data/retrievers-examples.asciidoc:458 +// search/search-your-data/retrievers-examples.asciidoc:465 [source, python] ---- resp = client.indices.create( index="retrievers_example_nested", + settings={ + "number_of_shards": 1 + }, mappings={ "properties": { "nested_field": { @@ -17,7 +20,10 @@ resp = client.indices.create( "type": "dense_vector", "dims": 3, "similarity": "l2_norm", - "index": True + "index": True, + "index_options": { + "type": "flat" + } } } }, diff --git a/docs/examples/950f1230536422567f99a205ff4165ec.asciidoc b/docs/examples/950f1230536422567f99a205ff4165ec.asciidoc index 9c6457477..eea712620 100644 --- a/docs/examples/950f1230536422567f99a205ff4165ec.asciidoc +++ b/docs/examples/950f1230536422567f99a205ff4165ec.asciidoc @@ -1,5 +1,5 @@ // This file is autogenerated, DO NOT EDIT -// indices/rollover-index.asciidoc:399 +// indices/rollover-index.asciidoc:405 [source, python] ---- diff --git a/docs/examples/95414139c7b1203e3c2d99a354415801.asciidoc b/docs/examples/95414139c7b1203e3c2d99a354415801.asciidoc index 54d9b2266..773758b44 100644 --- a/docs/examples/95414139c7b1203e3c2d99a354415801.asciidoc +++ b/docs/examples/95414139c7b1203e3c2d99a354415801.asciidoc @@ -1,5 +1,5 @@ // This file is autogenerated, DO NOT EDIT -// cat/recovery.asciidoc:83 +// cat/recovery.asciidoc:89 [source, python] ---- diff --git a/docs/examples/95c1b376652533c352bbf793c74d1b08.asciidoc b/docs/examples/95c1b376652533c352bbf793c74d1b08.asciidoc index 386ee81d0..a0778d4b3 100644 --- a/docs/examples/95c1b376652533c352bbf793c74d1b08.asciidoc +++ b/docs/examples/95c1b376652533c352bbf793c74d1b08.asciidoc @@ -1,5 +1,5 @@ // This file is autogenerated, DO NOT EDIT -// rest-api/security/query-role.asciidoc:227 +// rest-api/security/query-role.asciidoc:233 [source, python] ---- diff --git a/docs/examples/9608820dbeac261ba53fb89bb9400560.asciidoc b/docs/examples/9608820dbeac261ba53fb89bb9400560.asciidoc index 2f6de15c4..16bed42e9 100644 --- a/docs/examples/9608820dbeac261ba53fb89bb9400560.asciidoc +++ b/docs/examples/9608820dbeac261ba53fb89bb9400560.asciidoc @@ -1,5 +1,5 @@ // This file is autogenerated, DO NOT EDIT -// rest-api/security/get-api-keys.asciidoc:233 +// rest-api/security/get-api-keys.asciidoc:239 [source, python] ---- diff --git a/docs/examples/9684e5fa8c22a07a372feb6fc1f5f7c0.asciidoc b/docs/examples/9684e5fa8c22a07a372feb6fc1f5f7c0.asciidoc index 50f6c76d4..9c42ef493 100644 --- a/docs/examples/9684e5fa8c22a07a372feb6fc1f5f7c0.asciidoc +++ b/docs/examples/9684e5fa8c22a07a372feb6fc1f5f7c0.asciidoc @@ -1,5 +1,5 @@ // This file is autogenerated, DO NOT EDIT -// rest-api/security/has-privileges.asciidoc:69 +// rest-api/security/has-privileges.asciidoc:75 [source, python] ---- diff --git a/docs/examples/96e88611f99e6834bd64b58dc8a282c1.asciidoc b/docs/examples/96e88611f99e6834bd64b58dc8a282c1.asciidoc index d3863750b..61477cef7 100644 --- a/docs/examples/96e88611f99e6834bd64b58dc8a282c1.asciidoc +++ b/docs/examples/96e88611f99e6834bd64b58dc8a282c1.asciidoc @@ -1,5 +1,5 @@ // This file is autogenerated, DO NOT EDIT -// mapping/types/semantic-text.asciidoc:41 +// mapping/types/semantic-text.asciidoc:42 [source, python] ---- diff --git a/docs/examples/971fd23adb81bb5842c7750e0379336a.asciidoc b/docs/examples/971fd23adb81bb5842c7750e0379336a.asciidoc index 315a26852..502b26032 100644 --- a/docs/examples/971fd23adb81bb5842c7750e0379336a.asciidoc +++ b/docs/examples/971fd23adb81bb5842c7750e0379336a.asciidoc @@ -1,5 +1,5 @@ // This file is autogenerated, DO NOT EDIT -// search/retriever.asciidoc:592 +// search/retriever.asciidoc:719 [source, python] ---- diff --git a/docs/examples/973a3ff47fc4ce036ecd9bd363fef9f7.asciidoc b/docs/examples/973a3ff47fc4ce036ecd9bd363fef9f7.asciidoc index 635584804..599db64b4 100644 --- a/docs/examples/973a3ff47fc4ce036ecd9bd363fef9f7.asciidoc +++ b/docs/examples/973a3ff47fc4ce036ecd9bd363fef9f7.asciidoc @@ -1,5 +1,5 @@ // This file is autogenerated, DO NOT EDIT -// docs/reindex.asciidoc:843 +// docs/reindex.asciidoc:849 [source, python] ---- diff --git a/docs/examples/975b4b92464d52068516aa2f0f955cc1.asciidoc b/docs/examples/975b4b92464d52068516aa2f0f955cc1.asciidoc index 322e7aacd..367434a52 100644 --- a/docs/examples/975b4b92464d52068516aa2f0f955cc1.asciidoc +++ b/docs/examples/975b4b92464d52068516aa2f0f955cc1.asciidoc @@ -1,5 +1,5 @@ // This file is autogenerated, DO NOT EDIT -// indices/segments.asciidoc:119 +// indices/segments.asciidoc:125 [source, python] ---- diff --git a/docs/examples/97a3216af3d4b4d805d467d9c715cb3e.asciidoc b/docs/examples/97a3216af3d4b4d805d467d9c715cb3e.asciidoc index efa54ac9f..8cad74cda 100644 --- a/docs/examples/97a3216af3d4b4d805d467d9c715cb3e.asciidoc +++ b/docs/examples/97a3216af3d4b4d805d467d9c715cb3e.asciidoc @@ -1,5 +1,5 @@ // This file is autogenerated, DO NOT EDIT -// cluster/get-desired-balance.asciidoc:21 +// cluster/get-desired-balance.asciidoc:27 [source, python] ---- diff --git a/docs/examples/97babc8d19ef0866774576716eb6d19e.asciidoc b/docs/examples/97babc8d19ef0866774576716eb6d19e.asciidoc index f950aedd0..c86db87c1 100644 --- a/docs/examples/97babc8d19ef0866774576716eb6d19e.asciidoc +++ b/docs/examples/97babc8d19ef0866774576716eb6d19e.asciidoc @@ -1,5 +1,5 @@ // This file is autogenerated, DO NOT EDIT -// docs/update-by-query.asciidoc:775 +// docs/update-by-query.asciidoc:781 [source, python] ---- diff --git a/docs/examples/97c6c07f46f4177f0565a04bc50924a3.asciidoc b/docs/examples/97c6c07f46f4177f0565a04bc50924a3.asciidoc index ff20ac043..d6d19299d 100644 --- a/docs/examples/97c6c07f46f4177f0565a04bc50924a3.asciidoc +++ b/docs/examples/97c6c07f46f4177f0565a04bc50924a3.asciidoc @@ -1,5 +1,5 @@ // This file is autogenerated, DO NOT EDIT -// search/search-your-data/retrievers-examples.asciidoc:98 +// search/search-your-data/retrievers-examples.asciidoc:105 [source, python] ---- diff --git a/docs/examples/97ea5ab17213cb1faaf6f3ea13607098.asciidoc b/docs/examples/97ea5ab17213cb1faaf6f3ea13607098.asciidoc index 7d382579c..2df9987cc 100644 --- a/docs/examples/97ea5ab17213cb1faaf6f3ea13607098.asciidoc +++ b/docs/examples/97ea5ab17213cb1faaf6f3ea13607098.asciidoc @@ -1,5 +1,5 @@ // This file is autogenerated, DO NOT EDIT -// rest-api/watcher/start.asciidoc:43 +// rest-api/watcher/start.asciidoc:49 [source, python] ---- diff --git a/docs/examples/97f5df84efec655f479fad78bc392d4d.asciidoc b/docs/examples/97f5df84efec655f479fad78bc392d4d.asciidoc index 0caa87fcd..7a0dba9f4 100644 --- a/docs/examples/97f5df84efec655f479fad78bc392d4d.asciidoc +++ b/docs/examples/97f5df84efec655f479fad78bc392d4d.asciidoc @@ -1,5 +1,5 @@ // This file is autogenerated, DO NOT EDIT -// search/profile.asciidoc:830 +// search/profile.asciidoc:835 [source, python] ---- diff --git a/docs/examples/986f892bfa4dfdf1da8455fdf84a4b0c.asciidoc b/docs/examples/986f892bfa4dfdf1da8455fdf84a4b0c.asciidoc index 07f78c0cd..3e5ded035 100644 --- a/docs/examples/986f892bfa4dfdf1da8455fdf84a4b0c.asciidoc +++ b/docs/examples/986f892bfa4dfdf1da8455fdf84a4b0c.asciidoc @@ -1,5 +1,5 @@ // This file is autogenerated, DO NOT EDIT -// inference/service-alibabacloud-ai-search.asciidoc:222 +// inference/service-alibabacloud-ai-search.asciidoc:228 [source, python] ---- diff --git a/docs/examples/98855f4bda8726d5d123aeebf7869e47.asciidoc b/docs/examples/98855f4bda8726d5d123aeebf7869e47.asciidoc index 87e68355f..1acb209f3 100644 --- a/docs/examples/98855f4bda8726d5d123aeebf7869e47.asciidoc +++ b/docs/examples/98855f4bda8726d5d123aeebf7869e47.asciidoc @@ -1,5 +1,5 @@ // This file is autogenerated, DO NOT EDIT -// cat/nodeattrs.asciidoc:82 +// cat/nodeattrs.asciidoc:88 [source, python] ---- diff --git a/docs/examples/991b9ba53f0eccec8ec5a42f8d9b655c.asciidoc b/docs/examples/991b9ba53f0eccec8ec5a42f8d9b655c.asciidoc index c75d87dbf..4129bbe4c 100644 --- a/docs/examples/991b9ba53f0eccec8ec5a42f8d9b655c.asciidoc +++ b/docs/examples/991b9ba53f0eccec8ec5a42f8d9b655c.asciidoc @@ -1,5 +1,5 @@ // This file is autogenerated, DO NOT EDIT -// search/search-your-data/highlighting.asciidoc:614 +// search/search-your-data/highlighting.asciidoc:616 [source, python] ---- diff --git a/docs/examples/99803d7b111b862c0c82e9908e549b16.asciidoc b/docs/examples/99803d7b111b862c0c82e9908e549b16.asciidoc index 3c30cc23d..a33de7a36 100644 --- a/docs/examples/99803d7b111b862c0c82e9908e549b16.asciidoc +++ b/docs/examples/99803d7b111b862c0c82e9908e549b16.asciidoc @@ -1,5 +1,5 @@ // This file is autogenerated, DO NOT EDIT -// inference/service-mistral.asciidoc:107 +// inference/service-mistral.asciidoc:113 [source, python] ---- diff --git a/docs/examples/99c1cfe60f3ccf5bf3abd24c31ed9034.asciidoc b/docs/examples/99c1cfe60f3ccf5bf3abd24c31ed9034.asciidoc index a3bf61263..672e32dbc 100644 --- a/docs/examples/99c1cfe60f3ccf5bf3abd24c31ed9034.asciidoc +++ b/docs/examples/99c1cfe60f3ccf5bf3abd24c31ed9034.asciidoc @@ -1,5 +1,5 @@ // This file is autogenerated, DO NOT EDIT -// ccr/apis/auto-follow/put-auto-follow-pattern.asciidoc:14 +// ccr/apis/auto-follow/put-auto-follow-pattern.asciidoc:20 [source, python] ---- diff --git a/docs/examples/99fb82d49ac477e6a9dfdd71f9465374.asciidoc b/docs/examples/99fb82d49ac477e6a9dfdd71f9465374.asciidoc index 3122bd126..df9b99ed6 100644 --- a/docs/examples/99fb82d49ac477e6a9dfdd71f9465374.asciidoc +++ b/docs/examples/99fb82d49ac477e6a9dfdd71f9465374.asciidoc @@ -1,5 +1,5 @@ // This file is autogenerated, DO NOT EDIT -// ingest/apis/delete-ip-location-database.asciidoc:52 +// ingest/apis/delete-ip-location-database.asciidoc:58 [source, python] ---- diff --git a/docs/examples/9a05cc10eea1251e23b82a4549913536.asciidoc b/docs/examples/9a05cc10eea1251e23b82a4549913536.asciidoc index fde02f78f..fd2de14ab 100644 --- a/docs/examples/9a05cc10eea1251e23b82a4549913536.asciidoc +++ b/docs/examples/9a05cc10eea1251e23b82a4549913536.asciidoc @@ -1,5 +1,5 @@ // This file is autogenerated, DO NOT EDIT -// troubleshooting/common-issues/hotspotting.asciidoc:104 +// troubleshooting/common-issues/hotspotting.asciidoc:108 [source, python] ---- diff --git a/docs/examples/9a09d33ec11e20b6081cae882282ca60.asciidoc b/docs/examples/9a09d33ec11e20b6081cae882282ca60.asciidoc index 352c19931..e006ded1c 100644 --- a/docs/examples/9a09d33ec11e20b6081cae882282ca60.asciidoc +++ b/docs/examples/9a09d33ec11e20b6081cae882282ca60.asciidoc @@ -1,5 +1,5 @@ // This file is autogenerated, DO NOT EDIT -// rest-api/security/clear-privileges-cache.asciidoc:57 +// rest-api/security/clear-privileges-cache.asciidoc:63 [source, python] ---- diff --git a/docs/examples/9a203aae3e1412d919546276fb52a5ca.asciidoc b/docs/examples/9a203aae3e1412d919546276fb52a5ca.asciidoc index 8c93ab505..3d9cb9247 100644 --- a/docs/examples/9a203aae3e1412d919546276fb52a5ca.asciidoc +++ b/docs/examples/9a203aae3e1412d919546276fb52a5ca.asciidoc @@ -1,5 +1,5 @@ // This file is autogenerated, DO NOT EDIT -// inference/service-cohere.asciidoc:190 +// inference/service-cohere.asciidoc:196 [source, python] ---- diff --git a/docs/examples/9a49b7572d571e00e20dbebdd30f9368.asciidoc b/docs/examples/9a49b7572d571e00e20dbebdd30f9368.asciidoc index d5531c3be..5810962a6 100644 --- a/docs/examples/9a49b7572d571e00e20dbebdd30f9368.asciidoc +++ b/docs/examples/9a49b7572d571e00e20dbebdd30f9368.asciidoc @@ -1,5 +1,5 @@ // This file is autogenerated, DO NOT EDIT -// search/search-vector-tile-api.asciidoc:114 +// search/search-vector-tile-api.asciidoc:119 [source, python] ---- diff --git a/docs/examples/9a4d5e41c52c20635d1fd9c6e13f6c7a.asciidoc b/docs/examples/9a4d5e41c52c20635d1fd9c6e13f6c7a.asciidoc index 5d558d09f..6a952d37e 100644 --- a/docs/examples/9a4d5e41c52c20635d1fd9c6e13f6c7a.asciidoc +++ b/docs/examples/9a4d5e41c52c20635d1fd9c6e13f6c7a.asciidoc @@ -1,5 +1,5 @@ // This file is autogenerated, DO NOT EDIT -// docs/reindex.asciidoc:827 +// docs/reindex.asciidoc:833 [source, python] ---- diff --git a/docs/examples/9a743b6575c6fe5acdf46024a7fda8a1.asciidoc b/docs/examples/9a743b6575c6fe5acdf46024a7fda8a1.asciidoc index 6cab67aae..435bc627d 100644 --- a/docs/examples/9a743b6575c6fe5acdf46024a7fda8a1.asciidoc +++ b/docs/examples/9a743b6575c6fe5acdf46024a7fda8a1.asciidoc @@ -1,5 +1,5 @@ // This file is autogenerated, DO NOT EDIT -// scripting/using.asciidoc:537 +// scripting/using.asciidoc:542 [source, python] ---- diff --git a/docs/examples/9ab351893dae65ec97fd8cb6832950fb.asciidoc b/docs/examples/9ab351893dae65ec97fd8cb6832950fb.asciidoc index fd9a11249..f3393b1a2 100644 --- a/docs/examples/9ab351893dae65ec97fd8cb6832950fb.asciidoc +++ b/docs/examples/9ab351893dae65ec97fd8cb6832950fb.asciidoc @@ -1,5 +1,5 @@ // This file is autogenerated, DO NOT EDIT -// search/search-your-data/knn-search.asciidoc:1126 +// search/search-your-data/knn-search.asciidoc:1288 [source, python] ---- diff --git a/docs/examples/9ae268058c0ea32ef8926568e011c728.asciidoc b/docs/examples/9ae268058c0ea32ef8926568e011c728.asciidoc index d885d8879..381b76a4b 100644 --- a/docs/examples/9ae268058c0ea32ef8926568e011c728.asciidoc +++ b/docs/examples/9ae268058c0ea32ef8926568e011c728.asciidoc @@ -1,5 +1,5 @@ // This file is autogenerated, DO NOT EDIT -// connector/apis/update-connector-features-api.asciidoc:123 +// connector/apis/update-connector-features-api.asciidoc:129 [source, python] ---- diff --git a/docs/examples/9aedc45f83e022732789e8d796f5a43c.asciidoc b/docs/examples/9aedc45f83e022732789e8d796f5a43c.asciidoc index 3d8050779..0636b0a05 100644 --- a/docs/examples/9aedc45f83e022732789e8d796f5a43c.asciidoc +++ b/docs/examples/9aedc45f83e022732789e8d796f5a43c.asciidoc @@ -1,5 +1,5 @@ // This file is autogenerated, DO NOT EDIT -// cluster/reroute.asciidoc:195 +// cluster/reroute.asciidoc:200 [source, python] ---- diff --git a/docs/examples/9af44592fb2e78fb17ad3e834bbef7a7.asciidoc b/docs/examples/9af44592fb2e78fb17ad3e834bbef7a7.asciidoc index 5e62697f9..444b4782d 100644 --- a/docs/examples/9af44592fb2e78fb17ad3e834bbef7a7.asciidoc +++ b/docs/examples/9af44592fb2e78fb17ad3e834bbef7a7.asciidoc @@ -1,5 +1,5 @@ // This file is autogenerated, DO NOT EDIT -// ingest/apis/geoip-stats.asciidoc:11 +// ingest/apis/geoip-stats.asciidoc:17 [source, python] ---- diff --git a/docs/examples/9afa0844883b7471883aa378a8dd10b4.asciidoc b/docs/examples/9afa0844883b7471883aa378a8dd10b4.asciidoc index 6ba1a2049..b8c42b55b 100644 --- a/docs/examples/9afa0844883b7471883aa378a8dd10b4.asciidoc +++ b/docs/examples/9afa0844883b7471883aa378a8dd10b4.asciidoc @@ -1,5 +1,5 @@ // This file is autogenerated, DO NOT EDIT -// behavioral-analytics/apis/post-analytics-collection-event.asciidoc:69 +// behavioral-analytics/apis/post-analytics-collection-event.asciidoc:75 [source, python] ---- diff --git a/docs/examples/9b0f34d122a4b348dc86df7410d6ebb6.asciidoc b/docs/examples/9b0f34d122a4b348dc86df7410d6ebb6.asciidoc index 34e4efa64..40e47d094 100644 --- a/docs/examples/9b0f34d122a4b348dc86df7410d6ebb6.asciidoc +++ b/docs/examples/9b0f34d122a4b348dc86df7410d6ebb6.asciidoc @@ -1,5 +1,5 @@ // This file is autogenerated, DO NOT EDIT -// connector/apis/cancel-connector-sync-job-api.asciidoc:51 +// connector/apis/cancel-connector-sync-job-api.asciidoc:57 [source, python] ---- diff --git a/docs/examples/9b30a69fec54cf01f7af1b04a6e15239.asciidoc b/docs/examples/9b30a69fec54cf01f7af1b04a6e15239.asciidoc index 215dcff86..29f4fbd77 100644 --- a/docs/examples/9b30a69fec54cf01f7af1b04a6e15239.asciidoc +++ b/docs/examples/9b30a69fec54cf01f7af1b04a6e15239.asciidoc @@ -1,5 +1,5 @@ // This file is autogenerated, DO NOT EDIT -// ccr/apis/get-ccr-stats.asciidoc:103 +// ccr/apis/get-ccr-stats.asciidoc:109 [source, python] ---- diff --git a/docs/examples/9b345e0bfd45f3a37194585ec9193478.asciidoc b/docs/examples/9b345e0bfd45f3a37194585ec9193478.asciidoc index 5cab8fba7..d7527c836 100644 --- a/docs/examples/9b345e0bfd45f3a37194585ec9193478.asciidoc +++ b/docs/examples/9b345e0bfd45f3a37194585ec9193478.asciidoc @@ -1,5 +1,5 @@ // This file is autogenerated, DO NOT EDIT -// indices/forcemerge.asciidoc:173 +// indices/forcemerge.asciidoc:179 [source, python] ---- diff --git a/docs/examples/9bae72e974bdeb56007d9104e73eff92.asciidoc b/docs/examples/9bae72e974bdeb56007d9104e73eff92.asciidoc index 3651a3480..d59016490 100644 --- a/docs/examples/9bae72e974bdeb56007d9104e73eff92.asciidoc +++ b/docs/examples/9bae72e974bdeb56007d9104e73eff92.asciidoc @@ -1,5 +1,5 @@ // This file is autogenerated, DO NOT EDIT -// docs/update.asciidoc:182 +// docs/update.asciidoc:188 [source, python] ---- diff --git a/docs/examples/9bb24fe09e3d1c73a71d00b994ba8cfb.asciidoc b/docs/examples/9bb24fe09e3d1c73a71d00b994ba8cfb.asciidoc index 438842e0f..b586d25dc 100644 --- a/docs/examples/9bb24fe09e3d1c73a71d00b994ba8cfb.asciidoc +++ b/docs/examples/9bb24fe09e3d1c73a71d00b994ba8cfb.asciidoc @@ -1,5 +1,5 @@ // This file is autogenerated, DO NOT EDIT -// cat/shards.asciidoc:343 +// cat/shards.asciidoc:352 [source, python] ---- diff --git a/docs/examples/9c01db07c9ac395b6370e3b33965c21f.asciidoc b/docs/examples/9c01db07c9ac395b6370e3b33965c21f.asciidoc index 60b3963b4..227cb5a9e 100644 --- a/docs/examples/9c01db07c9ac395b6370e3b33965c21f.asciidoc +++ b/docs/examples/9c01db07c9ac395b6370e3b33965c21f.asciidoc @@ -1,5 +1,5 @@ // This file is autogenerated, DO NOT EDIT -// rest-api/security/oidc-authenticate-api.asciidoc:68 +// rest-api/security/oidc-authenticate-api.asciidoc:74 [source, python] ---- diff --git a/docs/examples/9c021836acf7c0370e289f611325868d.asciidoc b/docs/examples/9c021836acf7c0370e289f611325868d.asciidoc index 81f2363e6..2f6b15f0c 100644 --- a/docs/examples/9c021836acf7c0370e289f611325868d.asciidoc +++ b/docs/examples/9c021836acf7c0370e289f611325868d.asciidoc @@ -1,5 +1,5 @@ // This file is autogenerated, DO NOT EDIT -// connector/apis/update-connector-configuration-api.asciidoc:309 +// connector/apis/update-connector-configuration-api.asciidoc:315 [source, python] ---- diff --git a/docs/examples/9c7c8051592b6af3adb5d7c490849068.asciidoc b/docs/examples/9c7c8051592b6af3adb5d7c490849068.asciidoc index b7dba1f67..d021306cc 100644 --- a/docs/examples/9c7c8051592b6af3adb5d7c490849068.asciidoc +++ b/docs/examples/9c7c8051592b6af3adb5d7c490849068.asciidoc @@ -1,5 +1,5 @@ // This file is autogenerated, DO NOT EDIT -// ml/anomaly-detection/apis/put-datafeed.asciidoc:162 +// ml/anomaly-detection/apis/put-datafeed.asciidoc:168 [source, python] ---- diff --git a/docs/examples/9cbb097e5498a9fde39e3b1d3b62a4d2.asciidoc b/docs/examples/9cbb097e5498a9fde39e3b1d3b62a4d2.asciidoc index 70dfa8833..583aefcb6 100644 --- a/docs/examples/9cbb097e5498a9fde39e3b1d3b62a4d2.asciidoc +++ b/docs/examples/9cbb097e5498a9fde39e3b1d3b62a4d2.asciidoc @@ -1,5 +1,5 @@ // This file is autogenerated, DO NOT EDIT -// ml/trained-models/apis/infer-trained-model.asciidoc:1046 +// ml/trained-models/apis/infer-trained-model.asciidoc:1052 [source, python] ---- diff --git a/docs/examples/9cc64ab2f60f995f5dbfaca67aa6dd41.asciidoc b/docs/examples/9cc64ab2f60f995f5dbfaca67aa6dd41.asciidoc index 57fbd39dd..b30c1fe6a 100644 --- a/docs/examples/9cc64ab2f60f995f5dbfaca67aa6dd41.asciidoc +++ b/docs/examples/9cc64ab2f60f995f5dbfaca67aa6dd41.asciidoc @@ -1,5 +1,5 @@ // This file is autogenerated, DO NOT EDIT -// esql/esql-query-api.asciidoc:10 +// esql/esql-query-api.asciidoc:16 [source, python] ---- diff --git a/docs/examples/9cc952d4a03264b700136cbc45abc8c6.asciidoc b/docs/examples/9cc952d4a03264b700136cbc45abc8c6.asciidoc new file mode 100644 index 000000000..9bb8f645b --- /dev/null +++ b/docs/examples/9cc952d4a03264b700136cbc45abc8c6.asciidoc @@ -0,0 +1,38 @@ +// This file is autogenerated, DO NOT EDIT +// mapping/types/rank-vectors.asciidoc:42 + +[source, python] +---- +resp = client.indices.create( + index="my-rank-vectors-byte", + mappings={ + "properties": { + "my_vector": { + "type": "rank_vectors", + "element_type": "byte" + } + } + }, +) +print(resp) + +resp1 = client.index( + index="my-rank-vectors-byte", + id="1", + document={ + "my_vector": [ + [ + 1, + 2, + 3 + ], + [ + 4, + 5, + 6 + ] + ] + }, +) +print(resp1) +---- diff --git a/docs/examples/9cd37d0ccbc66ad47ddb626564b27cc8.asciidoc b/docs/examples/9cd37d0ccbc66ad47ddb626564b27cc8.asciidoc index 21eab8e92..3305bc3e2 100644 --- a/docs/examples/9cd37d0ccbc66ad47ddb626564b27cc8.asciidoc +++ b/docs/examples/9cd37d0ccbc66ad47ddb626564b27cc8.asciidoc @@ -1,5 +1,5 @@ // This file is autogenerated, DO NOT EDIT -// rest-api/watcher/execute-watch.asciidoc:327 +// rest-api/watcher/execute-watch.asciidoc:333 [source, python] ---- diff --git a/docs/examples/9cf6c7012a4f2bb562bc256aa28c3409.asciidoc b/docs/examples/9cf6c7012a4f2bb562bc256aa28c3409.asciidoc index bcc021bbb..f03f6e8ad 100644 --- a/docs/examples/9cf6c7012a4f2bb562bc256aa28c3409.asciidoc +++ b/docs/examples/9cf6c7012a4f2bb562bc256aa28c3409.asciidoc @@ -1,5 +1,5 @@ // This file is autogenerated, DO NOT EDIT -// rest-api/watcher/execute-watch.asciidoc:314 +// rest-api/watcher/execute-watch.asciidoc:320 [source, python] ---- diff --git a/docs/examples/9d66cb59711f24e6b4ff85608c9b5a1b.asciidoc b/docs/examples/9d66cb59711f24e6b4ff85608c9b5a1b.asciidoc index dfe0eb762..46b5bc2ff 100644 --- a/docs/examples/9d66cb59711f24e6b4ff85608c9b5a1b.asciidoc +++ b/docs/examples/9d66cb59711f24e6b4ff85608c9b5a1b.asciidoc @@ -1,5 +1,5 @@ // This file is autogenerated, DO NOT EDIT -// troubleshooting/common-issues/task-queue-backlog.asciidoc:51 +// troubleshooting/common-issues/task-queue-backlog.asciidoc:73 [source, python] ---- diff --git a/docs/examples/9d79645ab3a9da3f63c54a1516214a5a.asciidoc b/docs/examples/9d79645ab3a9da3f63c54a1516214a5a.asciidoc index b6f73d2cb..1895c27ca 100644 --- a/docs/examples/9d79645ab3a9da3f63c54a1516214a5a.asciidoc +++ b/docs/examples/9d79645ab3a9da3f63c54a1516214a5a.asciidoc @@ -1,5 +1,5 @@ // This file is autogenerated, DO NOT EDIT -// health/health.asciidoc:465 +// health/health.asciidoc:471 [source, python] ---- diff --git a/docs/examples/9e563b8d5a7845f644db8d5bbf453eb6.asciidoc b/docs/examples/9e563b8d5a7845f644db8d5bbf453eb6.asciidoc index d1b60ef2e..63cadd7c0 100644 --- a/docs/examples/9e563b8d5a7845f644db8d5bbf453eb6.asciidoc +++ b/docs/examples/9e563b8d5a7845f644db8d5bbf453eb6.asciidoc @@ -1,5 +1,5 @@ // This file is autogenerated, DO NOT EDIT -// synonyms/apis/put-synonyms-set.asciidoc:61 +// synonyms/apis/put-synonyms-set.asciidoc:67 [source, python] ---- diff --git a/docs/examples/9e9717d9108ae1425bfacf71c7c44539.asciidoc b/docs/examples/9e9717d9108ae1425bfacf71c7c44539.asciidoc index fc588c589..db6f3e51e 100644 --- a/docs/examples/9e9717d9108ae1425bfacf71c7c44539.asciidoc +++ b/docs/examples/9e9717d9108ae1425bfacf71c7c44539.asciidoc @@ -1,5 +1,5 @@ // This file is autogenerated, DO NOT EDIT -// cat.asciidoc:121 +// cat.asciidoc:127 [source, python] ---- diff --git a/docs/examples/9f99be2d58c48a6bf8e892aa24604197.asciidoc b/docs/examples/9f99be2d58c48a6bf8e892aa24604197.asciidoc index 37a5c6840..cd8037882 100644 --- a/docs/examples/9f99be2d58c48a6bf8e892aa24604197.asciidoc +++ b/docs/examples/9f99be2d58c48a6bf8e892aa24604197.asciidoc @@ -1,5 +1,5 @@ // This file is autogenerated, DO NOT EDIT -// ml/df-analytics/apis/update-dfanalytics.asciidoc:92 +// ml/df-analytics/apis/update-dfanalytics.asciidoc:98 [source, python] ---- diff --git a/docs/examples/9fda516a5dc60ba477b970eaad4429db.asciidoc b/docs/examples/9fda516a5dc60ba477b970eaad4429db.asciidoc index c7e75d94a..293ced05a 100644 --- a/docs/examples/9fda516a5dc60ba477b970eaad4429db.asciidoc +++ b/docs/examples/9fda516a5dc60ba477b970eaad4429db.asciidoc @@ -1,5 +1,5 @@ // This file is autogenerated, DO NOT EDIT -// data-streams/lifecycle/apis/get-lifecycle.asciidoc:142 +// data-streams/lifecycle/apis/get-lifecycle.asciidoc:148 [source, python] ---- diff --git a/docs/examples/9feff356f302ea4915347ab71cc4887a.asciidoc b/docs/examples/9feff356f302ea4915347ab71cc4887a.asciidoc index 31a0cbc95..d9508e5ae 100644 --- a/docs/examples/9feff356f302ea4915347ab71cc4887a.asciidoc +++ b/docs/examples/9feff356f302ea4915347ab71cc4887a.asciidoc @@ -1,5 +1,5 @@ // This file is autogenerated, DO NOT EDIT -// indices/simulate-template.asciidoc:235 +// indices/simulate-template.asciidoc:241 [source, python] ---- diff --git a/docs/examples/9ff9b2a73419a6c82f17a358b4991499.asciidoc b/docs/examples/9ff9b2a73419a6c82f17a358b4991499.asciidoc index 6a64b2870..01ddcfd66 100644 --- a/docs/examples/9ff9b2a73419a6c82f17a358b4991499.asciidoc +++ b/docs/examples/9ff9b2a73419a6c82f17a358b4991499.asciidoc @@ -1,5 +1,5 @@ // This file is autogenerated, DO NOT EDIT -// search/point-in-time-api.asciidoc:159 +// search/point-in-time-api.asciidoc:165 [source, python] ---- diff --git a/docs/examples/a00311843b5f8f3e9f7d511334a828b1.asciidoc b/docs/examples/a00311843b5f8f3e9f7d511334a828b1.asciidoc index 21debb682..5802d6251 100644 --- a/docs/examples/a00311843b5f8f3e9f7d511334a828b1.asciidoc +++ b/docs/examples/a00311843b5f8f3e9f7d511334a828b1.asciidoc @@ -1,5 +1,5 @@ // This file is autogenerated, DO NOT EDIT -// rollup/apis/rollup-caps.asciidoc:91 +// rollup/apis/rollup-caps.asciidoc:97 [source, python] ---- diff --git a/docs/examples/a0f4e902d18460337684d74ea932fbe9.asciidoc b/docs/examples/a0f4e902d18460337684d74ea932fbe9.asciidoc index 80ed4b788..3865fe048 100644 --- a/docs/examples/a0f4e902d18460337684d74ea932fbe9.asciidoc +++ b/docs/examples/a0f4e902d18460337684d74ea932fbe9.asciidoc @@ -1,5 +1,5 @@ // This file is autogenerated, DO NOT EDIT -// docs/update.asciidoc:257 +// docs/update.asciidoc:263 [source, python] ---- diff --git a/docs/examples/a159e1ce0cba7a35ce44db9bebad22f3.asciidoc b/docs/examples/a159e1ce0cba7a35ce44db9bebad22f3.asciidoc index 79193519b..4690f73d9 100644 --- a/docs/examples/a159e1ce0cba7a35ce44db9bebad22f3.asciidoc +++ b/docs/examples/a159e1ce0cba7a35ce44db9bebad22f3.asciidoc @@ -1,5 +1,5 @@ // This file is autogenerated, DO NOT EDIT -// slm/apis/slm-get.asciidoc:126 +// slm/apis/slm-get.asciidoc:132 [source, python] ---- diff --git a/docs/examples/a1d0603b24a5b048f0959975d8057534.asciidoc b/docs/examples/a1d0603b24a5b048f0959975d8057534.asciidoc index 750fec900..840358da8 100644 --- a/docs/examples/a1d0603b24a5b048f0959975d8057534.asciidoc +++ b/docs/examples/a1d0603b24a5b048f0959975d8057534.asciidoc @@ -1,5 +1,5 @@ // This file is autogenerated, DO NOT EDIT -// docs/termvectors.asciidoc:354 +// docs/termvectors.asciidoc:360 [source, python] ---- diff --git a/docs/examples/a1dda7e7c01be96a4acf7b725d70385f.asciidoc b/docs/examples/a1dda7e7c01be96a4acf7b725d70385f.asciidoc index 2f3e5f7d5..743681aa0 100644 --- a/docs/examples/a1dda7e7c01be96a4acf7b725d70385f.asciidoc +++ b/docs/examples/a1dda7e7c01be96a4acf7b725d70385f.asciidoc @@ -1,5 +1,5 @@ // This file is autogenerated, DO NOT EDIT -// search/retriever.asciidoc:512 +// search/retriever.asciidoc:639 [source, python] ---- diff --git a/docs/examples/a1f70bc71b763b58206814c40a7440e7.asciidoc b/docs/examples/a1f70bc71b763b58206814c40a7440e7.asciidoc index 88c3ac6fb..103eacdfc 100644 --- a/docs/examples/a1f70bc71b763b58206814c40a7440e7.asciidoc +++ b/docs/examples/a1f70bc71b763b58206814c40a7440e7.asciidoc @@ -1,5 +1,5 @@ // This file is autogenerated, DO NOT EDIT -// rest-api/watcher/update-settings.asciidoc:41 +// rest-api/watcher/update-settings.asciidoc:47 [source, python] ---- diff --git a/docs/examples/a2b2ce031120dac49b5120b26eea8758.asciidoc b/docs/examples/a2b2ce031120dac49b5120b26eea8758.asciidoc index 4a33279d1..0612348a0 100644 --- a/docs/examples/a2b2ce031120dac49b5120b26eea8758.asciidoc +++ b/docs/examples/a2b2ce031120dac49b5120b26eea8758.asciidoc @@ -1,5 +1,5 @@ // This file is autogenerated, DO NOT EDIT -// cat/indices.asciidoc:113 +// cat/indices.asciidoc:119 [source, python] ---- diff --git a/docs/examples/a2c3e284354e8d49cf51bb8dd5ef3613.asciidoc b/docs/examples/a2c3e284354e8d49cf51bb8dd5ef3613.asciidoc index 90db588fa..fcf84bb43 100644 --- a/docs/examples/a2c3e284354e8d49cf51bb8dd5ef3613.asciidoc +++ b/docs/examples/a2c3e284354e8d49cf51bb8dd5ef3613.asciidoc @@ -1,5 +1,5 @@ // This file is autogenerated, DO NOT EDIT -// transform/apis/upgrade-transforms.asciidoc:97 +// transform/apis/upgrade-transforms.asciidoc:103 [source, python] ---- diff --git a/docs/examples/a3646b59da66b9ab68bdbc8dc2e6a9be.asciidoc b/docs/examples/a3646b59da66b9ab68bdbc8dc2e6a9be.asciidoc index 12acb042f..7d18ab764 100644 --- a/docs/examples/a3646b59da66b9ab68bdbc8dc2e6a9be.asciidoc +++ b/docs/examples/a3646b59da66b9ab68bdbc8dc2e6a9be.asciidoc @@ -1,5 +1,5 @@ // This file is autogenerated, DO NOT EDIT -// search/retriever.asciidoc:145 +// search/retriever.asciidoc:154 [source, python] ---- diff --git a/docs/examples/a3a2856ac2338a624a1fa5f31aec4db4.asciidoc b/docs/examples/a3a2856ac2338a624a1fa5f31aec4db4.asciidoc index 638ba69a9..193ddffd0 100644 --- a/docs/examples/a3a2856ac2338a624a1fa5f31aec4db4.asciidoc +++ b/docs/examples/a3a2856ac2338a624a1fa5f31aec4db4.asciidoc @@ -1,5 +1,5 @@ // This file is autogenerated, DO NOT EDIT -// rest-api/security/get-api-keys.asciidoc:92 +// rest-api/security/get-api-keys.asciidoc:98 [source, python] ---- diff --git a/docs/examples/a3a64d568fe93a22b042a8b31b9905b0.asciidoc b/docs/examples/a3a64d568fe93a22b042a8b31b9905b0.asciidoc index f03b8da79..2a51f08db 100644 --- a/docs/examples/a3a64d568fe93a22b042a8b31b9905b0.asciidoc +++ b/docs/examples/a3a64d568fe93a22b042a8b31b9905b0.asciidoc @@ -1,5 +1,5 @@ // This file is autogenerated, DO NOT EDIT -// ingest/apis/simulate-pipeline.asciidoc:303 +// ingest/apis/simulate-pipeline.asciidoc:309 [source, python] ---- diff --git a/docs/examples/a3ce0cfe2176f3d8a36959a5916995f0.asciidoc b/docs/examples/a3ce0cfe2176f3d8a36959a5916995f0.asciidoc index d332c6b9c..c48e04756 100644 --- a/docs/examples/a3ce0cfe2176f3d8a36959a5916995f0.asciidoc +++ b/docs/examples/a3ce0cfe2176f3d8a36959a5916995f0.asciidoc @@ -1,5 +1,5 @@ // This file is autogenerated, DO NOT EDIT -// cluster/tasks.asciidoc:277 +// cluster/tasks.asciidoc:283 [source, python] ---- diff --git a/docs/examples/a3cfd350c73a104b99a998c6be931408.asciidoc b/docs/examples/a3cfd350c73a104b99a998c6be931408.asciidoc index b2548ae41..35bf10f1f 100644 --- a/docs/examples/a3cfd350c73a104b99a998c6be931408.asciidoc +++ b/docs/examples/a3cfd350c73a104b99a998c6be931408.asciidoc @@ -1,5 +1,5 @@ // This file is autogenerated, DO NOT EDIT -// cluster/state.asciidoc:158 +// cluster/state.asciidoc:164 [source, python] ---- diff --git a/docs/examples/a3d943ac9d45b4eff4aa0c679b4eceb3.asciidoc b/docs/examples/a3d943ac9d45b4eff4aa0c679b4eceb3.asciidoc index 9ac1d1d70..2969b0a95 100644 --- a/docs/examples/a3d943ac9d45b4eff4aa0c679b4eceb3.asciidoc +++ b/docs/examples/a3d943ac9d45b4eff4aa0c679b4eceb3.asciidoc @@ -1,5 +1,5 @@ // This file is autogenerated, DO NOT EDIT -// indices/dangling-index-import.asciidoc:13 +// indices/dangling-index-import.asciidoc:19 [source, python] ---- diff --git a/docs/examples/a3e79d6c626a490341c5b731acbb4a5d.asciidoc b/docs/examples/a3e79d6c626a490341c5b731acbb4a5d.asciidoc index 9c4fef882..8694e9d34 100644 --- a/docs/examples/a3e79d6c626a490341c5b731acbb4a5d.asciidoc +++ b/docs/examples/a3e79d6c626a490341c5b731acbb4a5d.asciidoc @@ -1,5 +1,5 @@ // This file is autogenerated, DO NOT EDIT -// docs/get.asciidoc:307 +// docs/get.asciidoc:313 [source, python] ---- diff --git a/docs/examples/a45605347d6438e7aecdf3b37198616d.asciidoc b/docs/examples/a45605347d6438e7aecdf3b37198616d.asciidoc index 7f083b5a2..e9fbcec25 100644 --- a/docs/examples/a45605347d6438e7aecdf3b37198616d.asciidoc +++ b/docs/examples/a45605347d6438e7aecdf3b37198616d.asciidoc @@ -1,5 +1,5 @@ // This file is autogenerated, DO NOT EDIT -// ilm/apis/move-to-step.asciidoc:150 +// ilm/apis/move-to-step.asciidoc:156 [source, python] ---- diff --git a/docs/examples/a4a3c3cd09efa75168dab90105afb2e9.asciidoc b/docs/examples/a4a3c3cd09efa75168dab90105afb2e9.asciidoc index bcd4b081f..fd57a63b9 100644 --- a/docs/examples/a4a3c3cd09efa75168dab90105afb2e9.asciidoc +++ b/docs/examples/a4a3c3cd09efa75168dab90105afb2e9.asciidoc @@ -1,5 +1,5 @@ // This file is autogenerated, DO NOT EDIT -// inference/get-inference.asciidoc:68 +// inference/get-inference.asciidoc:74 [source, python] ---- diff --git a/docs/examples/a520168c1c8b454a8f102d6a13027c73.asciidoc b/docs/examples/a520168c1c8b454a8f102d6a13027c73.asciidoc index 41527cb83..51a025513 100644 --- a/docs/examples/a520168c1c8b454a8f102d6a13027c73.asciidoc +++ b/docs/examples/a520168c1c8b454a8f102d6a13027c73.asciidoc @@ -1,5 +1,5 @@ // This file is autogenerated, DO NOT EDIT -// ccr/apis/follow/get-follow-info.asciidoc:143 +// ccr/apis/follow/get-follow-info.asciidoc:149 [source, python] ---- diff --git a/docs/examples/a547bb926c25f670078b98fbe67de3cc.asciidoc b/docs/examples/a547bb926c25f670078b98fbe67de3cc.asciidoc index 335b78c15..a98628f53 100644 --- a/docs/examples/a547bb926c25f670078b98fbe67de3cc.asciidoc +++ b/docs/examples/a547bb926c25f670078b98fbe67de3cc.asciidoc @@ -1,5 +1,5 @@ // This file is autogenerated, DO NOT EDIT -// synonyms/apis/delete-synonym-rule.asciidoc:103 +// synonyms/apis/delete-synonym-rule.asciidoc:108 [source, python] ---- diff --git a/docs/examples/a5dfcfd1cfb3558e7912456669c92eee.asciidoc b/docs/examples/a5dfcfd1cfb3558e7912456669c92eee.asciidoc index c1c77e7c9..f9c66d797 100644 --- a/docs/examples/a5dfcfd1cfb3558e7912456669c92eee.asciidoc +++ b/docs/examples/a5dfcfd1cfb3558e7912456669c92eee.asciidoc @@ -1,5 +1,5 @@ // This file is autogenerated, DO NOT EDIT -// rest-api/security/saml-prepare-authentication-api.asciidoc:79 +// rest-api/security/saml-prepare-authentication-api.asciidoc:85 [source, python] ---- diff --git a/docs/examples/a5e2b3588258430f2e595abda98e3943.asciidoc b/docs/examples/a5e2b3588258430f2e595abda98e3943.asciidoc index c3786c06d..dde1af6c9 100644 --- a/docs/examples/a5e2b3588258430f2e595abda98e3943.asciidoc +++ b/docs/examples/a5e2b3588258430f2e595abda98e3943.asciidoc @@ -1,5 +1,5 @@ // This file is autogenerated, DO NOT EDIT -// rest-api/security/clear-cache.asciidoc:54 +// rest-api/security/clear-cache.asciidoc:60 [source, python] ---- diff --git a/docs/examples/a5e793d82a4455cf4105dac82a156617.asciidoc b/docs/examples/a5e793d82a4455cf4105dac82a156617.asciidoc index 36414e53b..001ced277 100644 --- a/docs/examples/a5e793d82a4455cf4105dac82a156617.asciidoc +++ b/docs/examples/a5e793d82a4455cf4105dac82a156617.asciidoc @@ -1,5 +1,5 @@ // This file is autogenerated, DO NOT EDIT -// search/validate.asciidoc:208 +// search/validate.asciidoc:214 [source, python] ---- diff --git a/docs/examples/a5f9eb40087921e67d820775acf71522.asciidoc b/docs/examples/a5f9eb40087921e67d820775acf71522.asciidoc index 77b52e796..c85c3543d 100644 --- a/docs/examples/a5f9eb40087921e67d820775acf71522.asciidoc +++ b/docs/examples/a5f9eb40087921e67d820775acf71522.asciidoc @@ -1,5 +1,5 @@ // This file is autogenerated, DO NOT EDIT -// indices/put-mapping.asciidoc:212 +// indices/put-mapping.asciidoc:218 [source, python] ---- diff --git a/docs/examples/a6204edaa0bcf7b82a89ab4f6bda0914.asciidoc b/docs/examples/a6204edaa0bcf7b82a89ab4f6bda0914.asciidoc index b1ada6b8c..97ef9d659 100644 --- a/docs/examples/a6204edaa0bcf7b82a89ab4f6bda0914.asciidoc +++ b/docs/examples/a6204edaa0bcf7b82a89ab4f6bda0914.asciidoc @@ -1,5 +1,5 @@ // This file is autogenerated, DO NOT EDIT -// ml/anomaly-detection/apis/open-job.asciidoc:68 +// ml/anomaly-detection/apis/open-job.asciidoc:74 [source, python] ---- diff --git a/docs/examples/a692b4c0ca7825c467880b346841f5a5.asciidoc b/docs/examples/a692b4c0ca7825c467880b346841f5a5.asciidoc index 24eacbc92..4069ff6d3 100644 --- a/docs/examples/a692b4c0ca7825c467880b346841f5a5.asciidoc +++ b/docs/examples/a692b4c0ca7825c467880b346841f5a5.asciidoc @@ -1,5 +1,5 @@ // This file is autogenerated, DO NOT EDIT -// indices/put-mapping.asciidoc:156 +// indices/put-mapping.asciidoc:162 [source, python] ---- diff --git a/docs/examples/a69b1ce5cc9528fb3639185eaf241ae3.asciidoc b/docs/examples/a69b1ce5cc9528fb3639185eaf241ae3.asciidoc index ef8c2ddb1..d143f7f3c 100644 --- a/docs/examples/a69b1ce5cc9528fb3639185eaf241ae3.asciidoc +++ b/docs/examples/a69b1ce5cc9528fb3639185eaf241ae3.asciidoc @@ -1,5 +1,5 @@ // This file is autogenerated, DO NOT EDIT -// search/clear-scroll-api.asciidoc:25 +// search/clear-scroll-api.asciidoc:31 [source, python] ---- diff --git a/docs/examples/a6bb306ca250cf651f19cae808b97012.asciidoc b/docs/examples/a6bb306ca250cf651f19cae808b97012.asciidoc index 9358bbc19..a0f30908c 100644 --- a/docs/examples/a6bb306ca250cf651f19cae808b97012.asciidoc +++ b/docs/examples/a6bb306ca250cf651f19cae808b97012.asciidoc @@ -1,5 +1,5 @@ // This file is autogenerated, DO NOT EDIT -// indices/get-index.asciidoc:11 +// indices/get-index.asciidoc:17 [source, python] ---- diff --git a/docs/examples/a6be6c1cb4a556866fdccb0dee2f1dea.asciidoc b/docs/examples/a6be6c1cb4a556866fdccb0dee2f1dea.asciidoc index f4930b061..6ca864c52 100644 --- a/docs/examples/a6be6c1cb4a556866fdccb0dee2f1dea.asciidoc +++ b/docs/examples/a6be6c1cb4a556866fdccb0dee2f1dea.asciidoc @@ -1,5 +1,5 @@ // This file is autogenerated, DO NOT EDIT -// indices/index-template-exists-v1.asciidoc:17 +// indices/index-template-exists-v1.asciidoc:23 [source, python] ---- diff --git a/docs/examples/a6fdd0100cd362df54af6c95d1055c96.asciidoc b/docs/examples/a6fdd0100cd362df54af6c95d1055c96.asciidoc index fe4ad1147..80137273d 100644 --- a/docs/examples/a6fdd0100cd362df54af6c95d1055c96.asciidoc +++ b/docs/examples/a6fdd0100cd362df54af6c95d1055c96.asciidoc @@ -1,5 +1,5 @@ // This file is autogenerated, DO NOT EDIT -// indices/get-mapping.asciidoc:11 +// indices/get-mapping.asciidoc:17 [source, python] ---- diff --git a/docs/examples/a72613de3774571ba24def4b495161b5.asciidoc b/docs/examples/a72613de3774571ba24def4b495161b5.asciidoc index 1742374e6..790292f7e 100644 --- a/docs/examples/a72613de3774571ba24def4b495161b5.asciidoc +++ b/docs/examples/a72613de3774571ba24def4b495161b5.asciidoc @@ -1,5 +1,5 @@ // This file is autogenerated, DO NOT EDIT -// indices/put-mapping.asciidoc:422 +// indices/put-mapping.asciidoc:428 [source, python] ---- diff --git a/docs/examples/a75765e3fb130421dde6c3c2f12e8acb.asciidoc b/docs/examples/a75765e3fb130421dde6c3c2f12e8acb.asciidoc index aff792fea..34aaf2c4c 100644 --- a/docs/examples/a75765e3fb130421dde6c3c2f12e8acb.asciidoc +++ b/docs/examples/a75765e3fb130421dde6c3c2f12e8acb.asciidoc @@ -1,5 +1,5 @@ // This file is autogenerated, DO NOT EDIT -// connector/apis/claim-connector-sync-job-api.asciidoc:63 +// connector/apis/claim-connector-sync-job-api.asciidoc:69 [source, python] ---- diff --git a/docs/examples/a78dfb844d385405d4b0fb0e09b4a5a4.asciidoc b/docs/examples/a78dfb844d385405d4b0fb0e09b4a5a4.asciidoc index 93e49ac7c..470fb6c3a 100644 --- a/docs/examples/a78dfb844d385405d4b0fb0e09b4a5a4.asciidoc +++ b/docs/examples/a78dfb844d385405d4b0fb0e09b4a5a4.asciidoc @@ -1,5 +1,5 @@ // This file is autogenerated, DO NOT EDIT -// docs/update.asciidoc:205 +// docs/update.asciidoc:211 [source, python] ---- diff --git a/docs/examples/a7cf31f4b907e4c00132aca75f55790c.asciidoc b/docs/examples/a7cf31f4b907e4c00132aca75f55790c.asciidoc index 189272ce5..8638b6fa9 100644 --- a/docs/examples/a7cf31f4b907e4c00132aca75f55790c.asciidoc +++ b/docs/examples/a7cf31f4b907e4c00132aca75f55790c.asciidoc @@ -1,5 +1,5 @@ // This file is autogenerated, DO NOT EDIT -// ingest/apis/delete-pipeline.asciidoc:73 +// ingest/apis/delete-pipeline.asciidoc:79 [source, python] ---- diff --git a/docs/examples/a811b82ba4632bdd9065829085188bc9.asciidoc b/docs/examples/a811b82ba4632bdd9065829085188bc9.asciidoc index ad8fa8a52..109001514 100644 --- a/docs/examples/a811b82ba4632bdd9065829085188bc9.asciidoc +++ b/docs/examples/a811b82ba4632bdd9065829085188bc9.asciidoc @@ -1,5 +1,5 @@ // This file is autogenerated, DO NOT EDIT -// snapshot-restore/apis/get-snapshot-api.asciidoc:44 +// snapshot-restore/apis/get-snapshot-api.asciidoc:50 [source, python] ---- diff --git a/docs/examples/a861a89f52008610e813b9f073951c58.asciidoc b/docs/examples/a861a89f52008610e813b9f073951c58.asciidoc index 7d9b3e32a..6cf9dfbf6 100644 --- a/docs/examples/a861a89f52008610e813b9f073951c58.asciidoc +++ b/docs/examples/a861a89f52008610e813b9f073951c58.asciidoc @@ -1,5 +1,5 @@ // This file is autogenerated, DO NOT EDIT -// indices/stats.asciidoc:129 +// indices/stats.asciidoc:135 [source, python] ---- diff --git a/docs/examples/a960b43e720b4934edb74ab4b085ca77.asciidoc b/docs/examples/a960b43e720b4934edb74ab4b085ca77.asciidoc index d55601076..b48cffe85 100644 --- a/docs/examples/a960b43e720b4934edb74ab4b085ca77.asciidoc +++ b/docs/examples/a960b43e720b4934edb74ab4b085ca77.asciidoc @@ -1,5 +1,5 @@ // This file is autogenerated, DO NOT EDIT -// connector/apis/list-connectors-api.asciidoc:79 +// connector/apis/list-connectors-api.asciidoc:88 [source, python] ---- diff --git a/docs/examples/a985e6b7b2ead9c3f30a9bc97d8b598e.asciidoc b/docs/examples/a985e6b7b2ead9c3f30a9bc97d8b598e.asciidoc index a03a4fe75..11daa71b0 100644 --- a/docs/examples/a985e6b7b2ead9c3f30a9bc97d8b598e.asciidoc +++ b/docs/examples/a985e6b7b2ead9c3f30a9bc97d8b598e.asciidoc @@ -1,5 +1,5 @@ // This file is autogenerated, DO NOT EDIT -// search/field-caps.asciidoc:196 +// search/field-caps.asciidoc:201 [source, python] ---- diff --git a/docs/examples/a98692a565904ec0783884d81a7b71fc.asciidoc b/docs/examples/a98692a565904ec0783884d81a7b71fc.asciidoc index d28575ab0..35ca56e9a 100644 --- a/docs/examples/a98692a565904ec0783884d81a7b71fc.asciidoc +++ b/docs/examples/a98692a565904ec0783884d81a7b71fc.asciidoc @@ -1,5 +1,5 @@ // This file is autogenerated, DO NOT EDIT -// cat/health.asciidoc:81 +// cat/health.asciidoc:87 [source, python] ---- diff --git a/docs/examples/a9c08023354aa9b9023807962df71d13.asciidoc b/docs/examples/a9c08023354aa9b9023807962df71d13.asciidoc index b80b858fe..9e7df3d34 100644 --- a/docs/examples/a9c08023354aa9b9023807962df71d13.asciidoc +++ b/docs/examples/a9c08023354aa9b9023807962df71d13.asciidoc @@ -1,5 +1,5 @@ // This file is autogenerated, DO NOT EDIT -// indices/forcemerge.asciidoc:183 +// indices/forcemerge.asciidoc:189 [source, python] ---- diff --git a/docs/examples/a9dd9595e96c307b8c798beaeb571521.asciidoc b/docs/examples/a9dd9595e96c307b8c798beaeb571521.asciidoc index dd6329c4f..25524cba2 100644 --- a/docs/examples/a9dd9595e96c307b8c798beaeb571521.asciidoc +++ b/docs/examples/a9dd9595e96c307b8c798beaeb571521.asciidoc @@ -1,5 +1,5 @@ // This file is autogenerated, DO NOT EDIT -// ml/anomaly-detection/apis/upgrade-job-model-snapshot.asciidoc:77 +// ml/anomaly-detection/apis/upgrade-job-model-snapshot.asciidoc:83 [source, python] ---- diff --git a/docs/examples/a9f14efc26fdd3c37a71f06c310163d9.asciidoc b/docs/examples/a9f14efc26fdd3c37a71f06c310163d9.asciidoc index b5b9bb000..e3f0a60c7 100644 --- a/docs/examples/a9f14efc26fdd3c37a71f06c310163d9.asciidoc +++ b/docs/examples/a9f14efc26fdd3c37a71f06c310163d9.asciidoc @@ -1,5 +1,5 @@ // This file is autogenerated, DO NOT EDIT -// search/retriever.asciidoc:478 +// search/retriever.asciidoc:605 [source, python] ---- diff --git a/docs/examples/a9fe70387d9c96a07830e1859c57efbb.asciidoc b/docs/examples/a9fe70387d9c96a07830e1859c57efbb.asciidoc index 013117b0e..fd3951ad4 100644 --- a/docs/examples/a9fe70387d9c96a07830e1859c57efbb.asciidoc +++ b/docs/examples/a9fe70387d9c96a07830e1859c57efbb.asciidoc @@ -1,5 +1,5 @@ // This file is autogenerated, DO NOT EDIT -// indices/create-index.asciidoc:148 +// indices/create-index.asciidoc:154 [source, python] ---- diff --git a/docs/examples/aa6282d4bc92c753c4bd7a5b166abece.asciidoc b/docs/examples/aa6282d4bc92c753c4bd7a5b166abece.asciidoc index 10ebcd52e..2bde61912 100644 --- a/docs/examples/aa6282d4bc92c753c4bd7a5b166abece.asciidoc +++ b/docs/examples/aa6282d4bc92c753c4bd7a5b166abece.asciidoc @@ -1,5 +1,5 @@ // This file is autogenerated, DO NOT EDIT -// ml/trained-models/apis/start-trained-model-deployment.asciidoc:160 +// ml/trained-models/apis/start-trained-model-deployment.asciidoc:166 [source, python] ---- diff --git a/docs/examples/aa676d54a59dee87ecd28bcc1edce59b.asciidoc b/docs/examples/aa676d54a59dee87ecd28bcc1edce59b.asciidoc index 1e934487f..d6bbbd75a 100644 --- a/docs/examples/aa676d54a59dee87ecd28bcc1edce59b.asciidoc +++ b/docs/examples/aa676d54a59dee87ecd28bcc1edce59b.asciidoc @@ -1,5 +1,5 @@ // This file is autogenerated, DO NOT EDIT -// inference/service-alibabacloud-ai-search.asciidoc:186 +// inference/service-alibabacloud-ai-search.asciidoc:192 [source, python] ---- diff --git a/docs/examples/aa7cf5df36b867aee5e3314ac4b4fa68.asciidoc b/docs/examples/aa7cf5df36b867aee5e3314ac4b4fa68.asciidoc index 9b46dc0dd..2008fab55 100644 --- a/docs/examples/aa7cf5df36b867aee5e3314ac4b4fa68.asciidoc +++ b/docs/examples/aa7cf5df36b867aee5e3314ac4b4fa68.asciidoc @@ -1,5 +1,5 @@ // This file is autogenerated, DO NOT EDIT -// slm/apis/slm-put.asciidoc:119 +// slm/apis/slm-put.asciidoc:124 [source, python] ---- diff --git a/docs/examples/aa7f62279b487989440d423c1ed4a1c0.asciidoc b/docs/examples/aa7f62279b487989440d423c1ed4a1c0.asciidoc index 3a7f885af..d54d81586 100644 --- a/docs/examples/aa7f62279b487989440d423c1ed4a1c0.asciidoc +++ b/docs/examples/aa7f62279b487989440d423c1ed4a1c0.asciidoc @@ -1,5 +1,5 @@ // This file is autogenerated, DO NOT EDIT -// snapshot-restore/apis/restore-snapshot-api.asciidoc:88 +// snapshot-restore/apis/restore-snapshot-api.asciidoc:94 [source, python] ---- diff --git a/docs/examples/aa814309ad5f1630886ba75255b444f5.asciidoc b/docs/examples/aa814309ad5f1630886ba75255b444f5.asciidoc index d542f9477..9ced73fdc 100644 --- a/docs/examples/aa814309ad5f1630886ba75255b444f5.asciidoc +++ b/docs/examples/aa814309ad5f1630886ba75255b444f5.asciidoc @@ -1,5 +1,5 @@ // This file is autogenerated, DO NOT EDIT -// troubleshooting/common-issues/task-queue-backlog.asciidoc:80 +// troubleshooting/common-issues/task-queue-backlog.asciidoc:104 [source, python] ---- diff --git a/docs/examples/aab3de5a8a3fefbe012fc2ed50dfe4d6.asciidoc b/docs/examples/aab3de5a8a3fefbe012fc2ed50dfe4d6.asciidoc index d84bb077f..c991347e3 100644 --- a/docs/examples/aab3de5a8a3fefbe012fc2ed50dfe4d6.asciidoc +++ b/docs/examples/aab3de5a8a3fefbe012fc2ed50dfe4d6.asciidoc @@ -1,5 +1,5 @@ // This file is autogenerated, DO NOT EDIT -// searchable-snapshots/apis/node-cache-stats.asciidoc:96 +// searchable-snapshots/apis/node-cache-stats.asciidoc:102 [source, python] ---- diff --git a/docs/examples/ab8b4537fad80107bc88f633d4039a52.asciidoc b/docs/examples/ab8b4537fad80107bc88f633d4039a52.asciidoc index 74d6fa5df..f1e5f2da2 100644 --- a/docs/examples/ab8b4537fad80107bc88f633d4039a52.asciidoc +++ b/docs/examples/ab8b4537fad80107bc88f633d4039a52.asciidoc @@ -1,5 +1,5 @@ // This file is autogenerated, DO NOT EDIT -// indices/create-index.asciidoc:210 +// indices/create-index.asciidoc:216 [source, python] ---- diff --git a/docs/examples/ab8de34fcfc0277901cb39618ecfc9d5.asciidoc b/docs/examples/ab8de34fcfc0277901cb39618ecfc9d5.asciidoc index 9b2ff6473..e3ea8cd47 100644 --- a/docs/examples/ab8de34fcfc0277901cb39618ecfc9d5.asciidoc +++ b/docs/examples/ab8de34fcfc0277901cb39618ecfc9d5.asciidoc @@ -1,5 +1,5 @@ // This file is autogenerated, DO NOT EDIT -// cluster/allocation-explain.asciidoc:102 +// cluster/allocation-explain.asciidoc:108 [source, python] ---- diff --git a/docs/examples/abd4fc3ce7784413a56fe2dcfe2809b5.asciidoc b/docs/examples/abd4fc3ce7784413a56fe2dcfe2809b5.asciidoc index 94b61315a..2c6b64a28 100644 --- a/docs/examples/abd4fc3ce7784413a56fe2dcfe2809b5.asciidoc +++ b/docs/examples/abd4fc3ce7784413a56fe2dcfe2809b5.asciidoc @@ -1,5 +1,5 @@ // This file is autogenerated, DO NOT EDIT -// docs/update-by-query.asciidoc:748 +// docs/update-by-query.asciidoc:754 [source, python] ---- diff --git a/docs/examples/abdbc81e799e28c833556b1c29f03ba6.asciidoc b/docs/examples/abdbc81e799e28c833556b1c29f03ba6.asciidoc index e2b8bbbe6..a71cdd46d 100644 --- a/docs/examples/abdbc81e799e28c833556b1c29f03ba6.asciidoc +++ b/docs/examples/abdbc81e799e28c833556b1c29f03ba6.asciidoc @@ -1,5 +1,5 @@ // This file is autogenerated, DO NOT EDIT -// rest-api/security/get-users.asciidoc:113 +// rest-api/security/get-users.asciidoc:118 [source, python] ---- diff --git a/docs/examples/ac22cc2b0f4ad659055feed2852a2d59.asciidoc b/docs/examples/ac22cc2b0f4ad659055feed2852a2d59.asciidoc index 47ea99d75..2023f2b91 100644 --- a/docs/examples/ac22cc2b0f4ad659055feed2852a2d59.asciidoc +++ b/docs/examples/ac22cc2b0f4ad659055feed2852a2d59.asciidoc @@ -1,5 +1,5 @@ // This file is autogenerated, DO NOT EDIT -// search/search-your-data/retrievers-examples.asciidoc:1222 +// search/search-your-data/retrievers-examples.asciidoc:1235 [source, python] ---- diff --git a/docs/examples/ac497917ef707538198a8458ae3d5c6b.asciidoc b/docs/examples/ac497917ef707538198a8458ae3d5c6b.asciidoc index 63187d6b3..d0c229186 100644 --- a/docs/examples/ac497917ef707538198a8458ae3d5c6b.asciidoc +++ b/docs/examples/ac497917ef707538198a8458ae3d5c6b.asciidoc @@ -1,5 +1,5 @@ // This file is autogenerated, DO NOT EDIT -// query-dsl/match-query.asciidoc:161 +// query-dsl/match-query.asciidoc:165 [source, python] ---- diff --git a/docs/examples/ac85e05c0bf2fd5099fbcb9c492f447e.asciidoc b/docs/examples/ac85e05c0bf2fd5099fbcb9c492f447e.asciidoc index b53368172..ffc3002f0 100644 --- a/docs/examples/ac85e05c0bf2fd5099fbcb9c492f447e.asciidoc +++ b/docs/examples/ac85e05c0bf2fd5099fbcb9c492f447e.asciidoc @@ -1,5 +1,5 @@ // This file is autogenerated, DO NOT EDIT -// cluster/update-settings.asciidoc:68 +// cluster/update-settings.asciidoc:73 [source, python] ---- diff --git a/docs/examples/acb850c08f51226eadb75be09e336076.asciidoc b/docs/examples/acb850c08f51226eadb75be09e336076.asciidoc index 959f8d18b..8eb4dcb33 100644 --- a/docs/examples/acb850c08f51226eadb75be09e336076.asciidoc +++ b/docs/examples/acb850c08f51226eadb75be09e336076.asciidoc @@ -1,5 +1,5 @@ // This file is autogenerated, DO NOT EDIT -// search/async-search.asciidoc:253 +// search/async-search.asciidoc:259 [source, python] ---- diff --git a/docs/examples/ad2b8aed84c67cdc295917b47a12d3dc.asciidoc b/docs/examples/ad2b8aed84c67cdc295917b47a12d3dc.asciidoc index 3744722f8..ed67692fc 100644 --- a/docs/examples/ad2b8aed84c67cdc295917b47a12d3dc.asciidoc +++ b/docs/examples/ad2b8aed84c67cdc295917b47a12d3dc.asciidoc @@ -1,5 +1,5 @@ // This file is autogenerated, DO NOT EDIT -// query-dsl/knn-query.asciidoc:42 +// query-dsl/knn-query.asciidoc:43 [source, python] ---- diff --git a/docs/examples/ad3b159657d4bcb373623fdc61acc3bf.asciidoc b/docs/examples/ad3b159657d4bcb373623fdc61acc3bf.asciidoc index e6101c4b9..82e77bf11 100644 --- a/docs/examples/ad3b159657d4bcb373623fdc61acc3bf.asciidoc +++ b/docs/examples/ad3b159657d4bcb373623fdc61acc3bf.asciidoc @@ -1,5 +1,5 @@ // This file is autogenerated, DO NOT EDIT -// search/count.asciidoc:10 +// search/count.asciidoc:16 [source, python] ---- diff --git a/docs/examples/ad88e46bb06739991498dee248850223.asciidoc b/docs/examples/ad88e46bb06739991498dee248850223.asciidoc index 7b3e08bcb..83c9b17fd 100644 --- a/docs/examples/ad88e46bb06739991498dee248850223.asciidoc +++ b/docs/examples/ad88e46bb06739991498dee248850223.asciidoc @@ -1,5 +1,5 @@ // This file is autogenerated, DO NOT EDIT -// cat/thread_pool.asciidoc:136 +// cat/thread_pool.asciidoc:142 [source, python] ---- diff --git a/docs/examples/ad92a1a8bb1b0f26d1536fe8ba4ffd17.asciidoc b/docs/examples/ad92a1a8bb1b0f26d1536fe8ba4ffd17.asciidoc index dd83f695e..4f80d30ef 100644 --- a/docs/examples/ad92a1a8bb1b0f26d1536fe8ba4ffd17.asciidoc +++ b/docs/examples/ad92a1a8bb1b0f26d1536fe8ba4ffd17.asciidoc @@ -1,5 +1,5 @@ // This file is autogenerated, DO NOT EDIT -// search/render-search-template-api.asciidoc:33 +// search/render-search-template-api.asciidoc:39 [source, python] ---- diff --git a/docs/examples/ad9889fd8a4b5930e312a51f3bc996dc.asciidoc b/docs/examples/ad9889fd8a4b5930e312a51f3bc996dc.asciidoc index c5d8dc50d..1a8d6ba81 100644 --- a/docs/examples/ad9889fd8a4b5930e312a51f3bc996dc.asciidoc +++ b/docs/examples/ad9889fd8a4b5930e312a51f3bc996dc.asciidoc @@ -1,5 +1,5 @@ // This file is autogenerated, DO NOT EDIT -// inference/service-elasticsearch.asciidoc:131 +// inference/service-elasticsearch.asciidoc:140 [source, python] ---- diff --git a/docs/examples/adc18ca0c344d81d68ec3b9422b54ff5.asciidoc b/docs/examples/adc18ca0c344d81d68ec3b9422b54ff5.asciidoc index c4abb1185..bdd6602d9 100644 --- a/docs/examples/adc18ca0c344d81d68ec3b9422b54ff5.asciidoc +++ b/docs/examples/adc18ca0c344d81d68ec3b9422b54ff5.asciidoc @@ -1,5 +1,5 @@ // This file is autogenerated, DO NOT EDIT -// search/multi-search.asciidoc:312 +// search/multi-search.asciidoc:318 [source, python] ---- diff --git a/docs/examples/adf36e2d8fc05c3719c91912481c4e19.asciidoc b/docs/examples/adf36e2d8fc05c3719c91912481c4e19.asciidoc index e78abe0de..3a7314c80 100644 --- a/docs/examples/adf36e2d8fc05c3719c91912481c4e19.asciidoc +++ b/docs/examples/adf36e2d8fc05c3719c91912481c4e19.asciidoc @@ -1,5 +1,5 @@ // This file is autogenerated, DO NOT EDIT -// rest-api/security/enable-users.asciidoc:44 +// rest-api/security/enable-users.asciidoc:50 [source, python] ---- diff --git a/docs/examples/ae4aa368617637a390074535df86e64b.asciidoc b/docs/examples/ae4aa368617637a390074535df86e64b.asciidoc index 86c8a2122..586e248d5 100644 --- a/docs/examples/ae4aa368617637a390074535df86e64b.asciidoc +++ b/docs/examples/ae4aa368617637a390074535df86e64b.asciidoc @@ -1,5 +1,5 @@ // This file is autogenerated, DO NOT EDIT -// ml/common/apis/set-upgrade-mode.asciidoc:74 +// ml/common/apis/set-upgrade-mode.asciidoc:80 [source, python] ---- diff --git a/docs/examples/ae82eb17c23cb8e5761cb6240a5ed0a6.asciidoc b/docs/examples/ae82eb17c23cb8e5761cb6240a5ed0a6.asciidoc index 92158eaad..99c88443b 100644 --- a/docs/examples/ae82eb17c23cb8e5761cb6240a5ed0a6.asciidoc +++ b/docs/examples/ae82eb17c23cb8e5761cb6240a5ed0a6.asciidoc @@ -1,5 +1,5 @@ // This file is autogenerated, DO NOT EDIT -// ml/df-analytics/apis/put-dfanalytics.asciidoc:787 +// ml/df-analytics/apis/put-dfanalytics.asciidoc:793 [source, python] ---- diff --git a/docs/examples/ae9ccfaa146731ab9176df90670db1c2.asciidoc b/docs/examples/ae9ccfaa146731ab9176df90670db1c2.asciidoc index b8928b9ed..0e01584d8 100644 --- a/docs/examples/ae9ccfaa146731ab9176df90670db1c2.asciidoc +++ b/docs/examples/ae9ccfaa146731ab9176df90670db1c2.asciidoc @@ -1,5 +1,5 @@ // This file is autogenerated, DO NOT EDIT -// docs/bulk.asciidoc:503 +// docs/bulk.asciidoc:509 [source, python] ---- diff --git a/docs/examples/aeaa97939a05f5b2f3f2c43b771f35e3.asciidoc b/docs/examples/aeaa97939a05f5b2f3f2c43b771f35e3.asciidoc index bdc24bf70..4801a2961 100644 --- a/docs/examples/aeaa97939a05f5b2f3f2c43b771f35e3.asciidoc +++ b/docs/examples/aeaa97939a05f5b2f3f2c43b771f35e3.asciidoc @@ -1,5 +1,5 @@ // This file is autogenerated, DO NOT EDIT -// docs/termvectors.asciidoc:310 +// docs/termvectors.asciidoc:316 [source, python] ---- diff --git a/docs/examples/af18f5c5fb2364ae23c6a14431820aba.asciidoc b/docs/examples/af18f5c5fb2364ae23c6a14431820aba.asciidoc index f89b0e83c..6607a5085 100644 --- a/docs/examples/af18f5c5fb2364ae23c6a14431820aba.asciidoc +++ b/docs/examples/af18f5c5fb2364ae23c6a14431820aba.asciidoc @@ -1,5 +1,5 @@ // This file is autogenerated, DO NOT EDIT -// ingest/apis/enrich/get-enrich-policy.asciidoc:88 +// ingest/apis/enrich/get-enrich-policy.asciidoc:94 [source, python] ---- diff --git a/docs/examples/af517b6936fa41d124d68b107b2efdc3.asciidoc b/docs/examples/af517b6936fa41d124d68b107b2efdc3.asciidoc index 2835b2069..fff63c281 100644 --- a/docs/examples/af517b6936fa41d124d68b107b2efdc3.asciidoc +++ b/docs/examples/af517b6936fa41d124d68b107b2efdc3.asciidoc @@ -1,5 +1,5 @@ // This file is autogenerated, DO NOT EDIT -// ilm/apis/delete-lifecycle.asciidoc:76 +// ilm/apis/delete-lifecycle.asciidoc:82 [source, python] ---- diff --git a/docs/examples/af91019991bee136df5460e2fd4ac72a.asciidoc b/docs/examples/af91019991bee136df5460e2fd4ac72a.asciidoc index 30977ee75..207f8fade 100644 --- a/docs/examples/af91019991bee136df5460e2fd4ac72a.asciidoc +++ b/docs/examples/af91019991bee136df5460e2fd4ac72a.asciidoc @@ -1,5 +1,5 @@ // This file is autogenerated, DO NOT EDIT -// indices/rollover-index.asciidoc:237 +// indices/rollover-index.asciidoc:243 [source, python] ---- diff --git a/docs/examples/af970eb8b93cdea52209e1256eba9d8c.asciidoc b/docs/examples/af970eb8b93cdea52209e1256eba9d8c.asciidoc index 04a36f456..ff65558a3 100644 --- a/docs/examples/af970eb8b93cdea52209e1256eba9d8c.asciidoc +++ b/docs/examples/af970eb8b93cdea52209e1256eba9d8c.asciidoc @@ -1,5 +1,5 @@ // This file is autogenerated, DO NOT EDIT -// indices/shard-stores.asciidoc:124 +// indices/shard-stores.asciidoc:130 [source, python] ---- diff --git a/docs/examples/afbea723c4ba0d50c67d04ebb73a4101.asciidoc b/docs/examples/afbea723c4ba0d50c67d04ebb73a4101.asciidoc index 97e849ed6..3e12c53f2 100644 --- a/docs/examples/afbea723c4ba0d50c67d04ebb73a4101.asciidoc +++ b/docs/examples/afbea723c4ba0d50c67d04ebb73a4101.asciidoc @@ -1,5 +1,5 @@ // This file is autogenerated, DO NOT EDIT -// search-application/apis/delete-search-application.asciidoc:70 +// search-application/apis/delete-search-application.asciidoc:75 [source, python] ---- diff --git a/docs/examples/afc0a9cffc0100797a3f093094394763.asciidoc b/docs/examples/afc0a9cffc0100797a3f093094394763.asciidoc index a7d9d4dd4..46d056150 100644 --- a/docs/examples/afc0a9cffc0100797a3f093094394763.asciidoc +++ b/docs/examples/afc0a9cffc0100797a3f093094394763.asciidoc @@ -1,5 +1,5 @@ // This file is autogenerated, DO NOT EDIT -// rest-api/security/saml-invalidate-api.asciidoc:82 +// rest-api/security/saml-invalidate-api.asciidoc:88 [source, python] ---- diff --git a/docs/examples/afe30f159937b38d74c869570cfcd369.asciidoc b/docs/examples/afe30f159937b38d74c869570cfcd369.asciidoc index 844a2f7cd..72df106f6 100644 --- a/docs/examples/afe30f159937b38d74c869570cfcd369.asciidoc +++ b/docs/examples/afe30f159937b38d74c869570cfcd369.asciidoc @@ -1,5 +1,5 @@ // This file is autogenerated, DO NOT EDIT -// snapshot-restore/apis/restore-snapshot-api.asciidoc:268 +// snapshot-restore/apis/restore-snapshot-api.asciidoc:274 [source, python] ---- diff --git a/docs/examples/afe87a2850326e0328fbebbefec2e839.asciidoc b/docs/examples/afe87a2850326e0328fbebbefec2e839.asciidoc index 8a84f7103..689fa2c78 100644 --- a/docs/examples/afe87a2850326e0328fbebbefec2e839.asciidoc +++ b/docs/examples/afe87a2850326e0328fbebbefec2e839.asciidoc @@ -1,5 +1,5 @@ // This file is autogenerated, DO NOT EDIT -// search/search-shards.asciidoc:171 +// search/search-shards.asciidoc:177 [source, python] ---- diff --git a/docs/examples/b02e4907c9936c1adc16ccce9d49900d.asciidoc b/docs/examples/b02e4907c9936c1adc16ccce9d49900d.asciidoc index bb7fc6ce1..f88cd7811 100644 --- a/docs/examples/b02e4907c9936c1adc16ccce9d49900d.asciidoc +++ b/docs/examples/b02e4907c9936c1adc16ccce9d49900d.asciidoc @@ -1,5 +1,5 @@ // This file is autogenerated, DO NOT EDIT -// cluster/health.asciidoc:159 +// cluster/health.asciidoc:165 [source, python] ---- diff --git a/docs/examples/b0fa301cd3c6b9db128e34114f0c1e8f.asciidoc b/docs/examples/b0fa301cd3c6b9db128e34114f0c1e8f.asciidoc index 720cd29ba..23a519fbc 100644 --- a/docs/examples/b0fa301cd3c6b9db128e34114f0c1e8f.asciidoc +++ b/docs/examples/b0fa301cd3c6b9db128e34114f0c1e8f.asciidoc @@ -1,5 +1,5 @@ // This file is autogenerated, DO NOT EDIT -// docs/update.asciidoc:105 +// docs/update.asciidoc:111 [source, python] ---- diff --git a/docs/examples/b11a0675e49df0709be693297ca73a2c.asciidoc b/docs/examples/b11a0675e49df0709be693297ca73a2c.asciidoc index 73aa660e5..d86bed6c9 100644 --- a/docs/examples/b11a0675e49df0709be693297ca73a2c.asciidoc +++ b/docs/examples/b11a0675e49df0709be693297ca73a2c.asciidoc @@ -1,5 +1,5 @@ // This file is autogenerated, DO NOT EDIT -// rest-api/info.asciidoc:197 +// rest-api/info.asciidoc:199 [source, python] ---- diff --git a/docs/examples/b16700002af3aa70639f3e88c733bf35.asciidoc b/docs/examples/b16700002af3aa70639f3e88c733bf35.asciidoc index 7667385c2..09c525941 100644 --- a/docs/examples/b16700002af3aa70639f3e88c733bf35.asciidoc +++ b/docs/examples/b16700002af3aa70639f3e88c733bf35.asciidoc @@ -1,5 +1,5 @@ // This file is autogenerated, DO NOT EDIT -// search/point-in-time-api.asciidoc:95 +// search/point-in-time-api.asciidoc:101 [source, python] ---- diff --git a/docs/examples/b176e0d428726705298184ef39ad5cb2.asciidoc b/docs/examples/b176e0d428726705298184ef39ad5cb2.asciidoc index a3853583b..0f2a5076f 100644 --- a/docs/examples/b176e0d428726705298184ef39ad5cb2.asciidoc +++ b/docs/examples/b176e0d428726705298184ef39ad5cb2.asciidoc @@ -1,5 +1,5 @@ // This file is autogenerated, DO NOT EDIT -// rest-api/security/create-role-mappings.asciidoc:147 +// rest-api/security/create-role-mappings.asciidoc:153 [source, python] ---- diff --git a/docs/examples/b1ee1b0b5f7af596e5f81743cfd3755f.asciidoc b/docs/examples/b1ee1b0b5f7af596e5f81743cfd3755f.asciidoc index e49919089..f98f4b160 100644 --- a/docs/examples/b1ee1b0b5f7af596e5f81743cfd3755f.asciidoc +++ b/docs/examples/b1ee1b0b5f7af596e5f81743cfd3755f.asciidoc @@ -1,5 +1,5 @@ // This file is autogenerated, DO NOT EDIT -// indices/rollover-index.asciidoc:369 +// indices/rollover-index.asciidoc:375 [source, python] ---- diff --git a/docs/examples/b1efa1c51a34dd5ab5511b71a399f5b1.asciidoc b/docs/examples/b1efa1c51a34dd5ab5511b71a399f5b1.asciidoc index 52dccbd9a..4b66f35f8 100644 --- a/docs/examples/b1efa1c51a34dd5ab5511b71a399f5b1.asciidoc +++ b/docs/examples/b1efa1c51a34dd5ab5511b71a399f5b1.asciidoc @@ -1,5 +1,5 @@ // This file is autogenerated, DO NOT EDIT -// docs/reindex.asciidoc:450 +// docs/reindex.asciidoc:456 [source, python] ---- diff --git a/docs/examples/b22559a7c319f90bc63a41cac1c39b4c.asciidoc b/docs/examples/b22559a7c319f90bc63a41cac1c39b4c.asciidoc index df4bced52..b84d482e7 100644 --- a/docs/examples/b22559a7c319f90bc63a41cac1c39b4c.asciidoc +++ b/docs/examples/b22559a7c319f90bc63a41cac1c39b4c.asciidoc @@ -1,5 +1,5 @@ // This file is autogenerated, DO NOT EDIT -// rest-api/security/invalidate-api-keys.asciidoc:156 +// rest-api/security/invalidate-api-keys.asciidoc:162 [source, python] ---- diff --git a/docs/examples/b23ed357dce8ec0014708b7b2850a8fb.asciidoc b/docs/examples/b23ed357dce8ec0014708b7b2850a8fb.asciidoc index 068770a3d..a30a7bf5e 100644 --- a/docs/examples/b23ed357dce8ec0014708b7b2850a8fb.asciidoc +++ b/docs/examples/b23ed357dce8ec0014708b7b2850a8fb.asciidoc @@ -1,5 +1,5 @@ // This file is autogenerated, DO NOT EDIT -// cat/tasks.asciidoc:78 +// cat/tasks.asciidoc:84 [source, python] ---- diff --git a/docs/examples/b2440b492149b705ef107137fdccb0c2.asciidoc b/docs/examples/b2440b492149b705ef107137fdccb0c2.asciidoc index de487a140..a53fd2170 100644 --- a/docs/examples/b2440b492149b705ef107137fdccb0c2.asciidoc +++ b/docs/examples/b2440b492149b705ef107137fdccb0c2.asciidoc @@ -1,5 +1,5 @@ // This file is autogenerated, DO NOT EDIT -// ccr/apis/follow/get-follow-info.asciidoc:28 +// ccr/apis/follow/get-follow-info.asciidoc:34 [source, python] ---- diff --git a/docs/examples/b25256ed615cd837461b0bfa590526b7.asciidoc b/docs/examples/b25256ed615cd837461b0bfa590526b7.asciidoc index 4c2b3480e..216d8f1da 100644 --- a/docs/examples/b25256ed615cd837461b0bfa590526b7.asciidoc +++ b/docs/examples/b25256ed615cd837461b0bfa590526b7.asciidoc @@ -1,5 +1,5 @@ // This file is autogenerated, DO NOT EDIT -// ccr/apis/auto-follow/pause-auto-follow-pattern.asciidoc:79 +// ccr/apis/auto-follow/pause-auto-follow-pattern.asciidoc:85 [source, python] ---- diff --git a/docs/examples/b3756e700d0f6c7e8919003bdf26bc8f.asciidoc b/docs/examples/b3756e700d0f6c7e8919003bdf26bc8f.asciidoc index 3f151a158..c146919a8 100644 --- a/docs/examples/b3756e700d0f6c7e8919003bdf26bc8f.asciidoc +++ b/docs/examples/b3756e700d0f6c7e8919003bdf26bc8f.asciidoc @@ -1,5 +1,5 @@ // This file is autogenerated, DO NOT EDIT -// troubleshooting/troubleshooting-unbalanced-cluster.asciidoc:72 +// troubleshooting/troubleshooting-unbalanced-cluster.asciidoc:76 [source, python] ---- diff --git a/docs/examples/b37919cc438b47477343833b4e522408.asciidoc b/docs/examples/b37919cc438b47477343833b4e522408.asciidoc index 527c4a589..234facd65 100644 --- a/docs/examples/b37919cc438b47477343833b4e522408.asciidoc +++ b/docs/examples/b37919cc438b47477343833b4e522408.asciidoc @@ -1,5 +1,5 @@ // This file is autogenerated, DO NOT EDIT -// docs/termvectors.asciidoc:418 +// docs/termvectors.asciidoc:424 [source, python] ---- diff --git a/docs/examples/b3a711c3deddcdb8a3f6623184a8b794.asciidoc b/docs/examples/b3a711c3deddcdb8a3f6623184a8b794.asciidoc index 1bb60badb..8d664f1b6 100644 --- a/docs/examples/b3a711c3deddcdb8a3f6623184a8b794.asciidoc +++ b/docs/examples/b3a711c3deddcdb8a3f6623184a8b794.asciidoc @@ -1,5 +1,5 @@ // This file is autogenerated, DO NOT EDIT -// docs/update.asciidoc:118 +// docs/update.asciidoc:124 [source, python] ---- diff --git a/docs/examples/b45a8c6fc746e9c90fd181e69a605fad.asciidoc b/docs/examples/b45a8c6fc746e9c90fd181e69a605fad.asciidoc index 93191cd7e..fe563aefe 100644 --- a/docs/examples/b45a8c6fc746e9c90fd181e69a605fad.asciidoc +++ b/docs/examples/b45a8c6fc746e9c90fd181e69a605fad.asciidoc @@ -1,5 +1,5 @@ // This file is autogenerated, DO NOT EDIT -// inference/post-inference.asciidoc:101 +// inference/post-inference.asciidoc:107 [source, python] ---- diff --git a/docs/examples/b47945c7db8868dd36ba079b742f2a90.asciidoc b/docs/examples/b47945c7db8868dd36ba079b742f2a90.asciidoc index 063d7e389..63aa846a0 100644 --- a/docs/examples/b47945c7db8868dd36ba079b742f2a90.asciidoc +++ b/docs/examples/b47945c7db8868dd36ba079b742f2a90.asciidoc @@ -1,5 +1,5 @@ // This file is autogenerated, DO NOT EDIT -// search-application/apis/put-search-application.asciidoc:197 +// search-application/apis/put-search-application.asciidoc:202 [source, python] ---- diff --git a/docs/examples/b4aec2a1d353852507c091bdb629b765.asciidoc b/docs/examples/b4aec2a1d353852507c091bdb629b765.asciidoc index 8e73e995a..c8e4248f3 100644 --- a/docs/examples/b4aec2a1d353852507c091bdb629b765.asciidoc +++ b/docs/examples/b4aec2a1d353852507c091bdb629b765.asciidoc @@ -1,5 +1,5 @@ // This file is autogenerated, DO NOT EDIT -// ml/anomaly-detection/apis/put-filter.asciidoc:51 +// ml/anomaly-detection/apis/put-filter.asciidoc:57 [source, python] ---- diff --git a/docs/examples/b515427f8685ca7d79176def672d19fa.asciidoc b/docs/examples/b515427f8685ca7d79176def672d19fa.asciidoc index 968ed6448..16018d578 100644 --- a/docs/examples/b515427f8685ca7d79176def672d19fa.asciidoc +++ b/docs/examples/b515427f8685ca7d79176def672d19fa.asciidoc @@ -1,5 +1,5 @@ // This file is autogenerated, DO NOT EDIT -// docs/update-by-query.asciidoc:612 +// docs/update-by-query.asciidoc:618 [source, python] ---- diff --git a/docs/examples/b583bf8d3a2f49d633aa2cfed5606418.asciidoc b/docs/examples/b583bf8d3a2f49d633aa2cfed5606418.asciidoc index b7d77e2f8..61fa4718a 100644 --- a/docs/examples/b583bf8d3a2f49d633aa2cfed5606418.asciidoc +++ b/docs/examples/b583bf8d3a2f49d633aa2cfed5606418.asciidoc @@ -1,5 +1,5 @@ // This file is autogenerated, DO NOT EDIT -// indices/put-component-template.asciidoc:189 +// indices/put-component-template.asciidoc:195 [source, python] ---- diff --git a/docs/examples/b5bc1bb7278f2f95bc54790c78c928e0.asciidoc b/docs/examples/b5bc1bb7278f2f95bc54790c78c928e0.asciidoc index 5f3f94bdc..30ad58e2e 100644 --- a/docs/examples/b5bc1bb7278f2f95bc54790c78c928e0.asciidoc +++ b/docs/examples/b5bc1bb7278f2f95bc54790c78c928e0.asciidoc @@ -1,5 +1,5 @@ // This file is autogenerated, DO NOT EDIT -// rollup/apis/get-job.asciidoc:163 +// rollup/apis/get-job.asciidoc:169 [source, python] ---- diff --git a/docs/examples/b61afb7ca29a11243232ffcc8b5a43cf.asciidoc b/docs/examples/b61afb7ca29a11243232ffcc8b5a43cf.asciidoc index 115fa8975..1741306a9 100644 --- a/docs/examples/b61afb7ca29a11243232ffcc8b5a43cf.asciidoc +++ b/docs/examples/b61afb7ca29a11243232ffcc8b5a43cf.asciidoc @@ -1,5 +1,5 @@ // This file is autogenerated, DO NOT EDIT -// indices/get-field-mapping.asciidoc:165 +// indices/get-field-mapping.asciidoc:171 [source, python] ---- diff --git a/docs/examples/b620ef4400d2f660fe2c67835938442c.asciidoc b/docs/examples/b620ef4400d2f660fe2c67835938442c.asciidoc index 1960d81c3..ac87bba6e 100644 --- a/docs/examples/b620ef4400d2f660fe2c67835938442c.asciidoc +++ b/docs/examples/b620ef4400d2f660fe2c67835938442c.asciidoc @@ -1,5 +1,5 @@ // This file is autogenerated, DO NOT EDIT -// autoscaling/apis/delete-autoscaling-policy.asciidoc:62 +// autoscaling/apis/delete-autoscaling-policy.asciidoc:68 [source, python] ---- diff --git a/docs/examples/b62eaa20c4e0e48134a6d1d1b3c30b26.asciidoc b/docs/examples/b62eaa20c4e0e48134a6d1d1b3c30b26.asciidoc index 80b5bb881..756defefe 100644 --- a/docs/examples/b62eaa20c4e0e48134a6d1d1b3c30b26.asciidoc +++ b/docs/examples/b62eaa20c4e0e48134a6d1d1b3c30b26.asciidoc @@ -1,5 +1,5 @@ // This file is autogenerated, DO NOT EDIT -// text-structure/apis/find-field-structure.asciidoc:89 +// text-structure/apis/find-field-structure.asciidoc:95 [source, python] ---- diff --git a/docs/examples/b66be1daf6c220eb66d94e708b2fae39.asciidoc b/docs/examples/b66be1daf6c220eb66d94e708b2fae39.asciidoc index 8902c863a..aef59ca57 100644 --- a/docs/examples/b66be1daf6c220eb66d94e708b2fae39.asciidoc +++ b/docs/examples/b66be1daf6c220eb66d94e708b2fae39.asciidoc @@ -1,5 +1,5 @@ // This file is autogenerated, DO NOT EDIT -// cluster/state.asciidoc:144 +// cluster/state.asciidoc:150 [source, python] ---- diff --git a/docs/examples/b6e385760e036e36827f719b540d9c11.asciidoc b/docs/examples/b6e385760e036e36827f719b540d9c11.asciidoc index c8743faa1..57c5190f5 100644 --- a/docs/examples/b6e385760e036e36827f719b540d9c11.asciidoc +++ b/docs/examples/b6e385760e036e36827f719b540d9c11.asciidoc @@ -1,5 +1,5 @@ // This file is autogenerated, DO NOT EDIT -// search/profile.asciidoc:1181 +// search/profile.asciidoc:1186 [source, python] ---- diff --git a/docs/examples/b6f690896001f8f9ad5bf24e1304a552.asciidoc b/docs/examples/b6f690896001f8f9ad5bf24e1304a552.asciidoc index 11ce1ba81..c228264e0 100644 --- a/docs/examples/b6f690896001f8f9ad5bf24e1304a552.asciidoc +++ b/docs/examples/b6f690896001f8f9ad5bf24e1304a552.asciidoc @@ -1,5 +1,5 @@ // This file is autogenerated, DO NOT EDIT -// mapping/types/dense-vector.asciidoc:161 +// mapping/types/dense-vector.asciidoc:162 [source, python] ---- diff --git a/docs/examples/b728d6ba226dba719aadcd8b8099cc74.asciidoc b/docs/examples/b728d6ba226dba719aadcd8b8099cc74.asciidoc index 8a0a34451..6f3abd146 100644 --- a/docs/examples/b728d6ba226dba719aadcd8b8099cc74.asciidoc +++ b/docs/examples/b728d6ba226dba719aadcd8b8099cc74.asciidoc @@ -1,5 +1,5 @@ // This file is autogenerated, DO NOT EDIT -// troubleshooting/common-issues/red-yellow-cluster-status.asciidoc:178 +// troubleshooting/common-issues/red-yellow-cluster-status.asciidoc:177 [source, python] ---- diff --git a/docs/examples/b7df0848b2dc3093f931976db5b8cfff.asciidoc b/docs/examples/b7df0848b2dc3093f931976db5b8cfff.asciidoc index 1b1f19f04..3e7d9c41b 100644 --- a/docs/examples/b7df0848b2dc3093f931976db5b8cfff.asciidoc +++ b/docs/examples/b7df0848b2dc3093f931976db5b8cfff.asciidoc @@ -1,5 +1,5 @@ // This file is autogenerated, DO NOT EDIT -// troubleshooting/common-issues/red-yellow-cluster-status.asciidoc:34 +// troubleshooting/common-issues/red-yellow-cluster-status.asciidoc:38 [source, python] ---- diff --git a/docs/examples/b7f8bd33c22f3c93336ab57c2e091f73.asciidoc b/docs/examples/b7f8bd33c22f3c93336ab57c2e091f73.asciidoc index 45fac83a4..0e2e2908a 100644 --- a/docs/examples/b7f8bd33c22f3c93336ab57c2e091f73.asciidoc +++ b/docs/examples/b7f8bd33c22f3c93336ab57c2e091f73.asciidoc @@ -1,5 +1,5 @@ // This file is autogenerated, DO NOT EDIT -// query-rules/apis/delete-query-rule.asciidoc:72 +// query-rules/apis/delete-query-rule.asciidoc:78 [source, python] ---- diff --git a/docs/examples/b80e1f5b26bae4f3c2f8a604b7caaf17.asciidoc b/docs/examples/b80e1f5b26bae4f3c2f8a604b7caaf17.asciidoc index df7cab9e6..5eba3747c 100644 --- a/docs/examples/b80e1f5b26bae4f3c2f8a604b7caaf17.asciidoc +++ b/docs/examples/b80e1f5b26bae4f3c2f8a604b7caaf17.asciidoc @@ -1,5 +1,5 @@ // This file is autogenerated, DO NOT EDIT -// rest-api/security/create-role-mappings.asciidoc:284 +// rest-api/security/create-role-mappings.asciidoc:290 [source, python] ---- diff --git a/docs/examples/b839f79a5d58506baed5714f1876ab55.asciidoc b/docs/examples/b839f79a5d58506baed5714f1876ab55.asciidoc index 59095bc1a..10e3d1228 100644 --- a/docs/examples/b839f79a5d58506baed5714f1876ab55.asciidoc +++ b/docs/examples/b839f79a5d58506baed5714f1876ab55.asciidoc @@ -1,5 +1,5 @@ // This file is autogenerated, DO NOT EDIT -// eql/eql-search-api.asciidoc:24 +// eql/eql-search-api.asciidoc:30 [source, python] ---- diff --git a/docs/examples/b85716ba42a57096452665c38995da7d.asciidoc b/docs/examples/b85716ba42a57096452665c38995da7d.asciidoc index d6e72e9ce..7110472c4 100644 --- a/docs/examples/b85716ba42a57096452665c38995da7d.asciidoc +++ b/docs/examples/b85716ba42a57096452665c38995da7d.asciidoc @@ -1,5 +1,5 @@ // This file is autogenerated, DO NOT EDIT -// ml/df-analytics/apis/preview-dfanalytics.asciidoc:69 +// ml/df-analytics/apis/preview-dfanalytics.asciidoc:75 [source, python] ---- diff --git a/docs/examples/b88a2d96da1401d548a4540cca223d27.asciidoc b/docs/examples/b88a2d96da1401d548a4540cca223d27.asciidoc index 87c9d8ad7..eb6b9ac44 100644 --- a/docs/examples/b88a2d96da1401d548a4540cca223d27.asciidoc +++ b/docs/examples/b88a2d96da1401d548a4540cca223d27.asciidoc @@ -1,5 +1,5 @@ // This file is autogenerated, DO NOT EDIT -// search/search-vector-tile-api.asciidoc:702 +// search/search-vector-tile-api.asciidoc:707 [source, python] ---- diff --git a/docs/examples/ba10b644a4e9a2e7d78744ca607355d0.asciidoc b/docs/examples/ba10b644a4e9a2e7d78744ca607355d0.asciidoc index 4458c3d08..6d90b2c6e 100644 --- a/docs/examples/ba10b644a4e9a2e7d78744ca607355d0.asciidoc +++ b/docs/examples/ba10b644a4e9a2e7d78744ca607355d0.asciidoc @@ -1,5 +1,5 @@ // This file is autogenerated, DO NOT EDIT -// ccr/apis/follow/put-follow.asciidoc:85 +// ccr/apis/follow/put-follow.asciidoc:91 [source, python] ---- diff --git a/docs/examples/ba21a7fbb74180ff138d97032f28ace7.asciidoc b/docs/examples/ba21a7fbb74180ff138d97032f28ace7.asciidoc index 7895c8e6c..a03ce6cb0 100644 --- a/docs/examples/ba21a7fbb74180ff138d97032f28ace7.asciidoc +++ b/docs/examples/ba21a7fbb74180ff138d97032f28ace7.asciidoc @@ -1,5 +1,5 @@ // This file is autogenerated, DO NOT EDIT -// rest-api/security/update-user-profile-data.asciidoc:100 +// rest-api/security/update-user-profile-data.asciidoc:106 [source, python] ---- diff --git a/docs/examples/ba6040de55afb2c8fb9e5b24bb038820.asciidoc b/docs/examples/ba6040de55afb2c8fb9e5b24bb038820.asciidoc index 1655222d3..400d32098 100644 --- a/docs/examples/ba6040de55afb2c8fb9e5b24bb038820.asciidoc +++ b/docs/examples/ba6040de55afb2c8fb9e5b24bb038820.asciidoc @@ -1,5 +1,5 @@ // This file is autogenerated, DO NOT EDIT -// indices/get-index-template-v1.asciidoc:88 +// indices/get-index-template-v1.asciidoc:94 [source, python] ---- diff --git a/docs/examples/baadbfffcd0c16f51eb3537f516dc3ed.asciidoc b/docs/examples/baadbfffcd0c16f51eb3537f516dc3ed.asciidoc index 3cc6bcd3f..b85e9ca70 100644 --- a/docs/examples/baadbfffcd0c16f51eb3537f516dc3ed.asciidoc +++ b/docs/examples/baadbfffcd0c16f51eb3537f516dc3ed.asciidoc @@ -1,5 +1,5 @@ // This file is autogenerated, DO NOT EDIT -// rest-api/security/disable-user-profile.asciidoc:59 +// rest-api/security/disable-user-profile.asciidoc:65 [source, python] ---- diff --git a/docs/examples/bb293e1bdf0c6f6d9069eeb7edc9d399.asciidoc b/docs/examples/bb293e1bdf0c6f6d9069eeb7edc9d399.asciidoc index 29b3df548..ec608f476 100644 --- a/docs/examples/bb293e1bdf0c6f6d9069eeb7edc9d399.asciidoc +++ b/docs/examples/bb293e1bdf0c6f6d9069eeb7edc9d399.asciidoc @@ -1,5 +1,5 @@ // This file is autogenerated, DO NOT EDIT -// rest-api/security/disable-users.asciidoc:45 +// rest-api/security/disable-users.asciidoc:51 [source, python] ---- diff --git a/docs/examples/bb2ba5d1885f87506f90dbb002e518f4.asciidoc b/docs/examples/bb2ba5d1885f87506f90dbb002e518f4.asciidoc index 02de0d726..42efc866a 100644 --- a/docs/examples/bb2ba5d1885f87506f90dbb002e518f4.asciidoc +++ b/docs/examples/bb2ba5d1885f87506f90dbb002e518f4.asciidoc @@ -1,5 +1,5 @@ // This file is autogenerated, DO NOT EDIT -// search/search-your-data/retrievers-examples.asciidoc:347 +// search/search-your-data/retrievers-examples.asciidoc:354 [source, python] ---- diff --git a/docs/examples/bb9e268ec62d19ca2a6366cbb48fae68.asciidoc b/docs/examples/bb9e268ec62d19ca2a6366cbb48fae68.asciidoc index 3c0f50533..6545eae47 100644 --- a/docs/examples/bb9e268ec62d19ca2a6366cbb48fae68.asciidoc +++ b/docs/examples/bb9e268ec62d19ca2a6366cbb48fae68.asciidoc @@ -1,5 +1,5 @@ // This file is autogenerated, DO NOT EDIT -// cat/count.asciidoc:89 +// cat/count.asciidoc:95 [source, python] ---- diff --git a/docs/examples/bcae0f00ae1e6f08fa395ca741fe84f9.asciidoc b/docs/examples/bcae0f00ae1e6f08fa395ca741fe84f9.asciidoc index a58da8614..90a19379d 100644 --- a/docs/examples/bcae0f00ae1e6f08fa395ca741fe84f9.asciidoc +++ b/docs/examples/bcae0f00ae1e6f08fa395ca741fe84f9.asciidoc @@ -1,5 +1,5 @@ // This file is autogenerated, DO NOT EDIT -// search/rank-eval.asciidoc:397 +// search/rank-eval.asciidoc:403 [source, python] ---- diff --git a/docs/examples/bcb572658986d69ae17c28ddd7e4bfd8.asciidoc b/docs/examples/bcb572658986d69ae17c28ddd7e4bfd8.asciidoc index 6725aea3d..ba7480151 100644 --- a/docs/examples/bcb572658986d69ae17c28ddd7e4bfd8.asciidoc +++ b/docs/examples/bcb572658986d69ae17c28ddd7e4bfd8.asciidoc @@ -1,5 +1,5 @@ // This file is autogenerated, DO NOT EDIT -// indices/field-usage-stats.asciidoc:166 +// indices/field-usage-stats.asciidoc:172 [source, python] ---- diff --git a/docs/examples/bccd4eb26b1a325d103b12e198a13c08.asciidoc b/docs/examples/bccd4eb26b1a325d103b12e198a13c08.asciidoc new file mode 100644 index 000000000..76f96d817 --- /dev/null +++ b/docs/examples/bccd4eb26b1a325d103b12e198a13c08.asciidoc @@ -0,0 +1,12 @@ +// This file is autogenerated, DO NOT EDIT +// index-modules/slowlog.asciidoc:102 + +[source, python] +---- +resp = client.indices.get_settings( + index="_all", + expand_wildcards="all", + filter_path="*.settings.index.*.slowlog", +) +print(resp) +---- diff --git a/docs/examples/bcdfaa4487747249699a86a0dcd22f5e.asciidoc b/docs/examples/bcdfaa4487747249699a86a0dcd22f5e.asciidoc index 299222e54..f3b87e892 100644 --- a/docs/examples/bcdfaa4487747249699a86a0dcd22f5e.asciidoc +++ b/docs/examples/bcdfaa4487747249699a86a0dcd22f5e.asciidoc @@ -1,5 +1,5 @@ // This file is autogenerated, DO NOT EDIT -// ingest/apis/simulate-ingest.asciidoc:346 +// ingest/apis/simulate-ingest.asciidoc:352 [source, python] ---- diff --git a/docs/examples/bd23c3a03907b1238dcb07ab9eecae7b.asciidoc b/docs/examples/bd23c3a03907b1238dcb07ab9eecae7b.asciidoc index c26a90e71..6e789e961 100644 --- a/docs/examples/bd23c3a03907b1238dcb07ab9eecae7b.asciidoc +++ b/docs/examples/bd23c3a03907b1238dcb07ab9eecae7b.asciidoc @@ -1,5 +1,5 @@ // This file is autogenerated, DO NOT EDIT -// docs/update-by-query.asciidoc:361 +// docs/update-by-query.asciidoc:367 [source, python] ---- diff --git a/docs/examples/bd3d710ec50a151453e141691163af72.asciidoc b/docs/examples/bd3d710ec50a151453e141691163af72.asciidoc index 2c7c56029..d0315498f 100644 --- a/docs/examples/bd3d710ec50a151453e141691163af72.asciidoc +++ b/docs/examples/bd3d710ec50a151453e141691163af72.asciidoc @@ -1,5 +1,5 @@ // This file is autogenerated, DO NOT EDIT -// cluster/tasks.asciidoc:270 +// cluster/tasks.asciidoc:276 [source, python] ---- diff --git a/docs/examples/bd458073196a19ecdeb24a8016488c20.asciidoc b/docs/examples/bd458073196a19ecdeb24a8016488c20.asciidoc index de4ff9093..5e1f43e88 100644 --- a/docs/examples/bd458073196a19ecdeb24a8016488c20.asciidoc +++ b/docs/examples/bd458073196a19ecdeb24a8016488c20.asciidoc @@ -1,5 +1,5 @@ // This file is autogenerated, DO NOT EDIT -// indices/delete-index-template.asciidoc:26 +// indices/delete-index-template.asciidoc:32 [source, python] ---- diff --git a/docs/examples/bd57976bc93ca64b2d3e001df9f06c82.asciidoc b/docs/examples/bd57976bc93ca64b2d3e001df9f06c82.asciidoc index 15a587aaa..29151f6fe 100644 --- a/docs/examples/bd57976bc93ca64b2d3e001df9f06c82.asciidoc +++ b/docs/examples/bd57976bc93ca64b2d3e001df9f06c82.asciidoc @@ -1,5 +1,5 @@ // This file is autogenerated, DO NOT EDIT -// indices/resolve.asciidoc:101 +// indices/resolve.asciidoc:107 [source, python] ---- diff --git a/docs/examples/bd68666ca2e0be12f7624016317a62bc.asciidoc b/docs/examples/bd68666ca2e0be12f7624016317a62bc.asciidoc index b9451d30c..c11eee665 100644 --- a/docs/examples/bd68666ca2e0be12f7624016317a62bc.asciidoc +++ b/docs/examples/bd68666ca2e0be12f7624016317a62bc.asciidoc @@ -1,5 +1,5 @@ // This file is autogenerated, DO NOT EDIT -// cluster/nodes-stats.asciidoc:2567 +// cluster/nodes-stats.asciidoc:2573 [source, python] ---- diff --git a/docs/examples/bd6f30e3caa3632260da42d9ff82c98c.asciidoc b/docs/examples/bd6f30e3caa3632260da42d9ff82c98c.asciidoc index b9da78352..af92a432c 100644 --- a/docs/examples/bd6f30e3caa3632260da42d9ff82c98c.asciidoc +++ b/docs/examples/bd6f30e3caa3632260da42d9ff82c98c.asciidoc @@ -1,5 +1,5 @@ // This file is autogenerated, DO NOT EDIT -// rest-api/security/clear-api-key-cache.asciidoc:57 +// rest-api/security/clear-api-key-cache.asciidoc:63 [source, python] ---- diff --git a/docs/examples/bd7a1417fc27b5a801334ec44462b376.asciidoc b/docs/examples/bd7a1417fc27b5a801334ec44462b376.asciidoc index 6ba29e06c..09be0234b 100644 --- a/docs/examples/bd7a1417fc27b5a801334ec44462b376.asciidoc +++ b/docs/examples/bd7a1417fc27b5a801334ec44462b376.asciidoc @@ -1,5 +1,5 @@ // This file is autogenerated, DO NOT EDIT -// cat/datafeeds.asciidoc:124 +// cat/datafeeds.asciidoc:130 [source, python] ---- diff --git a/docs/examples/bdb30dd52d32f50994008f4f9c0da5f0.asciidoc b/docs/examples/bdb30dd52d32f50994008f4f9c0da5f0.asciidoc index d7b3c2505..c0d5fa7e2 100644 --- a/docs/examples/bdb30dd52d32f50994008f4f9c0da5f0.asciidoc +++ b/docs/examples/bdb30dd52d32f50994008f4f9c0da5f0.asciidoc @@ -1,5 +1,5 @@ // This file is autogenerated, DO NOT EDIT -// docs/update-by-query.asciidoc:565 +// docs/update-by-query.asciidoc:571 [source, python] ---- diff --git a/docs/examples/bdc1afd2181154bb78797360f9dbb1a0.asciidoc b/docs/examples/bdc1afd2181154bb78797360f9dbb1a0.asciidoc index 3754d13f6..5728f3c24 100644 --- a/docs/examples/bdc1afd2181154bb78797360f9dbb1a0.asciidoc +++ b/docs/examples/bdc1afd2181154bb78797360f9dbb1a0.asciidoc @@ -1,5 +1,5 @@ // This file is autogenerated, DO NOT EDIT -// rest-api/watcher/ack-watch.asciidoc:134 +// rest-api/watcher/ack-watch.asciidoc:140 [source, python] ---- diff --git a/docs/examples/bde74dbbcef8ebf8541cae2c1711255f.asciidoc b/docs/examples/bde74dbbcef8ebf8541cae2c1711255f.asciidoc index 1e4a1811f..df2a86237 100644 --- a/docs/examples/bde74dbbcef8ebf8541cae2c1711255f.asciidoc +++ b/docs/examples/bde74dbbcef8ebf8541cae2c1711255f.asciidoc @@ -1,5 +1,5 @@ // This file is autogenerated, DO NOT EDIT -// search-application/apis/get-search-application.asciidoc:88 +// search-application/apis/get-search-application.asciidoc:93 [source, python] ---- diff --git a/docs/examples/be3a6431d01846950dc1a39a7a6a1faa.asciidoc b/docs/examples/be3a6431d01846950dc1a39a7a6a1faa.asciidoc index aede29898..ab9ea6048 100644 --- a/docs/examples/be3a6431d01846950dc1a39a7a6a1faa.asciidoc +++ b/docs/examples/be3a6431d01846950dc1a39a7a6a1faa.asciidoc @@ -1,5 +1,5 @@ // This file is autogenerated, DO NOT EDIT -// docs/update-by-query.asciidoc:526 +// docs/update-by-query.asciidoc:532 [source, python] ---- diff --git a/docs/examples/be5b415d7f33d6f0397ac2f8b5c10521.asciidoc b/docs/examples/be5b415d7f33d6f0397ac2f8b5c10521.asciidoc index efc1ccbce..fce193164 100644 --- a/docs/examples/be5b415d7f33d6f0397ac2f8b5c10521.asciidoc +++ b/docs/examples/be5b415d7f33d6f0397ac2f8b5c10521.asciidoc @@ -1,5 +1,5 @@ // This file is autogenerated, DO NOT EDIT -// docs/update-by-query.asciidoc:641 +// docs/update-by-query.asciidoc:647 [source, python] ---- diff --git a/docs/examples/be5c5a9c25901737585e4fff9195da3c.asciidoc b/docs/examples/be5c5a9c25901737585e4fff9195da3c.asciidoc index 9592a2f32..1590cce0b 100644 --- a/docs/examples/be5c5a9c25901737585e4fff9195da3c.asciidoc +++ b/docs/examples/be5c5a9c25901737585e4fff9195da3c.asciidoc @@ -1,5 +1,5 @@ // This file is autogenerated, DO NOT EDIT -// mapping/types/dense-vector.asciidoc:434 +// mapping/types/dense-vector.asciidoc:435 [source, python] ---- diff --git a/docs/examples/be5fef0640c3a650ee96f84e3376a1be.asciidoc b/docs/examples/be5fef0640c3a650ee96f84e3376a1be.asciidoc index d57c9b600..416fc9bf1 100644 --- a/docs/examples/be5fef0640c3a650ee96f84e3376a1be.asciidoc +++ b/docs/examples/be5fef0640c3a650ee96f84e3376a1be.asciidoc @@ -1,5 +1,5 @@ // This file is autogenerated, DO NOT EDIT -// docs/update.asciidoc:333 +// docs/update.asciidoc:339 [source, python] ---- diff --git a/docs/examples/be6b0bfcdce1ef100af89f74da5d4748.asciidoc b/docs/examples/be6b0bfcdce1ef100af89f74da5d4748.asciidoc index e049ea57e..b0059ab57 100644 --- a/docs/examples/be6b0bfcdce1ef100af89f74da5d4748.asciidoc +++ b/docs/examples/be6b0bfcdce1ef100af89f74da5d4748.asciidoc @@ -1,5 +1,5 @@ // This file is autogenerated, DO NOT EDIT -// ml/trained-models/apis/put-trained-model-definition-part.asciidoc:64 +// ml/trained-models/apis/put-trained-model-definition-part.asciidoc:70 [source, python] ---- diff --git a/docs/examples/beaf43b274b0f32cf3cf48f59e5cb1f2.asciidoc b/docs/examples/beaf43b274b0f32cf3cf48f59e5cb1f2.asciidoc index 3248655ee..81658ef75 100644 --- a/docs/examples/beaf43b274b0f32cf3cf48f59e5cb1f2.asciidoc +++ b/docs/examples/beaf43b274b0f32cf3cf48f59e5cb1f2.asciidoc @@ -1,5 +1,5 @@ // This file is autogenerated, DO NOT EDIT -// snapshot-restore/apis/get-snapshot-api.asciidoc:745 +// snapshot-restore/apis/get-snapshot-api.asciidoc:751 [source, python] ---- diff --git a/docs/examples/beb0b9ff4f68672273fcff1b7bae706b.asciidoc b/docs/examples/beb0b9ff4f68672273fcff1b7bae706b.asciidoc index 916bf24f0..4f6931ca5 100644 --- a/docs/examples/beb0b9ff4f68672273fcff1b7bae706b.asciidoc +++ b/docs/examples/beb0b9ff4f68672273fcff1b7bae706b.asciidoc @@ -1,5 +1,5 @@ // This file is autogenerated, DO NOT EDIT -// indices/put-mapping.asciidoc:405 +// indices/put-mapping.asciidoc:411 [source, python] ---- diff --git a/docs/examples/befa73a8a419fcf3b7798548b54a20bf.asciidoc b/docs/examples/befa73a8a419fcf3b7798548b54a20bf.asciidoc index 39c93b487..7bd330d62 100644 --- a/docs/examples/befa73a8a419fcf3b7798548b54a20bf.asciidoc +++ b/docs/examples/befa73a8a419fcf3b7798548b54a20bf.asciidoc @@ -1,5 +1,5 @@ // This file is autogenerated, DO NOT EDIT -// search/search-your-data/knn-search.asciidoc:1169 +// search/search-your-data/knn-search.asciidoc:1146 [source, python] ---- diff --git a/docs/examples/bf3c3bc41c593a80faebef1df353e483.asciidoc b/docs/examples/bf3c3bc41c593a80faebef1df353e483.asciidoc new file mode 100644 index 000000000..7ea310dd1 --- /dev/null +++ b/docs/examples/bf3c3bc41c593a80faebef1df353e483.asciidoc @@ -0,0 +1,22 @@ +// This file is autogenerated, DO NOT EDIT +// inference/service-jinaai.asciidoc:169 + +[source, python] +---- +resp = client.inference.put( + task_type="rerank", + inference_id="jinaai-rerank", + inference_config={ + "service": "jinaai", + "service_settings": { + "api_key": "", + "model_id": "jina-reranker-v2-base-multilingual" + }, + "task_settings": { + "top_n": 10, + "return_documents": True + } + }, +) +print(resp) +---- diff --git a/docs/examples/bfb8a15cd05b43094ffbce8078bad3e1.asciidoc b/docs/examples/bfb8a15cd05b43094ffbce8078bad3e1.asciidoc index 2b3be1a00..23d0c7749 100644 --- a/docs/examples/bfb8a15cd05b43094ffbce8078bad3e1.asciidoc +++ b/docs/examples/bfb8a15cd05b43094ffbce8078bad3e1.asciidoc @@ -1,5 +1,5 @@ // This file is autogenerated, DO NOT EDIT -// snapshot-restore/apis/get-snapshot-api.asciidoc:351 +// snapshot-restore/apis/get-snapshot-api.asciidoc:357 [source, python] ---- diff --git a/docs/examples/bfdad8a928ea30d7cf60d0a0a6bc6e2e.asciidoc b/docs/examples/bfdad8a928ea30d7cf60d0a0a6bc6e2e.asciidoc index f3e3cd83e..f252a8b5a 100644 --- a/docs/examples/bfdad8a928ea30d7cf60d0a0a6bc6e2e.asciidoc +++ b/docs/examples/bfdad8a928ea30d7cf60d0a0a6bc6e2e.asciidoc @@ -1,5 +1,5 @@ // This file is autogenerated, DO NOT EDIT -// docs/bulk.asciidoc:715 +// docs/bulk.asciidoc:721 [source, python] ---- diff --git a/docs/examples/c00c9412609832ebceb9e786dd9542df.asciidoc b/docs/examples/c00c9412609832ebceb9e786dd9542df.asciidoc index b6b337eac..e98a75057 100644 --- a/docs/examples/c00c9412609832ebceb9e786dd9542df.asciidoc +++ b/docs/examples/c00c9412609832ebceb9e786dd9542df.asciidoc @@ -1,5 +1,5 @@ // This file is autogenerated, DO NOT EDIT -// connector/apis/update-connector-name-description-api.asciidoc:80 +// connector/apis/update-connector-name-description-api.asciidoc:85 [source, python] ---- diff --git a/docs/examples/c067182d385f59ce5952fb9a716fbf05.asciidoc b/docs/examples/c067182d385f59ce5952fb9a716fbf05.asciidoc index 317a4d06d..44ec44783 100644 --- a/docs/examples/c067182d385f59ce5952fb9a716fbf05.asciidoc +++ b/docs/examples/c067182d385f59ce5952fb9a716fbf05.asciidoc @@ -1,5 +1,5 @@ // This file is autogenerated, DO NOT EDIT -// ml/anomaly-detection/apis/post-calendar-event.asciidoc:79 +// ml/anomaly-detection/apis/post-calendar-event.asciidoc:85 [source, python] ---- diff --git a/docs/examples/c088ce5291ae28650b6091cdec489398.asciidoc b/docs/examples/c088ce5291ae28650b6091cdec489398.asciidoc index 283484b2e..275200553 100644 --- a/docs/examples/c088ce5291ae28650b6091cdec489398.asciidoc +++ b/docs/examples/c088ce5291ae28650b6091cdec489398.asciidoc @@ -1,5 +1,5 @@ // This file is autogenerated, DO NOT EDIT -// search/point-in-time-api.asciidoc:49 +// search/point-in-time-api.asciidoc:55 [source, python] ---- diff --git a/docs/examples/c0ddfb2e6315f5bcf0d3ef414b5bbed3.asciidoc b/docs/examples/c0ddfb2e6315f5bcf0d3ef414b5bbed3.asciidoc index e41d19d84..2c089393c 100644 --- a/docs/examples/c0ddfb2e6315f5bcf0d3ef414b5bbed3.asciidoc +++ b/docs/examples/c0ddfb2e6315f5bcf0d3ef414b5bbed3.asciidoc @@ -1,5 +1,5 @@ // This file is autogenerated, DO NOT EDIT -// connector/apis/update-connector-configuration-api.asciidoc:336 +// connector/apis/update-connector-configuration-api.asciidoc:342 [source, python] ---- diff --git a/docs/examples/c0ebaa33e750b87555dc352073f692e8.asciidoc b/docs/examples/c0ebaa33e750b87555dc352073f692e8.asciidoc index 8d65ebc46..a0352b7c5 100644 --- a/docs/examples/c0ebaa33e750b87555dc352073f692e8.asciidoc +++ b/docs/examples/c0ebaa33e750b87555dc352073f692e8.asciidoc @@ -1,5 +1,5 @@ // This file is autogenerated, DO NOT EDIT -// indices/update-settings.asciidoc:181 +// indices/update-settings.asciidoc:187 [source, python] ---- diff --git a/docs/examples/c0ff8b3db994c4736f7579dde18097d2.asciidoc b/docs/examples/c0ff8b3db994c4736f7579dde18097d2.asciidoc index aaccc1288..79ce5358c 100644 --- a/docs/examples/c0ff8b3db994c4736f7579dde18097d2.asciidoc +++ b/docs/examples/c0ff8b3db994c4736f7579dde18097d2.asciidoc @@ -1,5 +1,5 @@ // This file is autogenerated, DO NOT EDIT -// docs/get.asciidoc:297 +// docs/get.asciidoc:303 [source, python] ---- diff --git a/docs/examples/c12d6e962f083c728f9397932f05202e.asciidoc b/docs/examples/c12d6e962f083c728f9397932f05202e.asciidoc index 89fab2035..a8aaad14e 100644 --- a/docs/examples/c12d6e962f083c728f9397932f05202e.asciidoc +++ b/docs/examples/c12d6e962f083c728f9397932f05202e.asciidoc @@ -1,5 +1,5 @@ // This file is autogenerated, DO NOT EDIT -// connector/apis/list-connector-sync-jobs-api.asciidoc:72 +// connector/apis/list-connector-sync-jobs-api.asciidoc:78 [source, python] ---- diff --git a/docs/examples/c1409f591a01589638d9b00436ce42c0.asciidoc b/docs/examples/c1409f591a01589638d9b00436ce42c0.asciidoc index 34d8ac063..9ee6afc5d 100644 --- a/docs/examples/c1409f591a01589638d9b00436ce42c0.asciidoc +++ b/docs/examples/c1409f591a01589638d9b00436ce42c0.asciidoc @@ -1,5 +1,5 @@ // This file is autogenerated, DO NOT EDIT -// rest-api/security/clear-cache.asciidoc:61 +// rest-api/security/clear-cache.asciidoc:67 [source, python] ---- diff --git a/docs/examples/c147de68fd6da032ad4a3c1bf626f5d6.asciidoc b/docs/examples/c147de68fd6da032ad4a3c1bf626f5d6.asciidoc index 52c80cb16..0c6394b4a 100644 --- a/docs/examples/c147de68fd6da032ad4a3c1bf626f5d6.asciidoc +++ b/docs/examples/c147de68fd6da032ad4a3c1bf626f5d6.asciidoc @@ -1,5 +1,5 @@ // This file is autogenerated, DO NOT EDIT -// search/search-your-data/highlighting.asciidoc:408 +// search/search-your-data/highlighting.asciidoc:410 [source, python] ---- diff --git a/docs/examples/c18100d62ed31bc9e05f62900156e6a8.asciidoc b/docs/examples/c18100d62ed31bc9e05f62900156e6a8.asciidoc index 0011dff0f..0df79b777 100644 --- a/docs/examples/c18100d62ed31bc9e05f62900156e6a8.asciidoc +++ b/docs/examples/c18100d62ed31bc9e05f62900156e6a8.asciidoc @@ -1,5 +1,5 @@ // This file is autogenerated, DO NOT EDIT -// connector/apis/list-connectors-api.asciidoc:93 +// connector/apis/list-connectors-api.asciidoc:102 [source, python] ---- diff --git a/docs/examples/c187b52646cedeebe0716327add65642.asciidoc b/docs/examples/c187b52646cedeebe0716327add65642.asciidoc index 876d69159..cd37f933e 100644 --- a/docs/examples/c187b52646cedeebe0716327add65642.asciidoc +++ b/docs/examples/c187b52646cedeebe0716327add65642.asciidoc @@ -1,5 +1,5 @@ // This file is autogenerated, DO NOT EDIT -// sql/apis/get-async-sql-search-api.asciidoc:12 +// sql/apis/get-async-sql-search-api.asciidoc:18 [source, python] ---- diff --git a/docs/examples/c1ac9e53b04f7acee4b4933969d6b574.asciidoc b/docs/examples/c1ac9e53b04f7acee4b4933969d6b574.asciidoc index 2f923d81d..36082bf5e 100644 --- a/docs/examples/c1ac9e53b04f7acee4b4933969d6b574.asciidoc +++ b/docs/examples/c1ac9e53b04f7acee4b4933969d6b574.asciidoc @@ -1,5 +1,5 @@ // This file is autogenerated, DO NOT EDIT -// transform/apis/preview-transform.asciidoc:290 +// transform/apis/preview-transform.asciidoc:296 [source, python] ---- diff --git a/docs/examples/c1ad9ff64728a5bfeeb485e60ec694a1.asciidoc b/docs/examples/c1ad9ff64728a5bfeeb485e60ec694a1.asciidoc index 14f229c73..0217abf41 100644 --- a/docs/examples/c1ad9ff64728a5bfeeb485e60ec694a1.asciidoc +++ b/docs/examples/c1ad9ff64728a5bfeeb485e60ec694a1.asciidoc @@ -1,5 +1,5 @@ // This file is autogenerated, DO NOT EDIT -// search/rank-eval.asciidoc:453 +// search/rank-eval.asciidoc:459 [source, python] ---- diff --git a/docs/examples/c208a06212dc0cf6ac413d4f2c154296.asciidoc b/docs/examples/c208a06212dc0cf6ac413d4f2c154296.asciidoc index 6c5826271..527a3cbe2 100644 --- a/docs/examples/c208a06212dc0cf6ac413d4f2c154296.asciidoc +++ b/docs/examples/c208a06212dc0cf6ac413d4f2c154296.asciidoc @@ -1,5 +1,5 @@ // This file is autogenerated, DO NOT EDIT -// indices/flush.asciidoc:131 +// indices/flush.asciidoc:137 [source, python] ---- diff --git a/docs/examples/c21aaedb5752a83489476fa3b5e2e9ff.asciidoc b/docs/examples/c21aaedb5752a83489476fa3b5e2e9ff.asciidoc index a30469252..fc46fa4b8 100644 --- a/docs/examples/c21aaedb5752a83489476fa3b5e2e9ff.asciidoc +++ b/docs/examples/c21aaedb5752a83489476fa3b5e2e9ff.asciidoc @@ -1,5 +1,5 @@ // This file is autogenerated, DO NOT EDIT -// query-rules/apis/put-query-rule.asciidoc:114 +// query-rules/apis/put-query-rule.asciidoc:120 [source, python] ---- diff --git a/docs/examples/c21eb4bc30087188241cbba6b6b89999.asciidoc b/docs/examples/c21eb4bc30087188241cbba6b6b89999.asciidoc index 8f36dbfdd..56ad7bb67 100644 --- a/docs/examples/c21eb4bc30087188241cbba6b6b89999.asciidoc +++ b/docs/examples/c21eb4bc30087188241cbba6b6b89999.asciidoc @@ -1,5 +1,5 @@ // This file is autogenerated, DO NOT EDIT -// connector/apis/update-connector-service-type-api.asciidoc:78 +// connector/apis/update-connector-service-type-api.asciidoc:84 [source, python] ---- diff --git a/docs/examples/c23e32775340d7bc6f46820313014d8a.asciidoc b/docs/examples/c23e32775340d7bc6f46820313014d8a.asciidoc index b7197b25f..55a754aa6 100644 --- a/docs/examples/c23e32775340d7bc6f46820313014d8a.asciidoc +++ b/docs/examples/c23e32775340d7bc6f46820313014d8a.asciidoc @@ -1,5 +1,5 @@ // This file is autogenerated, DO NOT EDIT -// scripting/using.asciidoc:520 +// scripting/using.asciidoc:525 [source, python] ---- diff --git a/docs/examples/c27b7d9836aa4ea756f59e9c42911721.asciidoc b/docs/examples/c27b7d9836aa4ea756f59e9c42911721.asciidoc index 090491b43..baaf5ca47 100644 --- a/docs/examples/c27b7d9836aa4ea756f59e9c42911721.asciidoc +++ b/docs/examples/c27b7d9836aa4ea756f59e9c42911721.asciidoc @@ -1,5 +1,5 @@ // This file is autogenerated, DO NOT EDIT -// search/scroll-api.asciidoc:29 +// search/scroll-api.asciidoc:35 [source, python] ---- diff --git a/docs/examples/c47f030216a3c89f92f31787fc4d5df5.asciidoc b/docs/examples/c47f030216a3c89f92f31787fc4d5df5.asciidoc index 9aa8729a4..5a205275c 100644 --- a/docs/examples/c47f030216a3c89f92f31787fc4d5df5.asciidoc +++ b/docs/examples/c47f030216a3c89f92f31787fc4d5df5.asciidoc @@ -1,5 +1,5 @@ // This file is autogenerated, DO NOT EDIT -// cat/plugins.asciidoc:51 +// cat/plugins.asciidoc:56 [source, python] ---- diff --git a/docs/examples/c4a1d03dcfb82913d0724a42b0a89f20.asciidoc b/docs/examples/c4a1d03dcfb82913d0724a42b0a89f20.asciidoc index 671dab80f..982758f0e 100644 --- a/docs/examples/c4a1d03dcfb82913d0724a42b0a89f20.asciidoc +++ b/docs/examples/c4a1d03dcfb82913d0724a42b0a89f20.asciidoc @@ -1,5 +1,5 @@ // This file is autogenerated, DO NOT EDIT -// indices/clearcache.asciidoc:152 +// indices/clearcache.asciidoc:158 [source, python] ---- diff --git a/docs/examples/c4b727723b57052b6504bb74fe09abc6.asciidoc b/docs/examples/c4b727723b57052b6504bb74fe09abc6.asciidoc index 6f9e84063..0a0dda82a 100644 --- a/docs/examples/c4b727723b57052b6504bb74fe09abc6.asciidoc +++ b/docs/examples/c4b727723b57052b6504bb74fe09abc6.asciidoc @@ -1,5 +1,5 @@ // This file is autogenerated, DO NOT EDIT -// indices/put-index-template.asciidoc:12 +// indices/put-index-template.asciidoc:18 [source, python] ---- diff --git a/docs/examples/c526fca1609b4c3c1d12dfd218d69a50.asciidoc b/docs/examples/c526fca1609b4c3c1d12dfd218d69a50.asciidoc index 1134d03e1..8ff744913 100644 --- a/docs/examples/c526fca1609b4c3c1d12dfd218d69a50.asciidoc +++ b/docs/examples/c526fca1609b4c3c1d12dfd218d69a50.asciidoc @@ -1,5 +1,5 @@ // This file is autogenerated, DO NOT EDIT -// indices/put-mapping.asciidoc:377 +// indices/put-mapping.asciidoc:383 [source, python] ---- diff --git a/docs/examples/c54597143ac86540726f6422fd98b22e.asciidoc b/docs/examples/c54597143ac86540726f6422fd98b22e.asciidoc index 62e88c770..88ab8810e 100644 --- a/docs/examples/c54597143ac86540726f6422fd98b22e.asciidoc +++ b/docs/examples/c54597143ac86540726f6422fd98b22e.asciidoc @@ -1,5 +1,5 @@ // This file is autogenerated, DO NOT EDIT -// rest-api/security/update-settings.asciidoc:50 +// rest-api/security/update-settings.asciidoc:56 [source, python] ---- diff --git a/docs/examples/c580990a70028bb49cca8a6bde86bbf6.asciidoc b/docs/examples/c580990a70028bb49cca8a6bde86bbf6.asciidoc index ba601a2c4..20dca25b2 100644 --- a/docs/examples/c580990a70028bb49cca8a6bde86bbf6.asciidoc +++ b/docs/examples/c580990a70028bb49cca8a6bde86bbf6.asciidoc @@ -1,5 +1,5 @@ // This file is autogenerated, DO NOT EDIT -// rest-api/security/bulk-update-api-keys.asciidoc:236 +// rest-api/security/bulk-update-api-keys.asciidoc:242 [source, python] ---- diff --git a/docs/examples/c5ba7c4badb5ef5ca32740106e4aa6b6.asciidoc b/docs/examples/c5ba7c4badb5ef5ca32740106e4aa6b6.asciidoc index fa3ef8edf..641c97480 100644 --- a/docs/examples/c5ba7c4badb5ef5ca32740106e4aa6b6.asciidoc +++ b/docs/examples/c5ba7c4badb5ef5ca32740106e4aa6b6.asciidoc @@ -1,5 +1,5 @@ // This file is autogenerated, DO NOT EDIT -// docs/termvectors.asciidoc:36 +// docs/termvectors.asciidoc:42 [source, python] ---- diff --git a/docs/examples/c6339d09f85000a6432304b0ec63b8f6.asciidoc b/docs/examples/c6339d09f85000a6432304b0ec63b8f6.asciidoc index a25ac7386..448adcb42 100644 --- a/docs/examples/c6339d09f85000a6432304b0ec63b8f6.asciidoc +++ b/docs/examples/c6339d09f85000a6432304b0ec63b8f6.asciidoc @@ -1,5 +1,5 @@ // This file is autogenerated, DO NOT EDIT -// indices/put-component-template.asciidoc:229 +// indices/put-component-template.asciidoc:235 [source, python] ---- diff --git a/docs/examples/c64b61bedb21b9def8fce5092e677af9.asciidoc b/docs/examples/c64b61bedb21b9def8fce5092e677af9.asciidoc index d7ae6d555..645a460ed 100644 --- a/docs/examples/c64b61bedb21b9def8fce5092e677af9.asciidoc +++ b/docs/examples/c64b61bedb21b9def8fce5092e677af9.asciidoc @@ -1,5 +1,5 @@ // This file is autogenerated, DO NOT EDIT -// search/suggesters.asciidoc:46 +// search/suggesters.asciidoc:52 [source, python] ---- diff --git a/docs/examples/c65b00a285f510dcd2865aa3539b4e03.asciidoc b/docs/examples/c65b00a285f510dcd2865aa3539b4e03.asciidoc index 23e572ea8..acb1e92e7 100644 --- a/docs/examples/c65b00a285f510dcd2865aa3539b4e03.asciidoc +++ b/docs/examples/c65b00a285f510dcd2865aa3539b4e03.asciidoc @@ -1,5 +1,5 @@ // This file is autogenerated, DO NOT EDIT -// transform/apis/get-transform.asciidoc:100 +// transform/apis/get-transform.asciidoc:106 [source, python] ---- diff --git a/docs/examples/c67b0f00c2e690303c0e5af2f51e0fea.asciidoc b/docs/examples/c67b0f00c2e690303c0e5af2f51e0fea.asciidoc index 15e29b183..19869bb83 100644 --- a/docs/examples/c67b0f00c2e690303c0e5af2f51e0fea.asciidoc +++ b/docs/examples/c67b0f00c2e690303c0e5af2f51e0fea.asciidoc @@ -1,5 +1,5 @@ // This file is autogenerated, DO NOT EDIT -// search/suggesters.asciidoc:7 +// search/suggesters.asciidoc:13 [source, python] ---- diff --git a/docs/examples/c6b5c695a9b757b5e7325345b206bde5.asciidoc b/docs/examples/c6b5c695a9b757b5e7325345b206bde5.asciidoc index 6d84b16b7..cf1c2d5e0 100644 --- a/docs/examples/c6b5c695a9b757b5e7325345b206bde5.asciidoc +++ b/docs/examples/c6b5c695a9b757b5e7325345b206bde5.asciidoc @@ -1,5 +1,5 @@ // This file is autogenerated, DO NOT EDIT -// ingest/apis/delete-pipeline.asciidoc:82 +// ingest/apis/delete-pipeline.asciidoc:88 [source, python] ---- diff --git a/docs/examples/c6bdd5c7de79d6d9ac8e33a397b511e8.asciidoc b/docs/examples/c6bdd5c7de79d6d9ac8e33a397b511e8.asciidoc index 95bf11903..0fe500a97 100644 --- a/docs/examples/c6bdd5c7de79d6d9ac8e33a397b511e8.asciidoc +++ b/docs/examples/c6bdd5c7de79d6d9ac8e33a397b511e8.asciidoc @@ -1,5 +1,5 @@ // This file is autogenerated, DO NOT EDIT -// indices/put-mapping.asciidoc:321 +// indices/put-mapping.asciidoc:327 [source, python] ---- diff --git a/docs/examples/c765ce78f3605c0e70d213f22aac8a53.asciidoc b/docs/examples/c765ce78f3605c0e70d213f22aac8a53.asciidoc index 8164e0fb0..6385d38d3 100644 --- a/docs/examples/c765ce78f3605c0e70d213f22aac8a53.asciidoc +++ b/docs/examples/c765ce78f3605c0e70d213f22aac8a53.asciidoc @@ -1,5 +1,5 @@ // This file is autogenerated, DO NOT EDIT -// autoscaling/apis/put-autoscaling-policy.asciidoc:67 +// autoscaling/apis/put-autoscaling-policy.asciidoc:73 [source, python] ---- diff --git a/docs/examples/c87038b96ab06d9a741a130f94de4f02.asciidoc b/docs/examples/c87038b96ab06d9a741a130f94de4f02.asciidoc index aae4b0770..ea01b3863 100644 --- a/docs/examples/c87038b96ab06d9a741a130f94de4f02.asciidoc +++ b/docs/examples/c87038b96ab06d9a741a130f94de4f02.asciidoc @@ -1,5 +1,5 @@ // This file is autogenerated, DO NOT EDIT -// docs/delete.asciidoc:138 +// docs/delete.asciidoc:144 [source, python] ---- diff --git a/docs/examples/c873f9cd093e26515148f052e28c7805.asciidoc b/docs/examples/c873f9cd093e26515148f052e28c7805.asciidoc index 3c8efb1f1..c1b267238 100644 --- a/docs/examples/c873f9cd093e26515148f052e28c7805.asciidoc +++ b/docs/examples/c873f9cd093e26515148f052e28c7805.asciidoc @@ -1,5 +1,5 @@ // This file is autogenerated, DO NOT EDIT -// ml/anomaly-detection/apis/get-snapshot.asciidoc:242 +// ml/anomaly-detection/apis/get-snapshot.asciidoc:248 [source, python] ---- diff --git a/docs/examples/c8e2109b19d50467ab83a40006462e9f.asciidoc b/docs/examples/c8e2109b19d50467ab83a40006462e9f.asciidoc index 3a0678550..1d983ce69 100644 --- a/docs/examples/c8e2109b19d50467ab83a40006462e9f.asciidoc +++ b/docs/examples/c8e2109b19d50467ab83a40006462e9f.asciidoc @@ -1,5 +1,5 @@ // This file is autogenerated, DO NOT EDIT -// ingest/apis/enrich/execute-enrich-policy.asciidoc:39 +// ingest/apis/enrich/execute-enrich-policy.asciidoc:45 [source, python] ---- diff --git a/docs/examples/c956bf1f0829a5f0357c0494ed8b6ca3.asciidoc b/docs/examples/c956bf1f0829a5f0357c0494ed8b6ca3.asciidoc index 24b3619a6..76e31cb91 100644 --- a/docs/examples/c956bf1f0829a5f0357c0494ed8b6ca3.asciidoc +++ b/docs/examples/c956bf1f0829a5f0357c0494ed8b6ca3.asciidoc @@ -1,5 +1,5 @@ // This file is autogenerated, DO NOT EDIT -// search/search-template-api.asciidoc:37 +// search/search-template-api.asciidoc:43 [source, python] ---- diff --git a/docs/examples/c97fd95ebdcf56cc973582e37f732ed2.asciidoc b/docs/examples/c97fd95ebdcf56cc973582e37f732ed2.asciidoc index 75fc57939..b131ee6dc 100644 --- a/docs/examples/c97fd95ebdcf56cc973582e37f732ed2.asciidoc +++ b/docs/examples/c97fd95ebdcf56cc973582e37f732ed2.asciidoc @@ -1,5 +1,5 @@ // This file is autogenerated, DO NOT EDIT -// ingest/apis/enrich/get-enrich-policy.asciidoc:176 +// ingest/apis/enrich/get-enrich-policy.asciidoc:182 [source, python] ---- diff --git a/docs/examples/c9c396b94bb88098477e2b08b55a12ee.asciidoc b/docs/examples/c9c396b94bb88098477e2b08b55a12ee.asciidoc index aaa9f110e..e300dd9bb 100644 --- a/docs/examples/c9c396b94bb88098477e2b08b55a12ee.asciidoc +++ b/docs/examples/c9c396b94bb88098477e2b08b55a12ee.asciidoc @@ -1,5 +1,5 @@ // This file is autogenerated, DO NOT EDIT -// docs/bulk.asciidoc:768 +// docs/bulk.asciidoc:774 [source, python] ---- diff --git a/docs/examples/c9ce07a7d3d8a317f08535bdd3aa69a3.asciidoc b/docs/examples/c9ce07a7d3d8a317f08535bdd3aa69a3.asciidoc index 3716ae2e5..477e99432 100644 --- a/docs/examples/c9ce07a7d3d8a317f08535bdd3aa69a3.asciidoc +++ b/docs/examples/c9ce07a7d3d8a317f08535bdd3aa69a3.asciidoc @@ -1,5 +1,5 @@ // This file is autogenerated, DO NOT EDIT -// docs/update.asciidoc:218 +// docs/update.asciidoc:224 [source, python] ---- diff --git a/docs/examples/ca3bcd6278510ebced5f74484033cb36.asciidoc b/docs/examples/ca3bcd6278510ebced5f74484033cb36.asciidoc index b28f8a28a..09d949b21 100644 --- a/docs/examples/ca3bcd6278510ebced5f74484033cb36.asciidoc +++ b/docs/examples/ca3bcd6278510ebced5f74484033cb36.asciidoc @@ -1,5 +1,5 @@ // This file is autogenerated, DO NOT EDIT -// scripting/apis/get-script-languages-api.asciidoc:11 +// scripting/apis/get-script-languages-api.asciidoc:17 [source, python] ---- diff --git a/docs/examples/ca5ae0eb7709f3807bc6239cd4bd9141.asciidoc b/docs/examples/ca5ae0eb7709f3807bc6239cd4bd9141.asciidoc index d9c529956..87288c597 100644 --- a/docs/examples/ca5ae0eb7709f3807bc6239cd4bd9141.asciidoc +++ b/docs/examples/ca5ae0eb7709f3807bc6239cd4bd9141.asciidoc @@ -1,5 +1,5 @@ // This file is autogenerated, DO NOT EDIT -// rest-api/security/get-api-keys.asciidoc:240 +// rest-api/security/get-api-keys.asciidoc:246 [source, python] ---- diff --git a/docs/examples/ca5dda98e977125d40a7fe1e178e213f.asciidoc b/docs/examples/ca5dda98e977125d40a7fe1e178e213f.asciidoc index 2d19bb671..1ae157bfb 100644 --- a/docs/examples/ca5dda98e977125d40a7fe1e178e213f.asciidoc +++ b/docs/examples/ca5dda98e977125d40a7fe1e178e213f.asciidoc @@ -1,5 +1,5 @@ // This file is autogenerated, DO NOT EDIT -// query-dsl/sparse-vector-query.asciidoc:129 +// query-dsl/sparse-vector-query.asciidoc:131 [source, python] ---- diff --git a/docs/examples/ca98afbd6a90f63e02f62239d225313b.asciidoc b/docs/examples/ca98afbd6a90f63e02f62239d225313b.asciidoc index 44fc24e51..a41fd0d74 100644 --- a/docs/examples/ca98afbd6a90f63e02f62239d225313b.asciidoc +++ b/docs/examples/ca98afbd6a90f63e02f62239d225313b.asciidoc @@ -1,5 +1,5 @@ // This file is autogenerated, DO NOT EDIT -// indices/dangling-index-import.asciidoc:59 +// indices/dangling-index-import.asciidoc:65 [source, python] ---- diff --git a/docs/examples/caaafef1a76c2bec677704c2dc233218.asciidoc b/docs/examples/caaafef1a76c2bec677704c2dc233218.asciidoc index 79cb3d0fa..eda82a171 100644 --- a/docs/examples/caaafef1a76c2bec677704c2dc233218.asciidoc +++ b/docs/examples/caaafef1a76c2bec677704c2dc233218.asciidoc @@ -1,5 +1,5 @@ // This file is autogenerated, DO NOT EDIT -// indices/simulate-index.asciidoc:33 +// indices/simulate-index.asciidoc:39 [source, python] ---- diff --git a/docs/examples/caab99520d3fe41f6154d74a7f696057.asciidoc b/docs/examples/caab99520d3fe41f6154d74a7f696057.asciidoc index 5ee574efc..bfb5bdd7b 100644 --- a/docs/examples/caab99520d3fe41f6154d74a7f696057.asciidoc +++ b/docs/examples/caab99520d3fe41f6154d74a7f696057.asciidoc @@ -1,5 +1,5 @@ // This file is autogenerated, DO NOT EDIT -// indices/delete-index.asciidoc:10 +// indices/delete-index.asciidoc:16 [source, python] ---- diff --git a/docs/examples/cafed0e2c2b1d1574eb4a5ecd514a97a.asciidoc b/docs/examples/cafed0e2c2b1d1574eb4a5ecd514a97a.asciidoc index ca255c59b..783d37942 100644 --- a/docs/examples/cafed0e2c2b1d1574eb4a5ecd514a97a.asciidoc +++ b/docs/examples/cafed0e2c2b1d1574eb4a5ecd514a97a.asciidoc @@ -1,5 +1,5 @@ // This file is autogenerated, DO NOT EDIT -// indices/split-index.asciidoc:10 +// indices/split-index.asciidoc:16 [source, python] ---- diff --git a/docs/examples/cb0c3223fd45148497df73adfba2e9ce.asciidoc b/docs/examples/cb0c3223fd45148497df73adfba2e9ce.asciidoc index 96a7054cf..aabe1e15b 100644 --- a/docs/examples/cb0c3223fd45148497df73adfba2e9ce.asciidoc +++ b/docs/examples/cb0c3223fd45148497df73adfba2e9ce.asciidoc @@ -1,5 +1,5 @@ // This file is autogenerated, DO NOT EDIT -// docs/reindex.asciidoc:668 +// docs/reindex.asciidoc:674 [source, python] ---- diff --git a/docs/examples/cb2f70601cb004b9ece9b0b43a9dc21a.asciidoc b/docs/examples/cb2f70601cb004b9ece9b0b43a9dc21a.asciidoc index 881808964..e79ec43a7 100644 --- a/docs/examples/cb2f70601cb004b9ece9b0b43a9dc21a.asciidoc +++ b/docs/examples/cb2f70601cb004b9ece9b0b43a9dc21a.asciidoc @@ -1,5 +1,5 @@ // This file is autogenerated, DO NOT EDIT -// modules/indices/request_cache.asciidoc:47 +// shard-request-cache.asciidoc:49 [source, python] ---- diff --git a/docs/examples/cb71332115c92cfb89375abd30b8bbbb.asciidoc b/docs/examples/cb71332115c92cfb89375abd30b8bbbb.asciidoc index 1070f618e..1c2f2e4ab 100644 --- a/docs/examples/cb71332115c92cfb89375abd30b8bbbb.asciidoc +++ b/docs/examples/cb71332115c92cfb89375abd30b8bbbb.asciidoc @@ -1,5 +1,5 @@ // This file is autogenerated, DO NOT EDIT -// cat.asciidoc:36 +// cat.asciidoc:42 [source, python] ---- diff --git a/docs/examples/cba3462a307e2483c14e3e198f6960e3.asciidoc b/docs/examples/cba3462a307e2483c14e3e198f6960e3.asciidoc index d135a1805..8901f62e7 100644 --- a/docs/examples/cba3462a307e2483c14e3e198f6960e3.asciidoc +++ b/docs/examples/cba3462a307e2483c14e3e198f6960e3.asciidoc @@ -1,5 +1,5 @@ // This file is autogenerated, DO NOT EDIT -// ilm/apis/put-lifecycle.asciidoc:60 +// ilm/apis/put-lifecycle.asciidoc:66 [source, python] ---- diff --git a/docs/examples/cbfd6f23f8283e64ec3157c65bb722c4.asciidoc b/docs/examples/cbfd6f23f8283e64ec3157c65bb722c4.asciidoc index b962ea061..b0c8c3ee0 100644 --- a/docs/examples/cbfd6f23f8283e64ec3157c65bb722c4.asciidoc +++ b/docs/examples/cbfd6f23f8283e64ec3157c65bb722c4.asciidoc @@ -1,5 +1,5 @@ // This file is autogenerated, DO NOT EDIT -// cat.asciidoc:212 +// cat.asciidoc:218 [source, python] ---- diff --git a/docs/examples/cc56be758d5d75febbd975786187c861.asciidoc b/docs/examples/cc56be758d5d75febbd975786187c861.asciidoc index 3af0ff287..6e3db1557 100644 --- a/docs/examples/cc56be758d5d75febbd975786187c861.asciidoc +++ b/docs/examples/cc56be758d5d75febbd975786187c861.asciidoc @@ -1,5 +1,5 @@ // This file is autogenerated, DO NOT EDIT -// rest-api/security/create-service-token.asciidoc:97 +// rest-api/security/create-service-token.asciidoc:103 [source, python] ---- diff --git a/docs/examples/cc90639f2e65bd89cb73296cac6135cf.asciidoc b/docs/examples/cc90639f2e65bd89cb73296cac6135cf.asciidoc index 58814beee..6f32a16b9 100644 --- a/docs/examples/cc90639f2e65bd89cb73296cac6135cf.asciidoc +++ b/docs/examples/cc90639f2e65bd89cb73296cac6135cf.asciidoc @@ -1,5 +1,5 @@ // This file is autogenerated, DO NOT EDIT -// ml/trained-models/apis/delete-trained-models.asciidoc:54 +// ml/trained-models/apis/delete-trained-models.asciidoc:60 [source, python] ---- diff --git a/docs/examples/cc9dac8db7a1482e2fbe3235197c3de1.asciidoc b/docs/examples/cc9dac8db7a1482e2fbe3235197c3de1.asciidoc index 6ea9a977e..e9f3ea560 100644 --- a/docs/examples/cc9dac8db7a1482e2fbe3235197c3de1.asciidoc +++ b/docs/examples/cc9dac8db7a1482e2fbe3235197c3de1.asciidoc @@ -1,5 +1,5 @@ // This file is autogenerated, DO NOT EDIT -// snapshot-restore/apis/restore-snapshot-api.asciidoc:242 +// snapshot-restore/apis/restore-snapshot-api.asciidoc:248 [source, python] ---- diff --git a/docs/examples/ccc613951c61f0b17e1ed8a2d3ae54a2.asciidoc b/docs/examples/ccc613951c61f0b17e1ed8a2d3ae54a2.asciidoc index 9925e6256..38ea94f46 100644 --- a/docs/examples/ccc613951c61f0b17e1ed8a2d3ae54a2.asciidoc +++ b/docs/examples/ccc613951c61f0b17e1ed8a2d3ae54a2.asciidoc @@ -1,5 +1,5 @@ // This file is autogenerated, DO NOT EDIT -// ingest/apis/simulate-ingest.asciidoc:56 +// ingest/apis/simulate-ingest.asciidoc:62 [source, python] ---- diff --git a/docs/examples/ccec66fb20d5ede6c691e0890cfe402a.asciidoc b/docs/examples/ccec66fb20d5ede6c691e0890cfe402a.asciidoc index 1dc1475d9..944545aec 100644 --- a/docs/examples/ccec66fb20d5ede6c691e0890cfe402a.asciidoc +++ b/docs/examples/ccec66fb20d5ede6c691e0890cfe402a.asciidoc @@ -1,5 +1,5 @@ // This file is autogenerated, DO NOT EDIT -// ml/anomaly-detection/apis/delete-job.asciidoc:85 +// ml/anomaly-detection/apis/delete-job.asciidoc:91 [source, python] ---- diff --git a/docs/examples/cd373a6eb1ef4748616500b26fab3006.asciidoc b/docs/examples/cd373a6eb1ef4748616500b26fab3006.asciidoc index 4c58be4f3..50cdf22c1 100644 --- a/docs/examples/cd373a6eb1ef4748616500b26fab3006.asciidoc +++ b/docs/examples/cd373a6eb1ef4748616500b26fab3006.asciidoc @@ -1,5 +1,5 @@ // This file is autogenerated, DO NOT EDIT -// search/async-search.asciidoc:15 +// search/async-search.asciidoc:21 [source, python] ---- diff --git a/docs/examples/cd38c601ab293a6ec0e2df71d0c96b58.asciidoc b/docs/examples/cd38c601ab293a6ec0e2df71d0c96b58.asciidoc index e743b527a..c1c4768d6 100644 --- a/docs/examples/cd38c601ab293a6ec0e2df71d0c96b58.asciidoc +++ b/docs/examples/cd38c601ab293a6ec0e2df71d0c96b58.asciidoc @@ -1,5 +1,5 @@ // This file is autogenerated, DO NOT EDIT -// indices/put-index-template.asciidoc:347 +// indices/put-index-template.asciidoc:353 [source, python] ---- diff --git a/docs/examples/cd67ad2c09fafef2d441c3502d0bb3d7.asciidoc b/docs/examples/cd67ad2c09fafef2d441c3502d0bb3d7.asciidoc index fc5ff0439..2a2f8d0a3 100644 --- a/docs/examples/cd67ad2c09fafef2d441c3502d0bb3d7.asciidoc +++ b/docs/examples/cd67ad2c09fafef2d441c3502d0bb3d7.asciidoc @@ -1,5 +1,5 @@ // This file is autogenerated, DO NOT EDIT -// data-streams/lifecycle/apis/put-lifecycle.asciidoc:78 +// data-streams/lifecycle/apis/put-lifecycle.asciidoc:84 [source, python] ---- diff --git a/docs/examples/cd7da0c3769682f546cc1888e569382e.asciidoc b/docs/examples/cd7da0c3769682f546cc1888e569382e.asciidoc index 471a7c894..b117cb26f 100644 --- a/docs/examples/cd7da0c3769682f546cc1888e569382e.asciidoc +++ b/docs/examples/cd7da0c3769682f546cc1888e569382e.asciidoc @@ -1,5 +1,5 @@ // This file is autogenerated, DO NOT EDIT -// search/search-your-data/highlighting.asciidoc:762 +// search/search-your-data/highlighting.asciidoc:764 [source, python] ---- diff --git a/docs/examples/cd8006165ac64f1ef99af48e5a35a25b.asciidoc b/docs/examples/cd8006165ac64f1ef99af48e5a35a25b.asciidoc index 75d163ad4..3decea8d2 100644 --- a/docs/examples/cd8006165ac64f1ef99af48e5a35a25b.asciidoc +++ b/docs/examples/cd8006165ac64f1ef99af48e5a35a25b.asciidoc @@ -1,5 +1,5 @@ // This file is autogenerated, DO NOT EDIT -// rest-api/security/get-app-privileges.asciidoc:58 +// rest-api/security/get-app-privileges.asciidoc:64 [source, python] ---- diff --git a/docs/examples/cd93919e13f656ad2e6629f45c579b93.asciidoc b/docs/examples/cd93919e13f656ad2e6629f45c579b93.asciidoc index c922da32f..b59f5e22a 100644 --- a/docs/examples/cd93919e13f656ad2e6629f45c579b93.asciidoc +++ b/docs/examples/cd93919e13f656ad2e6629f45c579b93.asciidoc @@ -1,5 +1,5 @@ // This file is autogenerated, DO NOT EDIT -// indices/shard-stores.asciidoc:114 +// indices/shard-stores.asciidoc:120 [source, python] ---- diff --git a/docs/examples/cdb68b3f565df7c85e52a55864b37d40.asciidoc b/docs/examples/cdb68b3f565df7c85e52a55864b37d40.asciidoc index 3009eb74b..f3ee218e6 100644 --- a/docs/examples/cdb68b3f565df7c85e52a55864b37d40.asciidoc +++ b/docs/examples/cdb68b3f565df7c85e52a55864b37d40.asciidoc @@ -1,5 +1,5 @@ // This file is autogenerated, DO NOT EDIT -// indices/put-mapping.asciidoc:358 +// indices/put-mapping.asciidoc:364 [source, python] ---- diff --git a/docs/examples/cdb7613b445e6ed6e8b473f9cae1af90.asciidoc b/docs/examples/cdb7613b445e6ed6e8b473f9cae1af90.asciidoc new file mode 100644 index 000000000..ec203bab7 --- /dev/null +++ b/docs/examples/cdb7613b445e6ed6e8b473f9cae1af90.asciidoc @@ -0,0 +1,35 @@ +// This file is autogenerated, DO NOT EDIT +// query-dsl/intervals-query.asciidoc:497 + +[source, python] +---- +resp = client.search( + query={ + "intervals": { + "my_text": { + "all_of": { + "ordered": True, + "max_gaps": 1, + "intervals": [ + { + "match": { + "query": "my favorite food", + "max_gaps": 0, + "ordered": True + } + }, + { + "match": { + "query": "cold porridge", + "max_gaps": 4, + "ordered": True + } + } + ] + } + } + } + }, +) +print(resp) +---- diff --git a/docs/examples/cdce7bc083dfb36e6f1d465a5c9d5049.asciidoc b/docs/examples/cdce7bc083dfb36e6f1d465a5c9d5049.asciidoc index e6a36d4c5..ec6802cda 100644 --- a/docs/examples/cdce7bc083dfb36e6f1d465a5c9d5049.asciidoc +++ b/docs/examples/cdce7bc083dfb36e6f1d465a5c9d5049.asciidoc @@ -1,5 +1,5 @@ // This file is autogenerated, DO NOT EDIT -// connector/apis/list-connector-sync-jobs-api.asciidoc:50 +// connector/apis/list-connector-sync-jobs-api.asciidoc:56 [source, python] ---- diff --git a/docs/examples/cdd29b01e730b3996de68a2788050021.asciidoc b/docs/examples/cdd29b01e730b3996de68a2788050021.asciidoc index 0e2c7e21c..6646dfebc 100644 --- a/docs/examples/cdd29b01e730b3996de68a2788050021.asciidoc +++ b/docs/examples/cdd29b01e730b3996de68a2788050021.asciidoc @@ -1,5 +1,5 @@ // This file is autogenerated, DO NOT EDIT -// ingest/apis/enrich/delete-enrich-policy.asciidoc:36 +// ingest/apis/enrich/delete-enrich-policy.asciidoc:42 [source, python] ---- diff --git a/docs/examples/cdf400299acd1c7b1b7bb42e284e3d08.asciidoc b/docs/examples/cdf400299acd1c7b1b7bb42e284e3d08.asciidoc index a7e4c711d..e4f4228bc 100644 --- a/docs/examples/cdf400299acd1c7b1b7bb42e284e3d08.asciidoc +++ b/docs/examples/cdf400299acd1c7b1b7bb42e284e3d08.asciidoc @@ -1,5 +1,5 @@ // This file is autogenerated, DO NOT EDIT -// docs/update.asciidoc:135 +// docs/update.asciidoc:141 [source, python] ---- diff --git a/docs/examples/ce0c3d7330727f7673cf68fc9a1cfb86.asciidoc b/docs/examples/ce0c3d7330727f7673cf68fc9a1cfb86.asciidoc index c0642da1f..feef5c26f 100644 --- a/docs/examples/ce0c3d7330727f7673cf68fc9a1cfb86.asciidoc +++ b/docs/examples/ce0c3d7330727f7673cf68fc9a1cfb86.asciidoc @@ -1,5 +1,5 @@ // This file is autogenerated, DO NOT EDIT -// indices/clearcache.asciidoc:11 +// indices/clearcache.asciidoc:17 [source, python] ---- diff --git a/docs/examples/ce2c2e8f5a2e4daf051b6e10122e5aae.asciidoc b/docs/examples/ce2c2e8f5a2e4daf051b6e10122e5aae.asciidoc index c0b2deb1a..2e8eefb75 100644 --- a/docs/examples/ce2c2e8f5a2e4daf051b6e10122e5aae.asciidoc +++ b/docs/examples/ce2c2e8f5a2e4daf051b6e10122e5aae.asciidoc @@ -1,5 +1,5 @@ // This file is autogenerated, DO NOT EDIT -// mapping/types/dense-vector.asciidoc:518 +// mapping/types/dense-vector.asciidoc:519 [source, python] ---- diff --git a/docs/examples/ce3c391c2b1915cfc44a2917bca71d19.asciidoc b/docs/examples/ce3c391c2b1915cfc44a2917bca71d19.asciidoc index b1166bc60..e039c088e 100644 --- a/docs/examples/ce3c391c2b1915cfc44a2917bca71d19.asciidoc +++ b/docs/examples/ce3c391c2b1915cfc44a2917bca71d19.asciidoc @@ -1,5 +1,5 @@ // This file is autogenerated, DO NOT EDIT -// ml/df-analytics/apis/put-dfanalytics.asciidoc:644 +// ml/df-analytics/apis/put-dfanalytics.asciidoc:650 [source, python] ---- diff --git a/docs/examples/ce8471d31e5d60309e142feb040fd2f8.asciidoc b/docs/examples/ce8471d31e5d60309e142feb040fd2f8.asciidoc index 99b1f9058..6f6452a25 100644 --- a/docs/examples/ce8471d31e5d60309e142feb040fd2f8.asciidoc +++ b/docs/examples/ce8471d31e5d60309e142feb040fd2f8.asciidoc @@ -1,5 +1,5 @@ // This file is autogenerated, DO NOT EDIT -// rest-api/watcher/query-watches.asciidoc:67 +// rest-api/watcher/query-watches.asciidoc:73 [source, python] ---- diff --git a/docs/examples/ce8eebfb810335803630abe83278bee7.asciidoc b/docs/examples/ce8eebfb810335803630abe83278bee7.asciidoc index 7ca152642..7ea39330f 100644 --- a/docs/examples/ce8eebfb810335803630abe83278bee7.asciidoc +++ b/docs/examples/ce8eebfb810335803630abe83278bee7.asciidoc @@ -1,5 +1,5 @@ // This file is autogenerated, DO NOT EDIT -// rest-api/security/get-api-keys.asciidoc:247 +// rest-api/security/get-api-keys.asciidoc:253 [source, python] ---- diff --git a/docs/examples/cedb56a71cc743d80263ce352bb21720.asciidoc b/docs/examples/cedb56a71cc743d80263ce352bb21720.asciidoc index 868bbf80a..f9a7673cd 100644 --- a/docs/examples/cedb56a71cc743d80263ce352bb21720.asciidoc +++ b/docs/examples/cedb56a71cc743d80263ce352bb21720.asciidoc @@ -1,5 +1,5 @@ // This file is autogenerated, DO NOT EDIT -// inference/service-elser.asciidoc:148 +// inference/service-elser.asciidoc:157 [source, python] ---- diff --git a/docs/examples/cee491dd0a8d10ed0cb11a2faa0c99f0.asciidoc b/docs/examples/cee491dd0a8d10ed0cb11a2faa0c99f0.asciidoc index 3dfe110b6..9f939fd21 100644 --- a/docs/examples/cee491dd0a8d10ed0cb11a2faa0c99f0.asciidoc +++ b/docs/examples/cee491dd0a8d10ed0cb11a2faa0c99f0.asciidoc @@ -1,5 +1,5 @@ // This file is autogenerated, DO NOT EDIT -// ml/trained-models/apis/infer-trained-model.asciidoc:1179 +// ml/trained-models/apis/infer-trained-model.asciidoc:1185 [source, python] ---- diff --git a/docs/examples/cee591c1fc70d4f180c623a3a6d07755.asciidoc b/docs/examples/cee591c1fc70d4f180c623a3a6d07755.asciidoc index 5b7dabd86..074c899a4 100644 --- a/docs/examples/cee591c1fc70d4f180c623a3a6d07755.asciidoc +++ b/docs/examples/cee591c1fc70d4f180c623a3a6d07755.asciidoc @@ -1,5 +1,5 @@ // This file is autogenerated, DO NOT EDIT -// rest-api/security/invalidate-tokens.asciidoc:72 +// rest-api/security/invalidate-tokens.asciidoc:78 [source, python] ---- diff --git a/docs/examples/cf8ca470156698dbf47fdc822d0a714f.asciidoc b/docs/examples/cf8ca470156698dbf47fdc822d0a714f.asciidoc index 1210a1941..b3a8628a7 100644 --- a/docs/examples/cf8ca470156698dbf47fdc822d0a714f.asciidoc +++ b/docs/examples/cf8ca470156698dbf47fdc822d0a714f.asciidoc @@ -1,5 +1,5 @@ // This file is autogenerated, DO NOT EDIT -// cluster/get-desired-nodes.asciidoc:64 +// cluster/get-desired-nodes.asciidoc:70 [source, python] ---- diff --git a/docs/examples/cfad3631be0634ee49c424f9ccec62d9.asciidoc b/docs/examples/cfad3631be0634ee49c424f9ccec62d9.asciidoc index dba931e60..3259ea16f 100644 --- a/docs/examples/cfad3631be0634ee49c424f9ccec62d9.asciidoc +++ b/docs/examples/cfad3631be0634ee49c424f9ccec62d9.asciidoc @@ -1,5 +1,5 @@ // This file is autogenerated, DO NOT EDIT -// rest-api/security/invalidate-api-keys.asciidoc:168 +// rest-api/security/invalidate-api-keys.asciidoc:174 [source, python] ---- diff --git a/docs/examples/cffce059425d3d21e7f9571500d63524.asciidoc b/docs/examples/cffce059425d3d21e7f9571500d63524.asciidoc index 8f33f2bdc..398be53fe 100644 --- a/docs/examples/cffce059425d3d21e7f9571500d63524.asciidoc +++ b/docs/examples/cffce059425d3d21e7f9571500d63524.asciidoc @@ -1,5 +1,5 @@ // This file is autogenerated, DO NOT EDIT -// rest-api/security/delete-roles.asciidoc:40 +// rest-api/security/delete-roles.asciidoc:46 [source, python] ---- diff --git a/docs/examples/d01d309b0257d6fbca6d0941adeb3256.asciidoc b/docs/examples/d01d309b0257d6fbca6d0941adeb3256.asciidoc index 971c4b3e6..aaa4270d5 100644 --- a/docs/examples/d01d309b0257d6fbca6d0941adeb3256.asciidoc +++ b/docs/examples/d01d309b0257d6fbca6d0941adeb3256.asciidoc @@ -1,5 +1,5 @@ // This file is autogenerated, DO NOT EDIT -// indices/simulate-index.asciidoc:145 +// indices/simulate-index.asciidoc:151 [source, python] ---- diff --git a/docs/examples/d03139a851888db53f8b7affd85eb495.asciidoc b/docs/examples/d03139a851888db53f8b7affd85eb495.asciidoc index fb06927ed..c003a5730 100644 --- a/docs/examples/d03139a851888db53f8b7affd85eb495.asciidoc +++ b/docs/examples/d03139a851888db53f8b7affd85eb495.asciidoc @@ -1,5 +1,5 @@ // This file is autogenerated, DO NOT EDIT -// connector/apis/check-in-connector-api.asciidoc:69 +// connector/apis/check-in-connector-api.asciidoc:75 [source, python] ---- diff --git a/docs/examples/d095b422d9803c02b62c01adffc85376.asciidoc b/docs/examples/d095b422d9803c02b62c01adffc85376.asciidoc index c56dbd0a0..8a4331655 100644 --- a/docs/examples/d095b422d9803c02b62c01adffc85376.asciidoc +++ b/docs/examples/d095b422d9803c02b62c01adffc85376.asciidoc @@ -1,5 +1,5 @@ // This file is autogenerated, DO NOT EDIT -// rollup/apis/get-job.asciidoc:88 +// rollup/apis/get-job.asciidoc:94 [source, python] ---- diff --git a/docs/examples/d14fe5838fc02224f4b5ade2626d6026.asciidoc b/docs/examples/d14fe5838fc02224f4b5ade2626d6026.asciidoc index cb72ce548..eefd5c71b 100644 --- a/docs/examples/d14fe5838fc02224f4b5ade2626d6026.asciidoc +++ b/docs/examples/d14fe5838fc02224f4b5ade2626d6026.asciidoc @@ -1,5 +1,5 @@ // This file is autogenerated, DO NOT EDIT -// ilm/apis/explain.asciidoc:100 +// ilm/apis/explain.asciidoc:106 [source, python] ---- diff --git a/docs/examples/d1b53bc9794e8609bd6f2245624bf977.asciidoc b/docs/examples/d1b53bc9794e8609bd6f2245624bf977.asciidoc index f7b027a88..872762ff1 100644 --- a/docs/examples/d1b53bc9794e8609bd6f2245624bf977.asciidoc +++ b/docs/examples/d1b53bc9794e8609bd6f2245624bf977.asciidoc @@ -1,5 +1,5 @@ // This file is autogenerated, DO NOT EDIT -// ml/anomaly-detection/apis/estimate-model-memory.asciidoc:54 +// ml/anomaly-detection/apis/estimate-model-memory.asciidoc:60 [source, python] ---- diff --git a/docs/examples/d1d8b6e642db1a7c70dbbf0fe6d8e92d.asciidoc b/docs/examples/d1d8b6e642db1a7c70dbbf0fe6d8e92d.asciidoc index 22b7b5a16..fb9b3dc8c 100644 --- a/docs/examples/d1d8b6e642db1a7c70dbbf0fe6d8e92d.asciidoc +++ b/docs/examples/d1d8b6e642db1a7c70dbbf0fe6d8e92d.asciidoc @@ -1,5 +1,5 @@ // This file is autogenerated, DO NOT EDIT -// query-dsl/sparse-vector-query.asciidoc:190 +// query-dsl/sparse-vector-query.asciidoc:192 [source, python] ---- diff --git a/docs/examples/d1e0fee64389e7c8d4c092030626b61f.asciidoc b/docs/examples/d1e0fee64389e7c8d4c092030626b61f.asciidoc index f7602e3f4..bec485a6c 100644 --- a/docs/examples/d1e0fee64389e7c8d4c092030626b61f.asciidoc +++ b/docs/examples/d1e0fee64389e7c8d4c092030626b61f.asciidoc @@ -1,5 +1,5 @@ // This file is autogenerated, DO NOT EDIT -// rest-api/security/get-api-keys.asciidoc:209 +// rest-api/security/get-api-keys.asciidoc:215 [source, python] ---- diff --git a/docs/examples/d1fde25de1980b7e84fa878289fd0bcb.asciidoc b/docs/examples/d1fde25de1980b7e84fa878289fd0bcb.asciidoc index 38483671b..712879b6b 100644 --- a/docs/examples/d1fde25de1980b7e84fa878289fd0bcb.asciidoc +++ b/docs/examples/d1fde25de1980b7e84fa878289fd0bcb.asciidoc @@ -1,5 +1,5 @@ // This file is autogenerated, DO NOT EDIT -// docs/update-by-query.asciidoc:654 +// docs/update-by-query.asciidoc:660 [source, python] ---- diff --git a/docs/examples/d29031409016b2b798148ef173a196ae.asciidoc b/docs/examples/d29031409016b2b798148ef173a196ae.asciidoc index a51a0ed9c..9a2275025 100644 --- a/docs/examples/d29031409016b2b798148ef173a196ae.asciidoc +++ b/docs/examples/d29031409016b2b798148ef173a196ae.asciidoc @@ -1,5 +1,5 @@ // This file is autogenerated, DO NOT EDIT -// mapping/types/semantic-text.asciidoc:131 +// mapping/types/semantic-text.asciidoc:132 [source, python] ---- diff --git a/docs/examples/d3263afc69b6f969b9bbd8738cd07b97.asciidoc b/docs/examples/d3263afc69b6f969b9bbd8738cd07b97.asciidoc index d0717b7b6..3301055fa 100644 --- a/docs/examples/d3263afc69b6f969b9bbd8738cd07b97.asciidoc +++ b/docs/examples/d3263afc69b6f969b9bbd8738cd07b97.asciidoc @@ -1,5 +1,5 @@ // This file is autogenerated, DO NOT EDIT -// ccr/apis/follow/post-pause-follow.asciidoc:67 +// ccr/apis/follow/post-pause-follow.asciidoc:73 [source, python] ---- diff --git a/docs/examples/d35c8cf7a98b3f112e1de8797ec6689d.asciidoc b/docs/examples/d35c8cf7a98b3f112e1de8797ec6689d.asciidoc index bd47ca828..bda513c8a 100644 --- a/docs/examples/d35c8cf7a98b3f112e1de8797ec6689d.asciidoc +++ b/docs/examples/d35c8cf7a98b3f112e1de8797ec6689d.asciidoc @@ -1,5 +1,5 @@ // This file is autogenerated, DO NOT EDIT -// rest-api/security/oidc-prepare-authentication-api.asciidoc:128 +// rest-api/security/oidc-prepare-authentication-api.asciidoc:134 [source, python] ---- diff --git a/docs/examples/d3672a87a857ddb87519788236e57497.asciidoc b/docs/examples/d3672a87a857ddb87519788236e57497.asciidoc new file mode 100644 index 000000000..756cdf5be --- /dev/null +++ b/docs/examples/d3672a87a857ddb87519788236e57497.asciidoc @@ -0,0 +1,28 @@ +// This file is autogenerated, DO NOT EDIT +// inference/service-jinaai.asciidoc:232 + +[source, python] +---- +resp = client.search( + index="jinaai-index", + retriever={ + "text_similarity_reranker": { + "retriever": { + "standard": { + "query": { + "semantic": { + "field": "content", + "query": "who inspired taking care of the sea?" + } + } + } + }, + "field": "content", + "rank_window_size": 100, + "inference_id": "jinaai-rerank", + "inference_text": "who inspired taking care of the sea?" + } + }, +) +print(resp) +---- diff --git a/docs/examples/d4323be84152fa91abd76e966d4751dc.asciidoc b/docs/examples/d4323be84152fa91abd76e966d4751dc.asciidoc index 4e212eaf9..66d97f60e 100644 --- a/docs/examples/d4323be84152fa91abd76e966d4751dc.asciidoc +++ b/docs/examples/d4323be84152fa91abd76e966d4751dc.asciidoc @@ -1,5 +1,5 @@ // This file is autogenerated, DO NOT EDIT -// rest-api/security/query-api-key.asciidoc:469 +// rest-api/security/query-api-key.asciidoc:474 [source, python] ---- diff --git a/docs/examples/d46e9739bbf25eb2f7225f58ab08b2a7.asciidoc b/docs/examples/d46e9739bbf25eb2f7225f58ab08b2a7.asciidoc index 920b8ddb3..f52d17618 100644 --- a/docs/examples/d46e9739bbf25eb2f7225f58ab08b2a7.asciidoc +++ b/docs/examples/d46e9739bbf25eb2f7225f58ab08b2a7.asciidoc @@ -1,5 +1,5 @@ // This file is autogenerated, DO NOT EDIT -// rest-api/security/saml-complete-logout-api.asciidoc:83 +// rest-api/security/saml-complete-logout-api.asciidoc:89 [source, python] ---- diff --git a/docs/examples/d48b274a4b6098ffef0c016c6c945fb9.asciidoc b/docs/examples/d48b274a4b6098ffef0c016c6c945fb9.asciidoc index 77bb46877..bf5f7a444 100644 --- a/docs/examples/d48b274a4b6098ffef0c016c6c945fb9.asciidoc +++ b/docs/examples/d48b274a4b6098ffef0c016c6c945fb9.asciidoc @@ -1,5 +1,5 @@ // This file is autogenerated, DO NOT EDIT -// rest-api/security/get-tokens.asciidoc:216 +// rest-api/security/get-tokens.asciidoc:222 [source, python] ---- diff --git a/docs/examples/d4b405ef0302227e050ac8f0e39068e1.asciidoc b/docs/examples/d4b405ef0302227e050ac8f0e39068e1.asciidoc index 0a0a05e6a..2ea22c903 100644 --- a/docs/examples/d4b405ef0302227e050ac8f0e39068e1.asciidoc +++ b/docs/examples/d4b405ef0302227e050ac8f0e39068e1.asciidoc @@ -1,5 +1,5 @@ // This file is autogenerated, DO NOT EDIT -// ml/df-analytics/apis/evaluate-dfanalytics.asciidoc:253 +// ml/df-analytics/apis/evaluate-dfanalytics.asciidoc:259 [source, python] ---- diff --git a/docs/examples/d4d450f536d747d5ef5050d2d8c66f09.asciidoc b/docs/examples/d4d450f536d747d5ef5050d2d8c66f09.asciidoc index b1a92fc25..4837789c1 100644 --- a/docs/examples/d4d450f536d747d5ef5050d2d8c66f09.asciidoc +++ b/docs/examples/d4d450f536d747d5ef5050d2d8c66f09.asciidoc @@ -1,5 +1,5 @@ // This file is autogenerated, DO NOT EDIT -// search/validate.asciidoc:87 +// search/validate.asciidoc:93 [source, python] ---- diff --git a/docs/examples/d4df39f72d3a3b80cd4042f6a21c3f19.asciidoc b/docs/examples/d4df39f72d3a3b80cd4042f6a21c3f19.asciidoc index 4859346e4..8726658f3 100644 --- a/docs/examples/d4df39f72d3a3b80cd4042f6a21c3f19.asciidoc +++ b/docs/examples/d4df39f72d3a3b80cd4042f6a21c3f19.asciidoc @@ -1,5 +1,5 @@ // This file is autogenerated, DO NOT EDIT -// ingest/apis/put-ip-location-database.asciidoc:34 +// ingest/apis/put-ip-location-database.asciidoc:40 [source, python] ---- diff --git a/docs/examples/d4ef6ac034c4d42cb75d830ec69146e6.asciidoc b/docs/examples/d4ef6ac034c4d42cb75d830ec69146e6.asciidoc index 76daae69a..cac078e13 100644 --- a/docs/examples/d4ef6ac034c4d42cb75d830ec69146e6.asciidoc +++ b/docs/examples/d4ef6ac034c4d42cb75d830ec69146e6.asciidoc @@ -1,5 +1,5 @@ // This file is autogenerated, DO NOT EDIT -// ccr/apis/auto-follow/delete-auto-follow-pattern.asciidoc:69 +// ccr/apis/auto-follow/delete-auto-follow-pattern.asciidoc:75 [source, python] ---- diff --git a/docs/examples/d50b030edfe6d1128eb76aa5ba9d4e27.asciidoc b/docs/examples/d50b030edfe6d1128eb76aa5ba9d4e27.asciidoc index 0d4378362..acf3c899e 100644 --- a/docs/examples/d50b030edfe6d1128eb76aa5ba9d4e27.asciidoc +++ b/docs/examples/d50b030edfe6d1128eb76aa5ba9d4e27.asciidoc @@ -1,5 +1,5 @@ // This file is autogenerated, DO NOT EDIT -// ml/trained-models/apis/put-trained-models-aliases.asciidoc:94 +// ml/trained-models/apis/put-trained-models-aliases.asciidoc:99 [source, python] ---- diff --git a/docs/examples/d524db57be9f16abac5396895b9a2a59.asciidoc b/docs/examples/d524db57be9f16abac5396895b9a2a59.asciidoc index b16084909..02b65b221 100644 --- a/docs/examples/d524db57be9f16abac5396895b9a2a59.asciidoc +++ b/docs/examples/d524db57be9f16abac5396895b9a2a59.asciidoc @@ -1,5 +1,5 @@ // This file is autogenerated, DO NOT EDIT -// indices/resolve.asciidoc:47 +// indices/resolve.asciidoc:53 [source, python] ---- diff --git a/docs/examples/d5533f08f5cc0479f07a46c761f0786b.asciidoc b/docs/examples/d5533f08f5cc0479f07a46c761f0786b.asciidoc index bc24e9978..12f1b6a1a 100644 --- a/docs/examples/d5533f08f5cc0479f07a46c761f0786b.asciidoc +++ b/docs/examples/d5533f08f5cc0479f07a46c761f0786b.asciidoc @@ -1,5 +1,5 @@ // This file is autogenerated, DO NOT EDIT -// docs/get.asciidoc:321 +// docs/get.asciidoc:327 [source, python] ---- diff --git a/docs/examples/d56a9d89282df56adbbc34b91390ac17.asciidoc b/docs/examples/d56a9d89282df56adbbc34b91390ac17.asciidoc index fdc2e6aba..8f9d5911f 100644 --- a/docs/examples/d56a9d89282df56adbbc34b91390ac17.asciidoc +++ b/docs/examples/d56a9d89282df56adbbc34b91390ac17.asciidoc @@ -1,5 +1,5 @@ // This file is autogenerated, DO NOT EDIT -// ccr/apis/auto-follow/get-auto-follow-pattern.asciidoc:49 +// ccr/apis/auto-follow/get-auto-follow-pattern.asciidoc:55 [source, python] ---- diff --git a/docs/examples/d5d0ecf75843ddb5f92cfebd089e53e9.asciidoc b/docs/examples/d5d0ecf75843ddb5f92cfebd089e53e9.asciidoc index 4b4e8163c..d871dbc9f 100644 --- a/docs/examples/d5d0ecf75843ddb5f92cfebd089e53e9.asciidoc +++ b/docs/examples/d5d0ecf75843ddb5f92cfebd089e53e9.asciidoc @@ -1,5 +1,5 @@ // This file is autogenerated, DO NOT EDIT -// docs/reindex.asciidoc:742 +// docs/reindex.asciidoc:748 [source, python] ---- diff --git a/docs/examples/d5ead6aacbfbedc8396f87bb34acc880.asciidoc b/docs/examples/d5ead6aacbfbedc8396f87bb34acc880.asciidoc index 50b1633ff..d728103a6 100644 --- a/docs/examples/d5ead6aacbfbedc8396f87bb34acc880.asciidoc +++ b/docs/examples/d5ead6aacbfbedc8396f87bb34acc880.asciidoc @@ -1,5 +1,5 @@ // This file is autogenerated, DO NOT EDIT -// eql/get-async-eql-search-api.asciidoc:14 +// eql/get-async-eql-search-api.asciidoc:20 [source, python] ---- diff --git a/docs/examples/d603e76ab70131f7ec6b08758f95a0e3.asciidoc b/docs/examples/d603e76ab70131f7ec6b08758f95a0e3.asciidoc index 2d05e9e67..b2a1f1635 100644 --- a/docs/examples/d603e76ab70131f7ec6b08758f95a0e3.asciidoc +++ b/docs/examples/d603e76ab70131f7ec6b08758f95a0e3.asciidoc @@ -1,5 +1,5 @@ // This file is autogenerated, DO NOT EDIT -// cat/recovery.asciidoc:142 +// cat/recovery.asciidoc:148 [source, python] ---- diff --git a/docs/examples/d681508a745b2bc777d47ba606d24224.asciidoc b/docs/examples/d681508a745b2bc777d47ba606d24224.asciidoc index ac543ef18..3e907d7a5 100644 --- a/docs/examples/d681508a745b2bc777d47ba606d24224.asciidoc +++ b/docs/examples/d681508a745b2bc777d47ba606d24224.asciidoc @@ -1,5 +1,5 @@ // This file is autogenerated, DO NOT EDIT -// cat/fielddata.asciidoc:152 +// cat/fielddata.asciidoc:158 [source, python] ---- diff --git a/docs/examples/d6a21afa4a94b9baa734eac430940bcf.asciidoc b/docs/examples/d6a21afa4a94b9baa734eac430940bcf.asciidoc index 7857d03d4..44333100e 100644 --- a/docs/examples/d6a21afa4a94b9baa734eac430940bcf.asciidoc +++ b/docs/examples/d6a21afa4a94b9baa734eac430940bcf.asciidoc @@ -1,5 +1,5 @@ // This file is autogenerated, DO NOT EDIT -// connector/apis/list-connectors-api.asciidoc:86 +// connector/apis/list-connectors-api.asciidoc:95 [source, python] ---- diff --git a/docs/examples/d7141bd4d0db964f5cc4a872ad79dce9.asciidoc b/docs/examples/d7141bd4d0db964f5cc4a872ad79dce9.asciidoc index 6c9d7e7d0..2b3a76482 100644 --- a/docs/examples/d7141bd4d0db964f5cc4a872ad79dce9.asciidoc +++ b/docs/examples/d7141bd4d0db964f5cc4a872ad79dce9.asciidoc @@ -1,5 +1,5 @@ // This file is autogenerated, DO NOT EDIT -// features/apis/reset-features-api.asciidoc:14 +// features/apis/reset-features-api.asciidoc:20 [source, python] ---- diff --git a/docs/examples/d775836a0d7abecc6637aa988f204c30.asciidoc b/docs/examples/d775836a0d7abecc6637aa988f204c30.asciidoc index 46b21f906..8a55e35ce 100644 --- a/docs/examples/d775836a0d7abecc6637aa988f204c30.asciidoc +++ b/docs/examples/d775836a0d7abecc6637aa988f204c30.asciidoc @@ -1,5 +1,5 @@ // This file is autogenerated, DO NOT EDIT -// docs/termvectors.asciidoc:218 +// docs/termvectors.asciidoc:224 [source, python] ---- diff --git a/docs/examples/d7898526d239d2aea83727fb982f8f77.asciidoc b/docs/examples/d7898526d239d2aea83727fb982f8f77.asciidoc index d02e7b8c5..fbf8ababd 100644 --- a/docs/examples/d7898526d239d2aea83727fb982f8f77.asciidoc +++ b/docs/examples/d7898526d239d2aea83727fb982f8f77.asciidoc @@ -1,5 +1,5 @@ // This file is autogenerated, DO NOT EDIT -// indices/refresh.asciidoc:113 +// indices/refresh.asciidoc:119 [source, python] ---- diff --git a/docs/examples/d7ae456f119246e95f2f4c37e7544b8c.asciidoc b/docs/examples/d7ae456f119246e95f2f4c37e7544b8c.asciidoc index ed5729b4f..8f3de184f 100644 --- a/docs/examples/d7ae456f119246e95f2f4c37e7544b8c.asciidoc +++ b/docs/examples/d7ae456f119246e95f2f4c37e7544b8c.asciidoc @@ -1,5 +1,5 @@ // This file is autogenerated, DO NOT EDIT -// ml/anomaly-detection/apis/start-datafeed.asciidoc:109 +// ml/anomaly-detection/apis/start-datafeed.asciidoc:115 [source, python] ---- diff --git a/docs/examples/d7fe687201ac87b307cd06ed015dd317.asciidoc b/docs/examples/d7fe687201ac87b307cd06ed015dd317.asciidoc index f77b3758f..e713f4ada 100644 --- a/docs/examples/d7fe687201ac87b307cd06ed015dd317.asciidoc +++ b/docs/examples/d7fe687201ac87b307cd06ed015dd317.asciidoc @@ -1,5 +1,5 @@ // This file is autogenerated, DO NOT EDIT -// indices/put-mapping.asciidoc:282 +// indices/put-mapping.asciidoc:288 [source, python] ---- diff --git a/docs/examples/d80ac403d8d936ca9dec185c7da13f2f.asciidoc b/docs/examples/d80ac403d8d936ca9dec185c7da13f2f.asciidoc index 8a73c0098..592d64248 100644 --- a/docs/examples/d80ac403d8d936ca9dec185c7da13f2f.asciidoc +++ b/docs/examples/d80ac403d8d936ca9dec185c7da13f2f.asciidoc @@ -1,5 +1,5 @@ // This file is autogenerated, DO NOT EDIT -// scripting/apis/create-stored-script-api.asciidoc:11 +// scripting/apis/create-stored-script-api.asciidoc:17 [source, python] ---- diff --git a/docs/examples/d870d5bd1f97fc75872a298fcddec513.asciidoc b/docs/examples/d870d5bd1f97fc75872a298fcddec513.asciidoc index e128de0b6..adc5382ea 100644 --- a/docs/examples/d870d5bd1f97fc75872a298fcddec513.asciidoc +++ b/docs/examples/d870d5bd1f97fc75872a298fcddec513.asciidoc @@ -1,5 +1,5 @@ // This file is autogenerated, DO NOT EDIT -// text-structure/apis/find-structure.asciidoc:95 +// text-structure/apis/find-structure.asciidoc:101 [source, python] ---- diff --git a/docs/examples/d87175daed2327565d4325528c6d8b38.asciidoc b/docs/examples/d87175daed2327565d4325528c6d8b38.asciidoc index 2aca8df64..7f274a06b 100644 --- a/docs/examples/d87175daed2327565d4325528c6d8b38.asciidoc +++ b/docs/examples/d87175daed2327565d4325528c6d8b38.asciidoc @@ -1,5 +1,5 @@ // This file is autogenerated, DO NOT EDIT -// docs/get.asciidoc:229 +// docs/get.asciidoc:235 [source, python] ---- diff --git a/docs/examples/d89d36741d906a71eca6c144e8d83889.asciidoc b/docs/examples/d89d36741d906a71eca6c144e8d83889.asciidoc index 66975ea95..de73d93f5 100644 --- a/docs/examples/d89d36741d906a71eca6c144e8d83889.asciidoc +++ b/docs/examples/d89d36741d906a71eca6c144e8d83889.asciidoc @@ -1,5 +1,5 @@ // This file is autogenerated, DO NOT EDIT -// cluster/tasks.asciidoc:237 +// cluster/tasks.asciidoc:243 [source, python] ---- diff --git a/docs/examples/d8a82511cb94f49b4fe4828fee3ba074.asciidoc b/docs/examples/d8a82511cb94f49b4fe4828fee3ba074.asciidoc index 7f8a3b734..393d427ca 100644 --- a/docs/examples/d8a82511cb94f49b4fe4828fee3ba074.asciidoc +++ b/docs/examples/d8a82511cb94f49b4fe4828fee3ba074.asciidoc @@ -1,5 +1,5 @@ // This file is autogenerated, DO NOT EDIT -// troubleshooting/common-issues/circuit-breaker-errors.asciidoc:56 +// troubleshooting/common-issues/circuit-breaker-errors.asciidoc:63 [source, python] ---- diff --git a/docs/examples/d8c053ee26c1533ce936ec81101d8e1b.asciidoc b/docs/examples/d8c053ee26c1533ce936ec81101d8e1b.asciidoc index 343d54530..78590c949 100644 --- a/docs/examples/d8c053ee26c1533ce936ec81101d8e1b.asciidoc +++ b/docs/examples/d8c053ee26c1533ce936ec81101d8e1b.asciidoc @@ -1,5 +1,5 @@ // This file is autogenerated, DO NOT EDIT -// ingest/apis/get-ip-location-database.asciidoc:55 +// ingest/apis/get-ip-location-database.asciidoc:61 [source, python] ---- diff --git a/docs/examples/da18bae37cda566c0254b30c15221b01.asciidoc b/docs/examples/da18bae37cda566c0254b30c15221b01.asciidoc index 9f1939a58..5d577108a 100644 --- a/docs/examples/da18bae37cda566c0254b30c15221b01.asciidoc +++ b/docs/examples/da18bae37cda566c0254b30c15221b01.asciidoc @@ -1,5 +1,5 @@ // This file is autogenerated, DO NOT EDIT -// rest-api/security/clear-service-token-caches.asciidoc:55 +// rest-api/security/clear-service-token-caches.asciidoc:61 [source, python] ---- diff --git a/docs/examples/da3f280bc65b581fb3097be768061bee.asciidoc b/docs/examples/da3f280bc65b581fb3097be768061bee.asciidoc index 7dfabdaa3..0b88203ea 100644 --- a/docs/examples/da3f280bc65b581fb3097be768061bee.asciidoc +++ b/docs/examples/da3f280bc65b581fb3097be768061bee.asciidoc @@ -1,5 +1,5 @@ // This file is autogenerated, DO NOT EDIT -// rest-api/security/saml-prepare-authentication-api.asciidoc:90 +// rest-api/security/saml-prepare-authentication-api.asciidoc:96 [source, python] ---- diff --git a/docs/examples/daae2e6acebc84e537764f4ba07f2e6e.asciidoc b/docs/examples/daae2e6acebc84e537764f4ba07f2e6e.asciidoc index 1205c8e57..213e662a8 100644 --- a/docs/examples/daae2e6acebc84e537764f4ba07f2e6e.asciidoc +++ b/docs/examples/daae2e6acebc84e537764f4ba07f2e6e.asciidoc @@ -1,5 +1,5 @@ // This file is autogenerated, DO NOT EDIT -// setup/important-settings/path-settings.asciidoc:95 +// path-settings-overview.asciidoc:75 [source, python] ---- diff --git a/docs/examples/dac8ec8547bc446637fd97d9fa872f4f.asciidoc b/docs/examples/dac8ec8547bc446637fd97d9fa872f4f.asciidoc index d5957ecad..d0da2cfd8 100644 --- a/docs/examples/dac8ec8547bc446637fd97d9fa872f4f.asciidoc +++ b/docs/examples/dac8ec8547bc446637fd97d9fa872f4f.asciidoc @@ -1,5 +1,5 @@ // This file is autogenerated, DO NOT EDIT -// ml/df-analytics/apis/put-dfanalytics.asciidoc:816 +// ml/df-analytics/apis/put-dfanalytics.asciidoc:822 [source, python] ---- diff --git a/docs/examples/db19cc7a26ca80106d86d688f4be67a8.asciidoc b/docs/examples/db19cc7a26ca80106d86d688f4be67a8.asciidoc index 707ba862c..b6a2076b6 100644 --- a/docs/examples/db19cc7a26ca80106d86d688f4be67a8.asciidoc +++ b/docs/examples/db19cc7a26ca80106d86d688f4be67a8.asciidoc @@ -1,5 +1,5 @@ // This file is autogenerated, DO NOT EDIT -// ml/df-analytics/apis/stop-dfanalytics.asciidoc:69 +// ml/df-analytics/apis/stop-dfanalytics.asciidoc:75 [source, python] ---- diff --git a/docs/examples/db773f690edf659ac9b044dc854c77eb.asciidoc b/docs/examples/db773f690edf659ac9b044dc854c77eb.asciidoc index b579ccc7f..1082dab75 100644 --- a/docs/examples/db773f690edf659ac9b044dc854c77eb.asciidoc +++ b/docs/examples/db773f690edf659ac9b044dc854c77eb.asciidoc @@ -1,5 +1,5 @@ // This file is autogenerated, DO NOT EDIT -// search/search-vector-tile-api.asciidoc:666 +// search/search-vector-tile-api.asciidoc:671 [source, python] ---- diff --git a/docs/examples/db8710a9793ae0817a45892d33468160.asciidoc b/docs/examples/db8710a9793ae0817a45892d33468160.asciidoc index ec6ab218d..48ecd1500 100644 --- a/docs/examples/db8710a9793ae0817a45892d33468160.asciidoc +++ b/docs/examples/db8710a9793ae0817a45892d33468160.asciidoc @@ -1,5 +1,5 @@ // This file is autogenerated, DO NOT EDIT -// indices/diskusage.asciidoc:69 +// indices/diskusage.asciidoc:75 [source, python] ---- diff --git a/docs/examples/dbc50b8c934171e94604575a8b36f349.asciidoc b/docs/examples/dbc50b8c934171e94604575a8b36f349.asciidoc index 77af53991..a3f05c019 100644 --- a/docs/examples/dbc50b8c934171e94604575a8b36f349.asciidoc +++ b/docs/examples/dbc50b8c934171e94604575a8b36f349.asciidoc @@ -1,5 +1,5 @@ // This file is autogenerated, DO NOT EDIT -// indices/update-settings.asciidoc:145 +// indices/update-settings.asciidoc:151 [source, python] ---- diff --git a/docs/examples/dbdd58cdeac9ef20b42ff73e4864e697.asciidoc b/docs/examples/dbdd58cdeac9ef20b42ff73e4864e697.asciidoc index 9371ae3f1..1fe7a327f 100644 --- a/docs/examples/dbdd58cdeac9ef20b42ff73e4864e697.asciidoc +++ b/docs/examples/dbdd58cdeac9ef20b42ff73e4864e697.asciidoc @@ -1,5 +1,5 @@ // This file is autogenerated, DO NOT EDIT -// indices/get-field-mapping.asciidoc:245 +// indices/get-field-mapping.asciidoc:251 [source, python] ---- diff --git a/docs/examples/dbf93d02ab86a09929a21232b19709cc.asciidoc b/docs/examples/dbf93d02ab86a09929a21232b19709cc.asciidoc index bbdbc2287..b4f4b70ce 100644 --- a/docs/examples/dbf93d02ab86a09929a21232b19709cc.asciidoc +++ b/docs/examples/dbf93d02ab86a09929a21232b19709cc.asciidoc @@ -1,5 +1,5 @@ // This file is autogenerated, DO NOT EDIT -// ml/trained-models/apis/stop-trained-model-deployment.asciidoc:67 +// ml/trained-models/apis/stop-trained-model-deployment.asciidoc:73 [source, python] ---- diff --git a/docs/examples/dbf9abc37899352751dab0ede62af2fd.asciidoc b/docs/examples/dbf9abc37899352751dab0ede62af2fd.asciidoc index eeccebacc..029f025ca 100644 --- a/docs/examples/dbf9abc37899352751dab0ede62af2fd.asciidoc +++ b/docs/examples/dbf9abc37899352751dab0ede62af2fd.asciidoc @@ -1,5 +1,5 @@ // This file is autogenerated, DO NOT EDIT -// rest-api/security/invalidate-tokens.asciidoc:115 +// rest-api/security/invalidate-tokens.asciidoc:121 [source, python] ---- diff --git a/docs/examples/dc468865da947b4a9136a5b92878d918.asciidoc b/docs/examples/dc468865da947b4a9136a5b92878d918.asciidoc index 856c3b54b..959201872 100644 --- a/docs/examples/dc468865da947b4a9136a5b92878d918.asciidoc +++ b/docs/examples/dc468865da947b4a9136a5b92878d918.asciidoc @@ -1,5 +1,5 @@ // This file is autogenerated, DO NOT EDIT -// rest-api/security/bulk-update-api-keys.asciidoc:125 +// rest-api/security/bulk-update-api-keys.asciidoc:131 [source, python] ---- diff --git a/docs/examples/dc8c94c9bef1f879282caea5c406f36e.asciidoc b/docs/examples/dc8c94c9bef1f879282caea5c406f36e.asciidoc index 9e0d71ce6..4c04a5ddc 100644 --- a/docs/examples/dc8c94c9bef1f879282caea5c406f36e.asciidoc +++ b/docs/examples/dc8c94c9bef1f879282caea5c406f36e.asciidoc @@ -1,5 +1,5 @@ // This file is autogenerated, DO NOT EDIT -// indices/analyze.asciidoc:183 +// indices/analyze.asciidoc:189 [source, python] ---- diff --git a/docs/examples/dcc02ad69da0a5aa10c4e53b34be8ec0.asciidoc b/docs/examples/dcc02ad69da0a5aa10c4e53b34be8ec0.asciidoc index d5a65b419..b769cd037 100644 --- a/docs/examples/dcc02ad69da0a5aa10c4e53b34be8ec0.asciidoc +++ b/docs/examples/dcc02ad69da0a5aa10c4e53b34be8ec0.asciidoc @@ -1,5 +1,5 @@ // This file is autogenerated, DO NOT EDIT -// docs/multi-get.asciidoc:10 +// docs/multi-get.asciidoc:16 [source, python] ---- diff --git a/docs/examples/dcf82f3aacae49c0bb4ccbc673f13e9f.asciidoc b/docs/examples/dcf82f3aacae49c0bb4ccbc673f13e9f.asciidoc index 847593c02..c98d06e98 100644 --- a/docs/examples/dcf82f3aacae49c0bb4ccbc673f13e9f.asciidoc +++ b/docs/examples/dcf82f3aacae49c0bb4ccbc673f13e9f.asciidoc @@ -1,5 +1,5 @@ // This file is autogenerated, DO NOT EDIT -// search/search-your-data/knn-search.asciidoc:1217 +// search/search-your-data/knn-search.asciidoc:1202 [source, python] ---- diff --git a/docs/examples/dcfa7f479a33f459a2d222a92e651451.asciidoc b/docs/examples/dcfa7f479a33f459a2d222a92e651451.asciidoc index 031b39953..e49e3a06e 100644 --- a/docs/examples/dcfa7f479a33f459a2d222a92e651451.asciidoc +++ b/docs/examples/dcfa7f479a33f459a2d222a92e651451.asciidoc @@ -1,5 +1,5 @@ // This file is autogenerated, DO NOT EDIT -// rest-api/security/create-roles.asciidoc:120 +// rest-api/security/create-roles.asciidoc:126 [source, python] ---- diff --git a/docs/examples/dd4f051ab62f0507e3b6e3d6f333e85f.asciidoc b/docs/examples/dd4f051ab62f0507e3b6e3d6f333e85f.asciidoc index bbab73fed..62d99f7e9 100644 --- a/docs/examples/dd4f051ab62f0507e3b6e3d6f333e85f.asciidoc +++ b/docs/examples/dd4f051ab62f0507e3b6e3d6f333e85f.asciidoc @@ -1,5 +1,5 @@ // This file is autogenerated, DO NOT EDIT -// indices/get-component-template.asciidoc:95 +// indices/get-component-template.asciidoc:101 [source, python] ---- diff --git a/docs/examples/dd71b0c9f9197684ff29c61062c55660.asciidoc b/docs/examples/dd71b0c9f9197684ff29c61062c55660.asciidoc index b7dfcf0ca..3f2fdfb21 100644 --- a/docs/examples/dd71b0c9f9197684ff29c61062c55660.asciidoc +++ b/docs/examples/dd71b0c9f9197684ff29c61062c55660.asciidoc @@ -1,5 +1,5 @@ // This file is autogenerated, DO NOT EDIT -// rest-api/security/get-settings.asciidoc:32 +// rest-api/security/get-settings.asciidoc:38 [source, python] ---- diff --git a/docs/examples/dda949d20d07a9edbe64cefc623df945.asciidoc b/docs/examples/dda949d20d07a9edbe64cefc623df945.asciidoc index 744a4739f..bbb44713f 100644 --- a/docs/examples/dda949d20d07a9edbe64cefc623df945.asciidoc +++ b/docs/examples/dda949d20d07a9edbe64cefc623df945.asciidoc @@ -1,5 +1,5 @@ // This file is autogenerated, DO NOT EDIT -// scripting/using.asciidoc:467 +// scripting/using.asciidoc:472 [source, python] ---- diff --git a/docs/examples/ddaadd91b7743a1c7e946ce1b593cd1b.asciidoc b/docs/examples/ddaadd91b7743a1c7e946ce1b593cd1b.asciidoc deleted file mode 100644 index 6944bbb1c..000000000 --- a/docs/examples/ddaadd91b7743a1c7e946ce1b593cd1b.asciidoc +++ /dev/null @@ -1,14 +0,0 @@ -// This file is autogenerated, DO NOT EDIT -// inference/update-inference.asciidoc:77 - -[source, python] ----- -resp = client.inference.inference( - task_type="my-inference-endpoint", - inference_id="_update", - service_settings={ - "api_key": "" - }, -) -print(resp) ----- diff --git a/docs/examples/dde283eab92608e7bfbfa09c6482a12e.asciidoc b/docs/examples/dde283eab92608e7bfbfa09c6482a12e.asciidoc index c8f32431a..17a42fe0b 100644 --- a/docs/examples/dde283eab92608e7bfbfa09c6482a12e.asciidoc +++ b/docs/examples/dde283eab92608e7bfbfa09c6482a12e.asciidoc @@ -1,5 +1,5 @@ // This file is autogenerated, DO NOT EDIT -// rest-api/security/invalidate-api-keys.asciidoc:134 +// rest-api/security/invalidate-api-keys.asciidoc:140 [source, python] ---- diff --git a/docs/examples/ddf375e4b6175d830fa4097ea0b41536.asciidoc b/docs/examples/ddf375e4b6175d830fa4097ea0b41536.asciidoc index ca50fe2d1..914be135b 100644 --- a/docs/examples/ddf375e4b6175d830fa4097ea0b41536.asciidoc +++ b/docs/examples/ddf375e4b6175d830fa4097ea0b41536.asciidoc @@ -1,5 +1,5 @@ // This file is autogenerated, DO NOT EDIT -// cluster/delete-desired-nodes.asciidoc:55 +// cluster/delete-desired-nodes.asciidoc:61 [source, python] ---- diff --git a/docs/examples/ddf56782ecc7eaeb3115e150c4830013.asciidoc b/docs/examples/ddf56782ecc7eaeb3115e150c4830013.asciidoc index c21a7216f..b77c1e337 100644 --- a/docs/examples/ddf56782ecc7eaeb3115e150c4830013.asciidoc +++ b/docs/examples/ddf56782ecc7eaeb3115e150c4830013.asciidoc @@ -1,5 +1,5 @@ // This file is autogenerated, DO NOT EDIT -// docs/update-by-query.asciidoc:585 +// docs/update-by-query.asciidoc:591 [source, python] ---- diff --git a/docs/examples/de2f59887737de3a27716177b60393a2.asciidoc b/docs/examples/de2f59887737de3a27716177b60393a2.asciidoc index 12fb371a6..d0f8746de 100644 --- a/docs/examples/de2f59887737de3a27716177b60393a2.asciidoc +++ b/docs/examples/de2f59887737de3a27716177b60393a2.asciidoc @@ -1,5 +1,5 @@ // This file is autogenerated, DO NOT EDIT -// indices/analyze.asciidoc:239 +// indices/analyze.asciidoc:245 [source, python] ---- diff --git a/docs/examples/de876505acc75d371d1f6f484c449197.asciidoc b/docs/examples/de876505acc75d371d1f6f484c449197.asciidoc index c3fb4ff3c..a82a998b3 100644 --- a/docs/examples/de876505acc75d371d1f6f484c449197.asciidoc +++ b/docs/examples/de876505acc75d371d1f6f484c449197.asciidoc @@ -1,5 +1,5 @@ // This file is autogenerated, DO NOT EDIT -// indices/create-index.asciidoc:251 +// indices/create-index.asciidoc:257 [source, python] ---- diff --git a/docs/examples/de90249caeac6f1601a7e7e9f98f1bec.asciidoc b/docs/examples/de90249caeac6f1601a7e7e9f98f1bec.asciidoc index 70c2d979b..0b7c4e510 100644 --- a/docs/examples/de90249caeac6f1601a7e7e9f98f1bec.asciidoc +++ b/docs/examples/de90249caeac6f1601a7e7e9f98f1bec.asciidoc @@ -1,5 +1,5 @@ // This file is autogenerated, DO NOT EDIT -// rest-api/security/query-api-key.asciidoc:395 +// rest-api/security/query-api-key.asciidoc:400 [source, python] ---- diff --git a/docs/examples/df0d27d3abd286b75aef7ddcf0e6c66c.asciidoc b/docs/examples/df0d27d3abd286b75aef7ddcf0e6c66c.asciidoc index 4d21c00df..bba0cb949 100644 --- a/docs/examples/df0d27d3abd286b75aef7ddcf0e6c66c.asciidoc +++ b/docs/examples/df0d27d3abd286b75aef7ddcf0e6c66c.asciidoc @@ -1,5 +1,5 @@ // This file is autogenerated, DO NOT EDIT -// indices/apis/reload-analyzers.asciidoc:110 +// indices/apis/reload-analyzers.asciidoc:116 [source, python] ---- diff --git a/docs/examples/df7dbac966b67404b8bfa9cdda5ef480.asciidoc b/docs/examples/df7dbac966b67404b8bfa9cdda5ef480.asciidoc index ffbfb83ee..e1a3e6284 100644 --- a/docs/examples/df7dbac966b67404b8bfa9cdda5ef480.asciidoc +++ b/docs/examples/df7dbac966b67404b8bfa9cdda5ef480.asciidoc @@ -1,5 +1,5 @@ // This file is autogenerated, DO NOT EDIT -// rest-api/watcher/ack-watch.asciidoc:253 +// rest-api/watcher/ack-watch.asciidoc:259 [source, python] ---- diff --git a/docs/examples/df7ed126d8c92ddd3655c59ce4f305c9.asciidoc b/docs/examples/df7ed126d8c92ddd3655c59ce4f305c9.asciidoc index 3c77d1754..a6d31b62b 100644 --- a/docs/examples/df7ed126d8c92ddd3655c59ce4f305c9.asciidoc +++ b/docs/examples/df7ed126d8c92ddd3655c59ce4f305c9.asciidoc @@ -1,5 +1,5 @@ // This file is autogenerated, DO NOT EDIT -// cat/thread_pool.asciidoc:172 +// cat/thread_pool.asciidoc:178 [source, python] ---- diff --git a/docs/examples/dfcdcd3ea6753dcc391a4a52cf640527.asciidoc b/docs/examples/dfcdcd3ea6753dcc391a4a52cf640527.asciidoc index 5176519eb..bd66391fb 100644 --- a/docs/examples/dfcdcd3ea6753dcc391a4a52cf640527.asciidoc +++ b/docs/examples/dfcdcd3ea6753dcc391a4a52cf640527.asciidoc @@ -1,5 +1,5 @@ // This file is autogenerated, DO NOT EDIT -// cluster/update-desired-nodes.asciidoc:112 +// cluster/update-desired-nodes.asciidoc:118 [source, python] ---- diff --git a/docs/examples/dfce1be1d035aff0b8fdf4a8839f7795.asciidoc b/docs/examples/dfce1be1d035aff0b8fdf4a8839f7795.asciidoc index 4d49fe44f..d57f7495d 100644 --- a/docs/examples/dfce1be1d035aff0b8fdf4a8839f7795.asciidoc +++ b/docs/examples/dfce1be1d035aff0b8fdf4a8839f7795.asciidoc @@ -1,5 +1,5 @@ // This file is autogenerated, DO NOT EDIT -// ml/trained-models/apis/update-trained-model-deployment.asciidoc:115 +// ml/trained-models/apis/update-trained-model-deployment.asciidoc:121 [source, python] ---- diff --git a/docs/examples/dff61a76d5ef9ca8cbe59a416269a84b.asciidoc b/docs/examples/dff61a76d5ef9ca8cbe59a416269a84b.asciidoc index 50fae83d8..85539c607 100644 --- a/docs/examples/dff61a76d5ef9ca8cbe59a416269a84b.asciidoc +++ b/docs/examples/dff61a76d5ef9ca8cbe59a416269a84b.asciidoc @@ -1,5 +1,5 @@ // This file is autogenerated, DO NOT EDIT -// ingest/apis/delete-pipeline.asciidoc:28 +// ingest/apis/delete-pipeline.asciidoc:34 [source, python] ---- diff --git a/docs/examples/dffbbdc4025e5777c647d8818847b960.asciidoc b/docs/examples/dffbbdc4025e5777c647d8818847b960.asciidoc index b0758980c..05eb40de6 100644 --- a/docs/examples/dffbbdc4025e5777c647d8818847b960.asciidoc +++ b/docs/examples/dffbbdc4025e5777c647d8818847b960.asciidoc @@ -1,5 +1,5 @@ // This file is autogenerated, DO NOT EDIT -// rest-api/security/get-api-keys.asciidoc:269 +// rest-api/security/get-api-keys.asciidoc:275 [source, python] ---- diff --git a/docs/examples/e017c2de6f93a8dd97f5c6e002dd5c4f.asciidoc b/docs/examples/e017c2de6f93a8dd97f5c6e002dd5c4f.asciidoc index bdc91a1ff..ad5ef4204 100644 --- a/docs/examples/e017c2de6f93a8dd97f5c6e002dd5c4f.asciidoc +++ b/docs/examples/e017c2de6f93a8dd97f5c6e002dd5c4f.asciidoc @@ -1,5 +1,5 @@ // This file is autogenerated, DO NOT EDIT -// ml/anomaly-detection/apis/post-calendar-event.asciidoc:126 +// ml/anomaly-detection/apis/post-calendar-event.asciidoc:132 [source, python] ---- diff --git a/docs/examples/e095fc96504efecc588f97673912e3d3.asciidoc b/docs/examples/e095fc96504efecc588f97673912e3d3.asciidoc index d4ec08315..32766347f 100644 --- a/docs/examples/e095fc96504efecc588f97673912e3d3.asciidoc +++ b/docs/examples/e095fc96504efecc588f97673912e3d3.asciidoc @@ -1,5 +1,5 @@ // This file is autogenerated, DO NOT EDIT -// ml/anomaly-detection/apis/put-job.asciidoc:414 +// ml/anomaly-detection/apis/put-job.asciidoc:420 [source, python] ---- diff --git a/docs/examples/e0a7c730ef0f22e3edffe9a254bc56e7.asciidoc b/docs/examples/e0a7c730ef0f22e3edffe9a254bc56e7.asciidoc index acefd9f2b..b6d91ff3a 100644 --- a/docs/examples/e0a7c730ef0f22e3edffe9a254bc56e7.asciidoc +++ b/docs/examples/e0a7c730ef0f22e3edffe9a254bc56e7.asciidoc @@ -1,5 +1,5 @@ // This file is autogenerated, DO NOT EDIT -// docs/reindex.asciidoc:234 +// docs/reindex.asciidoc:240 [source, python] ---- diff --git a/docs/examples/e0b2f56c34e33ff52f8f9658be2f7ca1.asciidoc b/docs/examples/e0b2f56c34e33ff52f8f9658be2f7ca1.asciidoc index 977bd87df..90b9f0ad8 100644 --- a/docs/examples/e0b2f56c34e33ff52f8f9658be2f7ca1.asciidoc +++ b/docs/examples/e0b2f56c34e33ff52f8f9658be2f7ca1.asciidoc @@ -1,5 +1,5 @@ // This file is autogenerated, DO NOT EDIT -// indices/stats.asciidoc:105 +// indices/stats.asciidoc:111 [source, python] ---- diff --git a/docs/examples/e0bbfb368eae307e9508ab8d6e9cf23c.asciidoc b/docs/examples/e0bbfb368eae307e9508ab8d6e9cf23c.asciidoc index cfae9905a..ace4a2891 100644 --- a/docs/examples/e0bbfb368eae307e9508ab8d6e9cf23c.asciidoc +++ b/docs/examples/e0bbfb368eae307e9508ab8d6e9cf23c.asciidoc @@ -1,5 +1,5 @@ // This file is autogenerated, DO NOT EDIT -// cat/fielddata.asciidoc:102 +// cat/fielddata.asciidoc:108 [source, python] ---- diff --git a/docs/examples/e0d4a800de2d8f4062e69433586c38db.asciidoc b/docs/examples/e0d4a800de2d8f4062e69433586c38db.asciidoc index 089cc5b46..ae7a86e03 100644 --- a/docs/examples/e0d4a800de2d8f4062e69433586c38db.asciidoc +++ b/docs/examples/e0d4a800de2d8f4062e69433586c38db.asciidoc @@ -1,5 +1,5 @@ // This file is autogenerated, DO NOT EDIT -// rest-api/security/saml-complete-logout-api.asciidoc:69 +// rest-api/security/saml-complete-logout-api.asciidoc:75 [source, python] ---- diff --git a/docs/examples/e1337c6b76defd5a46d05220f9d9c9fc.asciidoc b/docs/examples/e1337c6b76defd5a46d05220f9d9c9fc.asciidoc index d6324f804..5d4c3eedc 100644 --- a/docs/examples/e1337c6b76defd5a46d05220f9d9c9fc.asciidoc +++ b/docs/examples/e1337c6b76defd5a46d05220f9d9c9fc.asciidoc @@ -1,5 +1,5 @@ // This file is autogenerated, DO NOT EDIT -// rest-api/security/invalidate-tokens.asciidoc:128 +// rest-api/security/invalidate-tokens.asciidoc:134 [source, python] ---- diff --git a/docs/examples/e14a5a5a1c880031486bfff43031fa3a.asciidoc b/docs/examples/e14a5a5a1c880031486bfff43031fa3a.asciidoc index 12335ef7e..655560a56 100644 --- a/docs/examples/e14a5a5a1c880031486bfff43031fa3a.asciidoc +++ b/docs/examples/e14a5a5a1c880031486bfff43031fa3a.asciidoc @@ -1,5 +1,5 @@ // This file is autogenerated, DO NOT EDIT -// troubleshooting/common-issues/circuit-breaker-errors.asciidoc:64 +// troubleshooting/common-issues/circuit-breaker-errors.asciidoc:71 [source, python] ---- diff --git a/docs/examples/e20037f66bf54bcac7d10f536f031f34.asciidoc b/docs/examples/e20037f66bf54bcac7d10f536f031f34.asciidoc deleted file mode 100644 index 57dd81542..000000000 --- a/docs/examples/e20037f66bf54bcac7d10f536f031f34.asciidoc +++ /dev/null @@ -1,13 +0,0 @@ -// This file is autogenerated, DO NOT EDIT -// modules/cluster/disk_allocator.asciidoc:108 - -[source, python] ----- -resp = client.indices.put_settings( - index="my-index-000001", - settings={ - "index.blocks.read_only_allow_delete": None - }, -) -print(resp) ----- diff --git a/docs/examples/e22a1da3c622611be6855e534c0709ae.asciidoc b/docs/examples/e22a1da3c622611be6855e534c0709ae.asciidoc index d0c5e0340..54e333bee 100644 --- a/docs/examples/e22a1da3c622611be6855e534c0709ae.asciidoc +++ b/docs/examples/e22a1da3c622611be6855e534c0709ae.asciidoc @@ -1,5 +1,5 @@ // This file is autogenerated, DO NOT EDIT -// query-rules/apis/test-query-ruleset.asciidoc:111 +// query-rules/apis/test-query-ruleset.asciidoc:117 [source, python] ---- diff --git a/docs/examples/e26c96978096ccc592849cca9db67ffc.asciidoc b/docs/examples/e26c96978096ccc592849cca9db67ffc.asciidoc index 3e39921e1..aff66e7d7 100644 --- a/docs/examples/e26c96978096ccc592849cca9db67ffc.asciidoc +++ b/docs/examples/e26c96978096ccc592849cca9db67ffc.asciidoc @@ -1,5 +1,5 @@ // This file is autogenerated, DO NOT EDIT -// modules/indices/request_cache.asciidoc:72 +// shard-request-cache.asciidoc:74 [source, python] ---- diff --git a/docs/examples/e2a22c6fd58cc0becf4c383134a08f8b.asciidoc b/docs/examples/e2a22c6fd58cc0becf4c383134a08f8b.asciidoc index 26a8a13b2..e4114ca17 100644 --- a/docs/examples/e2a22c6fd58cc0becf4c383134a08f8b.asciidoc +++ b/docs/examples/e2a22c6fd58cc0becf4c383134a08f8b.asciidoc @@ -1,5 +1,5 @@ // This file is autogenerated, DO NOT EDIT -// query-dsl/intervals-query.asciidoc:445 +// query-dsl/intervals-query.asciidoc:455 [source, python] ---- diff --git a/docs/examples/e2a753029b450942a3228e3003a55a7d.asciidoc b/docs/examples/e2a753029b450942a3228e3003a55a7d.asciidoc index 1c1422a21..8c8a3bb03 100644 --- a/docs/examples/e2a753029b450942a3228e3003a55a7d.asciidoc +++ b/docs/examples/e2a753029b450942a3228e3003a55a7d.asciidoc @@ -1,5 +1,5 @@ // This file is autogenerated, DO NOT EDIT -// data-streams/lifecycle/apis/put-lifecycle.asciidoc:105 +// data-streams/lifecycle/apis/put-lifecycle.asciidoc:111 [source, python] ---- diff --git a/docs/examples/e2bcc8f4ed2b4de82729e7a5a7c8f634.asciidoc b/docs/examples/e2bcc8f4ed2b4de82729e7a5a7c8f634.asciidoc index d266cb8a5..ff2f3c34e 100644 --- a/docs/examples/e2bcc8f4ed2b4de82729e7a5a7c8f634.asciidoc +++ b/docs/examples/e2bcc8f4ed2b4de82729e7a5a7c8f634.asciidoc @@ -1,5 +1,5 @@ // This file is autogenerated, DO NOT EDIT -// synonyms/apis/list-synonyms-sets.asciidoc:80 +// synonyms/apis/list-synonyms-sets.asciidoc:86 [source, python] ---- diff --git a/docs/examples/e2ec9e867f7141b304b53ebc59098f2a.asciidoc b/docs/examples/e2ec9e867f7141b304b53ebc59098f2a.asciidoc index 05f401af0..3f77c725d 100644 --- a/docs/examples/e2ec9e867f7141b304b53ebc59098f2a.asciidoc +++ b/docs/examples/e2ec9e867f7141b304b53ebc59098f2a.asciidoc @@ -1,5 +1,5 @@ // This file is autogenerated, DO NOT EDIT -// rest-api/security/update-api-key.asciidoc:252 +// rest-api/security/update-api-key.asciidoc:258 [source, python] ---- diff --git a/docs/examples/e3019fd5f23458ae49ad9854c97d321c.asciidoc b/docs/examples/e3019fd5f23458ae49ad9854c97d321c.asciidoc index bf1844b17..0c74e3bf6 100644 --- a/docs/examples/e3019fd5f23458ae49ad9854c97d321c.asciidoc +++ b/docs/examples/e3019fd5f23458ae49ad9854c97d321c.asciidoc @@ -1,5 +1,5 @@ // This file is autogenerated, DO NOT EDIT -// rest-api/security/oidc-prepare-authentication-api.asciidoc:72 +// rest-api/security/oidc-prepare-authentication-api.asciidoc:78 [source, python] ---- diff --git a/docs/examples/e35abc9403e4aef7d538ab29ccc363b3.asciidoc b/docs/examples/e35abc9403e4aef7d538ab29ccc363b3.asciidoc index 5bd24e6e3..bc7a2001b 100644 --- a/docs/examples/e35abc9403e4aef7d538ab29ccc363b3.asciidoc +++ b/docs/examples/e35abc9403e4aef7d538ab29ccc363b3.asciidoc @@ -1,5 +1,5 @@ // This file is autogenerated, DO NOT EDIT -// cluster/prevalidate-node-removal.asciidoc:105 +// cluster/prevalidate-node-removal.asciidoc:111 [source, python] ---- diff --git a/docs/examples/e375c7da666276c4df6664c6821cd5f4.asciidoc b/docs/examples/e375c7da666276c4df6664c6821cd5f4.asciidoc new file mode 100644 index 000000000..3d9beee42 --- /dev/null +++ b/docs/examples/e375c7da666276c4df6664c6821cd5f4.asciidoc @@ -0,0 +1,37 @@ +// This file is autogenerated, DO NOT EDIT +// mapping/types/rank-vectors.asciidoc:17 + +[source, python] +---- +resp = client.indices.create( + index="my-rank-vectors-float", + mappings={ + "properties": { + "my_vector": { + "type": "rank_vectors" + } + } + }, +) +print(resp) + +resp1 = client.index( + index="my-rank-vectors-float", + id="1", + document={ + "my_vector": [ + [ + 0.5, + 10, + 6 + ], + [ + -0.5, + 10, + 10 + ] + ] + }, +) +print(resp1) +---- diff --git a/docs/examples/e3fe842951dc873d7d00c8f6a010c53f.asciidoc b/docs/examples/e3fe842951dc873d7d00c8f6a010c53f.asciidoc index 0109eed73..d9002cd4d 100644 --- a/docs/examples/e3fe842951dc873d7d00c8f6a010c53f.asciidoc +++ b/docs/examples/e3fe842951dc873d7d00c8f6a010c53f.asciidoc @@ -1,5 +1,5 @@ // This file is autogenerated, DO NOT EDIT -// troubleshooting/common-issues/task-queue-backlog.asciidoc:67 +// troubleshooting/common-issues/task-queue-backlog.asciidoc:90 [source, python] ---- diff --git a/docs/examples/e48e7da65c2b32d724fd7e3bfa175c6f.asciidoc b/docs/examples/e48e7da65c2b32d724fd7e3bfa175c6f.asciidoc index 3d3a03d23..86bfe67dc 100644 --- a/docs/examples/e48e7da65c2b32d724fd7e3bfa175c6f.asciidoc +++ b/docs/examples/e48e7da65c2b32d724fd7e3bfa175c6f.asciidoc @@ -1,5 +1,5 @@ // This file is autogenerated, DO NOT EDIT -// ml/anomaly-detection/apis/get-overall-buckets.asciidoc:130 +// ml/anomaly-detection/apis/get-overall-buckets.asciidoc:136 [source, python] ---- diff --git a/docs/examples/e4b38973c74037335378d8480f1ce894.asciidoc b/docs/examples/e4b38973c74037335378d8480f1ce894.asciidoc index 191ca7839..a9514e8d7 100644 --- a/docs/examples/e4b38973c74037335378d8480f1ce894.asciidoc +++ b/docs/examples/e4b38973c74037335378d8480f1ce894.asciidoc @@ -1,5 +1,5 @@ // This file is autogenerated, DO NOT EDIT -// ingest/apis/simulate-ingest.asciidoc:429 +// ingest/apis/simulate-ingest.asciidoc:435 [source, python] ---- diff --git a/docs/examples/e4b6a6a921c97b4c0bbe97bd89f4cf33.asciidoc b/docs/examples/e4b6a6a921c97b4c0bbe97bd89f4cf33.asciidoc index 4dfde8e77..fcc4bd7da 100644 --- a/docs/examples/e4b6a6a921c97b4c0bbe97bd89f4cf33.asciidoc +++ b/docs/examples/e4b6a6a921c97b4c0bbe97bd89f4cf33.asciidoc @@ -1,5 +1,5 @@ // This file is autogenerated, DO NOT EDIT -// data-streams/promote-data-stream-api.asciidoc:26 +// data-streams/promote-data-stream-api.asciidoc:32 [source, python] ---- diff --git a/docs/examples/e4be53736bcc02b03068fd72fdbfe271.asciidoc b/docs/examples/e4be53736bcc02b03068fd72fdbfe271.asciidoc index 990f57ccb..ee96d3031 100644 --- a/docs/examples/e4be53736bcc02b03068fd72fdbfe271.asciidoc +++ b/docs/examples/e4be53736bcc02b03068fd72fdbfe271.asciidoc @@ -1,5 +1,5 @@ // This file is autogenerated, DO NOT EDIT -// indices/put-mapping.asciidoc:108 +// indices/put-mapping.asciidoc:114 [source, python] ---- diff --git a/docs/examples/e4d1f01c025fb797a1d87f372760eabf.asciidoc b/docs/examples/e4d1f01c025fb797a1d87f372760eabf.asciidoc index 754f5c188..e07e9e82c 100644 --- a/docs/examples/e4d1f01c025fb797a1d87f372760eabf.asciidoc +++ b/docs/examples/e4d1f01c025fb797a1d87f372760eabf.asciidoc @@ -1,5 +1,5 @@ // This file is autogenerated, DO NOT EDIT -// troubleshooting/common-issues/hotspotting.asciidoc:267 +// troubleshooting/common-issues/hotspotting.asciidoc:271 [source, python] ---- diff --git a/docs/examples/e51a86b666f447cda5f634547a8e1a4a.asciidoc b/docs/examples/e51a86b666f447cda5f634547a8e1a4a.asciidoc index 78145f5de..a385a5114 100644 --- a/docs/examples/e51a86b666f447cda5f634547a8e1a4a.asciidoc +++ b/docs/examples/e51a86b666f447cda5f634547a8e1a4a.asciidoc @@ -1,5 +1,5 @@ // This file is autogenerated, DO NOT EDIT -// indices/create-data-stream.asciidoc:22 +// indices/create-data-stream.asciidoc:28 [source, python] ---- diff --git a/docs/examples/e58833449d01379df20ad06dc28144d8.asciidoc b/docs/examples/e58833449d01379df20ad06dc28144d8.asciidoc index 38181abf0..c0b720faf 100644 --- a/docs/examples/e58833449d01379df20ad06dc28144d8.asciidoc +++ b/docs/examples/e58833449d01379df20ad06dc28144d8.asciidoc @@ -1,5 +1,5 @@ // This file is autogenerated, DO NOT EDIT -// docs/update-by-query.asciidoc:325 +// docs/update-by-query.asciidoc:331 [source, python] ---- diff --git a/docs/examples/e5901f48eb8a419b878fc2cb815d8691.asciidoc b/docs/examples/e5901f48eb8a419b878fc2cb815d8691.asciidoc index 76d26ada5..2debf6d13 100644 --- a/docs/examples/e5901f48eb8a419b878fc2cb815d8691.asciidoc +++ b/docs/examples/e5901f48eb8a419b878fc2cb815d8691.asciidoc @@ -1,5 +1,5 @@ // This file is autogenerated, DO NOT EDIT -// cluster/update-settings.asciidoc:45 +// cluster/update-settings.asciidoc:50 [source, python] ---- diff --git a/docs/examples/e5f50b31f165462d883ecbff45f74985.asciidoc b/docs/examples/e5f50b31f165462d883ecbff45f74985.asciidoc index 8fa533456..9d3eb5f2a 100644 --- a/docs/examples/e5f50b31f165462d883ecbff45f74985.asciidoc +++ b/docs/examples/e5f50b31f165462d883ecbff45f74985.asciidoc @@ -1,5 +1,5 @@ // This file is autogenerated, DO NOT EDIT -// indices/put-index-template-v1.asciidoc:14 +// indices/put-index-template-v1.asciidoc:20 [source, python] ---- diff --git a/docs/examples/e5f89a04f50df707a0a53ec0f2eecbbd.asciidoc b/docs/examples/e5f89a04f50df707a0a53ec0f2eecbbd.asciidoc index a4fc3d5f2..f160683fc 100644 --- a/docs/examples/e5f89a04f50df707a0a53ec0f2eecbbd.asciidoc +++ b/docs/examples/e5f89a04f50df707a0a53ec0f2eecbbd.asciidoc @@ -1,5 +1,5 @@ // This file is autogenerated, DO NOT EDIT -// docs/get.asciidoc:71 +// docs/get.asciidoc:77 [source, python] ---- diff --git a/docs/examples/e60b7f75ca806f2c74927c3d9409a986.asciidoc b/docs/examples/e60b7f75ca806f2c74927c3d9409a986.asciidoc index 0935cf182..01e53f9b6 100644 --- a/docs/examples/e60b7f75ca806f2c74927c3d9409a986.asciidoc +++ b/docs/examples/e60b7f75ca806f2c74927c3d9409a986.asciidoc @@ -1,5 +1,5 @@ // This file is autogenerated, DO NOT EDIT -// rest-api/security/create-role-mappings.asciidoc:160 +// rest-api/security/create-role-mappings.asciidoc:166 [source, python] ---- diff --git a/docs/examples/e61b5abe85000cc954a42e2cd74f3a26.asciidoc b/docs/examples/e61b5abe85000cc954a42e2cd74f3a26.asciidoc index afc63dda5..dfea2bee0 100644 --- a/docs/examples/e61b5abe85000cc954a42e2cd74f3a26.asciidoc +++ b/docs/examples/e61b5abe85000cc954a42e2cd74f3a26.asciidoc @@ -1,5 +1,5 @@ // This file is autogenerated, DO NOT EDIT -// ml/anomaly-detection/apis/put-calendar.asciidoc:44 +// ml/anomaly-detection/apis/put-calendar.asciidoc:50 [source, python] ---- diff --git a/docs/examples/e63775a2ff22b945ab9d5f630b80c506.asciidoc b/docs/examples/e63775a2ff22b945ab9d5f630b80c506.asciidoc index 648bd4ab1..2fd176ff4 100644 --- a/docs/examples/e63775a2ff22b945ab9d5f630b80c506.asciidoc +++ b/docs/examples/e63775a2ff22b945ab9d5f630b80c506.asciidoc @@ -1,5 +1,5 @@ // This file is autogenerated, DO NOT EDIT -// cluster/health.asciidoc:196 +// cluster/health.asciidoc:202 [source, python] ---- diff --git a/docs/examples/e650d73c57ab313e686fec01e3b0c90f.asciidoc b/docs/examples/e650d73c57ab313e686fec01e3b0c90f.asciidoc index 23631b956..a18141565 100644 --- a/docs/examples/e650d73c57ab313e686fec01e3b0c90f.asciidoc +++ b/docs/examples/e650d73c57ab313e686fec01e3b0c90f.asciidoc @@ -1,5 +1,5 @@ // This file is autogenerated, DO NOT EDIT -// docs/reindex.asciidoc:909 +// docs/reindex.asciidoc:915 [source, python] ---- diff --git a/docs/examples/e6dcc2911d2416a65eaec9846b956e15.asciidoc b/docs/examples/e6dcc2911d2416a65eaec9846b956e15.asciidoc index 559139160..452027669 100644 --- a/docs/examples/e6dcc2911d2416a65eaec9846b956e15.asciidoc +++ b/docs/examples/e6dcc2911d2416a65eaec9846b956e15.asciidoc @@ -1,5 +1,5 @@ // This file is autogenerated, DO NOT EDIT -// indices/refresh.asciidoc:13 +// indices/refresh.asciidoc:19 [source, python] ---- diff --git a/docs/examples/e6f6d3aeea7ecea47cfd5c3d727f7004.asciidoc b/docs/examples/e6f6d3aeea7ecea47cfd5c3d727f7004.asciidoc index 56ed35542..15cb77d28 100644 --- a/docs/examples/e6f6d3aeea7ecea47cfd5c3d727f7004.asciidoc +++ b/docs/examples/e6f6d3aeea7ecea47cfd5c3d727f7004.asciidoc @@ -1,5 +1,5 @@ // This file is autogenerated, DO NOT EDIT -// search/search-your-data/retrievers-examples.asciidoc:191 +// search/search-your-data/retrievers-examples.asciidoc:198 [source, python] ---- diff --git a/docs/examples/e6faae2e272ee57727f38e55a3de5bb2.asciidoc b/docs/examples/e6faae2e272ee57727f38e55a3de5bb2.asciidoc index f96b758e4..5efa745d0 100644 --- a/docs/examples/e6faae2e272ee57727f38e55a3de5bb2.asciidoc +++ b/docs/examples/e6faae2e272ee57727f38e55a3de5bb2.asciidoc @@ -1,5 +1,5 @@ // This file is autogenerated, DO NOT EDIT -// search/search-your-data/highlighting.asciidoc:543 +// search/search-your-data/highlighting.asciidoc:545 [source, python] ---- diff --git a/docs/examples/e71d300cd87f09a9527cf45395dd7eb1.asciidoc b/docs/examples/e71d300cd87f09a9527cf45395dd7eb1.asciidoc index fdc0e6034..bf278d586 100644 --- a/docs/examples/e71d300cd87f09a9527cf45395dd7eb1.asciidoc +++ b/docs/examples/e71d300cd87f09a9527cf45395dd7eb1.asciidoc @@ -1,5 +1,5 @@ // This file is autogenerated, DO NOT EDIT -// slm/apis/slm-execute-retention.asciidoc:34 +// slm/apis/slm-execute-retention.asciidoc:40 [source, python] ---- diff --git a/docs/examples/e784fc00894635470adfd78a0c46b427.asciidoc b/docs/examples/e784fc00894635470adfd78a0c46b427.asciidoc index ee0c04115..a5c0ed26a 100644 --- a/docs/examples/e784fc00894635470adfd78a0c46b427.asciidoc +++ b/docs/examples/e784fc00894635470adfd78a0c46b427.asciidoc @@ -1,5 +1,5 @@ // This file is autogenerated, DO NOT EDIT -// indices/put-component-template.asciidoc:13 +// indices/put-component-template.asciidoc:19 [source, python] ---- diff --git a/docs/examples/e7d819634d765cde269e2669e2dc677f.asciidoc b/docs/examples/e7d819634d765cde269e2669e2dc677f.asciidoc index 6f60455fb..38ce37cf7 100644 --- a/docs/examples/e7d819634d765cde269e2669e2dc677f.asciidoc +++ b/docs/examples/e7d819634d765cde269e2669e2dc677f.asciidoc @@ -1,5 +1,5 @@ // This file is autogenerated, DO NOT EDIT -// rest-api/security/invalidate-api-keys.asciidoc:145 +// rest-api/security/invalidate-api-keys.asciidoc:151 [source, python] ---- diff --git a/docs/examples/e8211247c280a3fbbbdd32850b743b7b.asciidoc b/docs/examples/e8211247c280a3fbbbdd32850b743b7b.asciidoc index 47c64fe27..64b82529b 100644 --- a/docs/examples/e8211247c280a3fbbbdd32850b743b7b.asciidoc +++ b/docs/examples/e8211247c280a3fbbbdd32850b743b7b.asciidoc @@ -1,5 +1,5 @@ // This file is autogenerated, DO NOT EDIT -// ml/df-analytics/apis/put-dfanalytics.asciidoc:717 +// ml/df-analytics/apis/put-dfanalytics.asciidoc:723 [source, python] ---- diff --git a/docs/examples/e821d27a8b810821707ba860e31f8b78.asciidoc b/docs/examples/e821d27a8b810821707ba860e31f8b78.asciidoc index 2e60eeb2f..d5cfc9760 100644 --- a/docs/examples/e821d27a8b810821707ba860e31f8b78.asciidoc +++ b/docs/examples/e821d27a8b810821707ba860e31f8b78.asciidoc @@ -1,5 +1,5 @@ // This file is autogenerated, DO NOT EDIT -// indices/put-mapping.asciidoc:232 +// indices/put-mapping.asciidoc:238 [source, python] ---- diff --git a/docs/examples/e827a9040e137410d62d10bb3b3cbb71.asciidoc b/docs/examples/e827a9040e137410d62d10bb3b3cbb71.asciidoc index 1b6b284b1..5a1aa8a01 100644 --- a/docs/examples/e827a9040e137410d62d10bb3b3cbb71.asciidoc +++ b/docs/examples/e827a9040e137410d62d10bb3b3cbb71.asciidoc @@ -1,5 +1,5 @@ // This file is autogenerated, DO NOT EDIT -// rest-api/watcher/get-watch.asciidoc:49 +// rest-api/watcher/get-watch.asciidoc:55 [source, python] ---- diff --git a/docs/examples/e84e23232c7ecc8d6377ec2c16a60269.asciidoc b/docs/examples/e84e23232c7ecc8d6377ec2c16a60269.asciidoc index ec4c69a47..c75b01feb 100644 --- a/docs/examples/e84e23232c7ecc8d6377ec2c16a60269.asciidoc +++ b/docs/examples/e84e23232c7ecc8d6377ec2c16a60269.asciidoc @@ -1,5 +1,5 @@ // This file is autogenerated, DO NOT EDIT -// indices/create-index.asciidoc:192 +// indices/create-index.asciidoc:198 [source, python] ---- diff --git a/docs/examples/e8c348cabe15dfe58ab4c3cc13a963fe.asciidoc b/docs/examples/e8c348cabe15dfe58ab4c3cc13a963fe.asciidoc index 4c3ecc511..93350f484 100644 --- a/docs/examples/e8c348cabe15dfe58ab4c3cc13a963fe.asciidoc +++ b/docs/examples/e8c348cabe15dfe58ab4c3cc13a963fe.asciidoc @@ -1,5 +1,5 @@ // This file is autogenerated, DO NOT EDIT -// search/search-shards.asciidoc:72 +// search/search-shards.asciidoc:78 [source, python] ---- diff --git a/docs/examples/e8f1c9ee003d115ec8f55e57990df6e4.asciidoc b/docs/examples/e8f1c9ee003d115ec8f55e57990df6e4.asciidoc index d59f83d38..d499ba26c 100644 --- a/docs/examples/e8f1c9ee003d115ec8f55e57990df6e4.asciidoc +++ b/docs/examples/e8f1c9ee003d115ec8f55e57990df6e4.asciidoc @@ -1,5 +1,5 @@ // This file is autogenerated, DO NOT EDIT -// ml/anomaly-detection/apis/get-category.asciidoc:148 +// ml/anomaly-detection/apis/get-category.asciidoc:154 [source, python] ---- diff --git a/docs/examples/e93ff228ab3e63738e1c83fdfb7424b9.asciidoc b/docs/examples/e93ff228ab3e63738e1c83fdfb7424b9.asciidoc index 0d8bfd524..daca718ee 100644 --- a/docs/examples/e93ff228ab3e63738e1c83fdfb7424b9.asciidoc +++ b/docs/examples/e93ff228ab3e63738e1c83fdfb7424b9.asciidoc @@ -1,5 +1,5 @@ // This file is autogenerated, DO NOT EDIT -// search/search-your-data/highlighting.asciidoc:432 +// search/search-your-data/highlighting.asciidoc:434 [source, python] ---- diff --git a/docs/examples/e9625da419bff6470ffd9927c59ca159.asciidoc b/docs/examples/e9625da419bff6470ffd9927c59ca159.asciidoc index d23a92313..1e71e2b91 100644 --- a/docs/examples/e9625da419bff6470ffd9927c59ca159.asciidoc +++ b/docs/examples/e9625da419bff6470ffd9927c59ca159.asciidoc @@ -1,5 +1,5 @@ // This file is autogenerated, DO NOT EDIT -// troubleshooting/common-issues/rejected-requests.asciidoc:25 +// troubleshooting/common-issues/rejected-requests.asciidoc:29 [source, python] ---- diff --git a/docs/examples/e9fc47015922d51c2b05e502ce9c622e.asciidoc b/docs/examples/e9fc47015922d51c2b05e502ce9c622e.asciidoc index 0e8ed80cd..55cc01563 100644 --- a/docs/examples/e9fc47015922d51c2b05e502ce9c622e.asciidoc +++ b/docs/examples/e9fc47015922d51c2b05e502ce9c622e.asciidoc @@ -1,5 +1,5 @@ // This file is autogenerated, DO NOT EDIT -// inference/service-google-ai-studio.asciidoc:97 +// inference/service-google-ai-studio.asciidoc:103 [source, python] ---- diff --git a/docs/examples/ea5391267ced860c00214c096e08c8d4.asciidoc b/docs/examples/ea5391267ced860c00214c096e08c8d4.asciidoc index b9988415e..d2b271c51 100644 --- a/docs/examples/ea5391267ced860c00214c096e08c8d4.asciidoc +++ b/docs/examples/ea5391267ced860c00214c096e08c8d4.asciidoc @@ -1,5 +1,5 @@ // This file is autogenerated, DO NOT EDIT -// indices/update-settings.asciidoc:13 +// indices/update-settings.asciidoc:19 [source, python] ---- diff --git a/docs/examples/ea68e3428cc2ca3455bf312d09451489.asciidoc b/docs/examples/ea68e3428cc2ca3455bf312d09451489.asciidoc index a017cdb8e..a6ec582ef 100644 --- a/docs/examples/ea68e3428cc2ca3455bf312d09451489.asciidoc +++ b/docs/examples/ea68e3428cc2ca3455bf312d09451489.asciidoc @@ -1,5 +1,5 @@ // This file is autogenerated, DO NOT EDIT -// search/search-your-data/knn-search.asciidoc:1082 +// search/search-your-data/knn-search.asciidoc:1244 [source, python] ---- diff --git a/docs/examples/eac3bc428d03eb4926fa51f74b9bc4d5.asciidoc b/docs/examples/eac3bc428d03eb4926fa51f74b9bc4d5.asciidoc index a2e4b636d..1e1e3bad5 100644 --- a/docs/examples/eac3bc428d03eb4926fa51f74b9bc4d5.asciidoc +++ b/docs/examples/eac3bc428d03eb4926fa51f74b9bc4d5.asciidoc @@ -1,5 +1,5 @@ // This file is autogenerated, DO NOT EDIT -// search/search-your-data/highlighting.asciidoc:340 +// search/search-your-data/highlighting.asciidoc:342 [source, python] ---- diff --git a/docs/examples/eafdabe80b21b90495555fa6d9089412.asciidoc b/docs/examples/eafdabe80b21b90495555fa6d9089412.asciidoc index fb29b3198..ac0090fc3 100644 --- a/docs/examples/eafdabe80b21b90495555fa6d9089412.asciidoc +++ b/docs/examples/eafdabe80b21b90495555fa6d9089412.asciidoc @@ -1,5 +1,5 @@ // This file is autogenerated, DO NOT EDIT -// rest-api/security/clear-service-token-caches.asciidoc:62 +// rest-api/security/clear-service-token-caches.asciidoc:68 [source, python] ---- diff --git a/docs/examples/eb14cedd3bdda9ffef3c118f3d528dcd.asciidoc b/docs/examples/eb14cedd3bdda9ffef3c118f3d528dcd.asciidoc index 63e6844bc..73b38e5d7 100644 --- a/docs/examples/eb14cedd3bdda9ffef3c118f3d528dcd.asciidoc +++ b/docs/examples/eb14cedd3bdda9ffef3c118f3d528dcd.asciidoc @@ -1,5 +1,5 @@ // This file is autogenerated, DO NOT EDIT -// docs/update.asciidoc:172 +// docs/update.asciidoc:178 [source, python] ---- diff --git a/docs/examples/eb4e43b47867b54214a8630172dd0e21.asciidoc b/docs/examples/eb4e43b47867b54214a8630172dd0e21.asciidoc index 71fc1718f..4789a526e 100644 --- a/docs/examples/eb4e43b47867b54214a8630172dd0e21.asciidoc +++ b/docs/examples/eb4e43b47867b54214a8630172dd0e21.asciidoc @@ -1,5 +1,5 @@ // This file is autogenerated, DO NOT EDIT -// ml/anomaly-detection/apis/delete-forecast.asciidoc:69 +// ml/anomaly-detection/apis/delete-forecast.asciidoc:75 [source, python] ---- diff --git a/docs/examples/eb54506fbc71a7d250e86b22d0600114.asciidoc b/docs/examples/eb54506fbc71a7d250e86b22d0600114.asciidoc index 89c81acd0..1b7faae1f 100644 --- a/docs/examples/eb54506fbc71a7d250e86b22d0600114.asciidoc +++ b/docs/examples/eb54506fbc71a7d250e86b22d0600114.asciidoc @@ -1,5 +1,5 @@ // This file is autogenerated, DO NOT EDIT -// connector/apis/list-connectors-api.asciidoc:108 +// connector/apis/list-connectors-api.asciidoc:117 [source, python] ---- diff --git a/docs/examples/eb964d8d7f27c057a4542448ba5b74e4.asciidoc b/docs/examples/eb964d8d7f27c057a4542448ba5b74e4.asciidoc index 8fde55ac3..c534fe21a 100644 --- a/docs/examples/eb964d8d7f27c057a4542448ba5b74e4.asciidoc +++ b/docs/examples/eb964d8d7f27c057a4542448ba5b74e4.asciidoc @@ -1,5 +1,5 @@ // This file is autogenerated, DO NOT EDIT -// snapshot-restore/apis/get-snapshot-api.asciidoc:482 +// snapshot-restore/apis/get-snapshot-api.asciidoc:488 [source, python] ---- diff --git a/docs/examples/eb96d7dd5f3116a50f7a86b729f1a934.asciidoc b/docs/examples/eb96d7dd5f3116a50f7a86b729f1a934.asciidoc index fcb571114..1edc39f32 100644 --- a/docs/examples/eb96d7dd5f3116a50f7a86b729f1a934.asciidoc +++ b/docs/examples/eb96d7dd5f3116a50f7a86b729f1a934.asciidoc @@ -1,5 +1,5 @@ // This file is autogenerated, DO NOT EDIT -// connector/apis/update-connector-scheduling-api.asciidoc:120 +// connector/apis/update-connector-scheduling-api.asciidoc:126 [source, python] ---- diff --git a/docs/examples/eb9a41f7fc8bdf5559bb9db822ae3a65.asciidoc b/docs/examples/eb9a41f7fc8bdf5559bb9db822ae3a65.asciidoc index 182d9c5ff..ae9694132 100644 --- a/docs/examples/eb9a41f7fc8bdf5559bb9db822ae3a65.asciidoc +++ b/docs/examples/eb9a41f7fc8bdf5559bb9db822ae3a65.asciidoc @@ -1,5 +1,5 @@ // This file is autogenerated, DO NOT EDIT -// rest-api/security/bulk-create-roles.asciidoc:230 +// rest-api/security/bulk-create-roles.asciidoc:236 [source, python] ---- diff --git a/docs/examples/ebb1c7554e91adb4552599f3e5de1865.asciidoc b/docs/examples/ebb1c7554e91adb4552599f3e5de1865.asciidoc index eeaf1d1f8..f48d32f16 100644 --- a/docs/examples/ebb1c7554e91adb4552599f3e5de1865.asciidoc +++ b/docs/examples/ebb1c7554e91adb4552599f3e5de1865.asciidoc @@ -1,5 +1,5 @@ // This file is autogenerated, DO NOT EDIT -// indices/split-index.asciidoc:84 +// indices/split-index.asciidoc:90 [source, python] ---- diff --git a/docs/examples/ebd76a45e153c4656c5871e23b7b5508.asciidoc b/docs/examples/ebd76a45e153c4656c5871e23b7b5508.asciidoc index 65636068e..e7b081d20 100644 --- a/docs/examples/ebd76a45e153c4656c5871e23b7b5508.asciidoc +++ b/docs/examples/ebd76a45e153c4656c5871e23b7b5508.asciidoc @@ -1,5 +1,5 @@ // This file is autogenerated, DO NOT EDIT -// rest-api/security/delete-app-privileges.asciidoc:41 +// rest-api/security/delete-app-privileges.asciidoc:47 [source, python] ---- diff --git a/docs/examples/ec0e50f78390b8622cef4e0b0cd45967.asciidoc b/docs/examples/ec0e50f78390b8622cef4e0b0cd45967.asciidoc index 494db9504..810df64ac 100644 --- a/docs/examples/ec0e50f78390b8622cef4e0b0cd45967.asciidoc +++ b/docs/examples/ec0e50f78390b8622cef4e0b0cd45967.asciidoc @@ -1,5 +1,5 @@ // This file is autogenerated, DO NOT EDIT -// eql/eql-search-api.asciidoc:533 +// eql/eql-search-api.asciidoc:586 [source, python] ---- diff --git a/docs/examples/ec4b43c3ebd8816799fa004596b2f0cb.asciidoc b/docs/examples/ec4b43c3ebd8816799fa004596b2f0cb.asciidoc new file mode 100644 index 000000000..effaf77bd --- /dev/null +++ b/docs/examples/ec4b43c3ebd8816799fa004596b2f0cb.asciidoc @@ -0,0 +1,14 @@ +// This file is autogenerated, DO NOT EDIT +// index-modules/slowlog.asciidoc:232 + +[source, python] +---- +resp = client.indices.put_settings( + index="*", + settings={ + "index.indexing.slowlog.include.user": True, + "index.indexing.slowlog.threshold.index.warn": "30s" + }, +) +print(resp) +---- diff --git a/docs/examples/ecfd0d94dd14ef05dfa861f22544b388.asciidoc b/docs/examples/ecfd0d94dd14ef05dfa861f22544b388.asciidoc index 051f91b70..961ca9008 100644 --- a/docs/examples/ecfd0d94dd14ef05dfa861f22544b388.asciidoc +++ b/docs/examples/ecfd0d94dd14ef05dfa861f22544b388.asciidoc @@ -1,5 +1,5 @@ // This file is autogenerated, DO NOT EDIT -// connector/apis/update-connector-error-api.asciidoc:81 +// connector/apis/update-connector-error-api.asciidoc:87 [source, python] ---- diff --git a/docs/examples/ed09432c6069e41409f0a5e0d1d3842a.asciidoc b/docs/examples/ed09432c6069e41409f0a5e0d1d3842a.asciidoc index d056e9d33..d7e084598 100644 --- a/docs/examples/ed09432c6069e41409f0a5e0d1d3842a.asciidoc +++ b/docs/examples/ed09432c6069e41409f0a5e0d1d3842a.asciidoc @@ -1,5 +1,5 @@ // This file is autogenerated, DO NOT EDIT -// indices/apis/reload-analyzers.asciidoc:10 +// indices/apis/reload-analyzers.asciidoc:16 [source, python] ---- diff --git a/docs/examples/ed3bdf4d6799b43526851e92b6a60c55.asciidoc b/docs/examples/ed3bdf4d6799b43526851e92b6a60c55.asciidoc index fa96997d3..460e9b642 100644 --- a/docs/examples/ed3bdf4d6799b43526851e92b6a60c55.asciidoc +++ b/docs/examples/ed3bdf4d6799b43526851e92b6a60c55.asciidoc @@ -1,5 +1,5 @@ // This file is autogenerated, DO NOT EDIT -// indices/get-field-mapping.asciidoc:129 +// indices/get-field-mapping.asciidoc:135 [source, python] ---- diff --git a/docs/examples/ed5bfa68d01e079aac94de78dc5caddf.asciidoc b/docs/examples/ed5bfa68d01e079aac94de78dc5caddf.asciidoc index 85db15e13..8da4f139b 100644 --- a/docs/examples/ed5bfa68d01e079aac94de78dc5caddf.asciidoc +++ b/docs/examples/ed5bfa68d01e079aac94de78dc5caddf.asciidoc @@ -1,5 +1,5 @@ // This file is autogenerated, DO NOT EDIT -// cat/master.asciidoc:51 +// cat/master.asciidoc:57 [source, python] ---- diff --git a/docs/examples/edb25dc0162b039d477cb06aed2d6275.asciidoc b/docs/examples/edb25dc0162b039d477cb06aed2d6275.asciidoc index fa681946d..90f2ebf6c 100644 --- a/docs/examples/edb25dc0162b039d477cb06aed2d6275.asciidoc +++ b/docs/examples/edb25dc0162b039d477cb06aed2d6275.asciidoc @@ -1,5 +1,5 @@ // This file is autogenerated, DO NOT EDIT -// query-dsl/sparse-vector-query.asciidoc:147 +// query-dsl/sparse-vector-query.asciidoc:149 [source, python] ---- diff --git a/docs/examples/ee223e604bb695cad2517d28ae63ac34.asciidoc b/docs/examples/ee223e604bb695cad2517d28ae63ac34.asciidoc index cb15a14c3..3efa63670 100644 --- a/docs/examples/ee223e604bb695cad2517d28ae63ac34.asciidoc +++ b/docs/examples/ee223e604bb695cad2517d28ae63ac34.asciidoc @@ -1,5 +1,5 @@ // This file is autogenerated, DO NOT EDIT -// search/rrf.asciidoc:47 +// search/rrf.asciidoc:53 [source, python] ---- diff --git a/docs/examples/ee577c4c7cc723e99569ea2d1137adba.asciidoc b/docs/examples/ee577c4c7cc723e99569ea2d1137adba.asciidoc index 51d611002..642fb80df 100644 --- a/docs/examples/ee577c4c7cc723e99569ea2d1137adba.asciidoc +++ b/docs/examples/ee577c4c7cc723e99569ea2d1137adba.asciidoc @@ -1,5 +1,5 @@ // This file is autogenerated, DO NOT EDIT -// rest-api/security/clear-roles-cache.asciidoc:42 +// rest-api/security/clear-roles-cache.asciidoc:48 [source, python] ---- diff --git a/docs/examples/ee90d1fb22b59d30da339d825303b912.asciidoc b/docs/examples/ee90d1fb22b59d30da339d825303b912.asciidoc index 52d677d20..0d1fd70aa 100644 --- a/docs/examples/ee90d1fb22b59d30da339d825303b912.asciidoc +++ b/docs/examples/ee90d1fb22b59d30da339d825303b912.asciidoc @@ -1,5 +1,5 @@ // This file is autogenerated, DO NOT EDIT -// rest-api/security/put-app-privileges.asciidoc:130 +// rest-api/security/put-app-privileges.asciidoc:136 [source, python] ---- diff --git a/docs/examples/eec051555c8050d017d3fe38ea59e3a0.asciidoc b/docs/examples/eec051555c8050d017d3fe38ea59e3a0.asciidoc index cab93affd..cb381a406 100644 --- a/docs/examples/eec051555c8050d017d3fe38ea59e3a0.asciidoc +++ b/docs/examples/eec051555c8050d017d3fe38ea59e3a0.asciidoc @@ -1,5 +1,5 @@ // This file is autogenerated, DO NOT EDIT -// search/search.asciidoc:907 +// search/search.asciidoc:915 [source, python] ---- diff --git a/docs/examples/eee6110831c08b9c1b3f56b24656e95b.asciidoc b/docs/examples/eee6110831c08b9c1b3f56b24656e95b.asciidoc index 515c4e510..d15d395da 100644 --- a/docs/examples/eee6110831c08b9c1b3f56b24656e95b.asciidoc +++ b/docs/examples/eee6110831c08b9c1b3f56b24656e95b.asciidoc @@ -1,5 +1,5 @@ // This file is autogenerated, DO NOT EDIT -// inference/service-hugging-face.asciidoc:101 +// inference/service-hugging-face.asciidoc:107 [source, python] ---- diff --git a/docs/examples/ef22234b97cc06d7dd620b4ce7c97b31.asciidoc b/docs/examples/ef22234b97cc06d7dd620b4ce7c97b31.asciidoc index 7235ecc06..47af1f873 100644 --- a/docs/examples/ef22234b97cc06d7dd620b4ce7c97b31.asciidoc +++ b/docs/examples/ef22234b97cc06d7dd620b4ce7c97b31.asciidoc @@ -1,5 +1,5 @@ // This file is autogenerated, DO NOT EDIT -// docs/reindex.asciidoc:694 +// docs/reindex.asciidoc:700 [source, python] ---- diff --git a/docs/examples/ef33b3b373f7040b874146599db5d557.asciidoc b/docs/examples/ef33b3b373f7040b874146599db5d557.asciidoc index 97a18cef8..c901f6a56 100644 --- a/docs/examples/ef33b3b373f7040b874146599db5d557.asciidoc +++ b/docs/examples/ef33b3b373f7040b874146599db5d557.asciidoc @@ -1,5 +1,5 @@ // This file is autogenerated, DO NOT EDIT -// indices/analyze.asciidoc:173 +// indices/analyze.asciidoc:179 [source, python] ---- diff --git a/docs/examples/ef9c29759459904fef162acd223462c4.asciidoc b/docs/examples/ef9c29759459904fef162acd223462c4.asciidoc index 7d7cd3d0c..62ab676bd 100644 --- a/docs/examples/ef9c29759459904fef162acd223462c4.asciidoc +++ b/docs/examples/ef9c29759459904fef162acd223462c4.asciidoc @@ -1,5 +1,5 @@ // This file is autogenerated, DO NOT EDIT -// cluster/nodes-stats.asciidoc:2589 +// cluster/nodes-stats.asciidoc:2595 [source, python] ---- diff --git a/docs/examples/eff8ecaed1ed084909c64450fc363a20.asciidoc b/docs/examples/eff8ecaed1ed084909c64450fc363a20.asciidoc index b87269ad4..09d50fdfd 100644 --- a/docs/examples/eff8ecaed1ed084909c64450fc363a20.asciidoc +++ b/docs/examples/eff8ecaed1ed084909c64450fc363a20.asciidoc @@ -1,5 +1,5 @@ // This file is autogenerated, DO NOT EDIT -// cluster/update-settings.asciidoc:96 +// cluster/update-settings.asciidoc:101 [source, python] ---- diff --git a/docs/examples/f04e1284d09ceb4443d67b2ef9c7f476.asciidoc b/docs/examples/f04e1284d09ceb4443d67b2ef9c7f476.asciidoc index 7b8b3092d..04374468a 100644 --- a/docs/examples/f04e1284d09ceb4443d67b2ef9c7f476.asciidoc +++ b/docs/examples/f04e1284d09ceb4443d67b2ef9c7f476.asciidoc @@ -1,5 +1,5 @@ // This file is autogenerated, DO NOT EDIT -// snapshot-restore/apis/delete-snapshot-api.asciidoc:30 +// snapshot-restore/apis/delete-snapshot-api.asciidoc:36 [source, python] ---- diff --git a/docs/examples/f0816beb8ac21cb0940858b72f6b1946.asciidoc b/docs/examples/f0816beb8ac21cb0940858b72f6b1946.asciidoc index 903a04c6c..f7e0379a5 100644 --- a/docs/examples/f0816beb8ac21cb0940858b72f6b1946.asciidoc +++ b/docs/examples/f0816beb8ac21cb0940858b72f6b1946.asciidoc @@ -1,5 +1,5 @@ // This file is autogenerated, DO NOT EDIT -// cat/fielddata.asciidoc:126 +// cat/fielddata.asciidoc:132 [source, python] ---- diff --git a/docs/examples/f128a9dff5051b47efe2c53c4454a68f.asciidoc b/docs/examples/f128a9dff5051b47efe2c53c4454a68f.asciidoc index 9a2bc95e0..1569cc402 100644 --- a/docs/examples/f128a9dff5051b47efe2c53c4454a68f.asciidoc +++ b/docs/examples/f128a9dff5051b47efe2c53c4454a68f.asciidoc @@ -1,5 +1,5 @@ // This file is autogenerated, DO NOT EDIT -// indices/rollover-index.asciidoc:255 +// indices/rollover-index.asciidoc:261 [source, python] ---- diff --git a/docs/examples/f160561efab38e40c2feebf5a2542ab5.asciidoc b/docs/examples/f160561efab38e40c2feebf5a2542ab5.asciidoc index b60a3d3af..aa6a1e78c 100644 --- a/docs/examples/f160561efab38e40c2feebf5a2542ab5.asciidoc +++ b/docs/examples/f160561efab38e40c2feebf5a2542ab5.asciidoc @@ -1,5 +1,5 @@ // This file is autogenerated, DO NOT EDIT -// cluster/nodes-stats.asciidoc:2597 +// cluster/nodes-stats.asciidoc:2603 [source, python] ---- diff --git a/docs/examples/f1b24217b1d9ba6ea5e4fa6e6f412022.asciidoc b/docs/examples/f1b24217b1d9ba6ea5e4fa6e6f412022.asciidoc index bde573a84..a23aeb237 100644 --- a/docs/examples/f1b24217b1d9ba6ea5e4fa6e6f412022.asciidoc +++ b/docs/examples/f1b24217b1d9ba6ea5e4fa6e6f412022.asciidoc @@ -1,5 +1,5 @@ // This file is autogenerated, DO NOT EDIT -// inference/post-inference.asciidoc:132 +// inference/post-inference.asciidoc:138 [source, python] ---- diff --git a/docs/examples/f1bf0c03581b79c3324cfa3246a60e4d.asciidoc b/docs/examples/f1bf0c03581b79c3324cfa3246a60e4d.asciidoc index 999c9d14e..594d3bd47 100644 --- a/docs/examples/f1bf0c03581b79c3324cfa3246a60e4d.asciidoc +++ b/docs/examples/f1bf0c03581b79c3324cfa3246a60e4d.asciidoc @@ -1,5 +1,5 @@ // This file is autogenerated, DO NOT EDIT -// mapping/types/dense-vector.asciidoc:182 +// mapping/types/dense-vector.asciidoc:183 [source, python] ---- diff --git a/docs/examples/f1e2af6dbb30fc5335e7d0b5507a2a93.asciidoc b/docs/examples/f1e2af6dbb30fc5335e7d0b5507a2a93.asciidoc index 075670f1c..3b9a26d8c 100644 --- a/docs/examples/f1e2af6dbb30fc5335e7d0b5507a2a93.asciidoc +++ b/docs/examples/f1e2af6dbb30fc5335e7d0b5507a2a93.asciidoc @@ -1,5 +1,5 @@ // This file is autogenerated, DO NOT EDIT -// ml/anomaly-detection/apis/reset-job.asciidoc:56 +// ml/anomaly-detection/apis/reset-job.asciidoc:62 [source, python] ---- diff --git a/docs/examples/f2175feadc2abe545899889e6d4ffcad.asciidoc b/docs/examples/f2175feadc2abe545899889e6d4ffcad.asciidoc index bcfa55c34..5e628b0ae 100644 --- a/docs/examples/f2175feadc2abe545899889e6d4ffcad.asciidoc +++ b/docs/examples/f2175feadc2abe545899889e6d4ffcad.asciidoc @@ -1,5 +1,5 @@ // This file is autogenerated, DO NOT EDIT -// slm/apis/slm-get.asciidoc:71 +// slm/apis/slm-get.asciidoc:77 [source, python] ---- diff --git a/docs/examples/f27c28ddbf4c266b5f42d14da837b8de.asciidoc b/docs/examples/f27c28ddbf4c266b5f42d14da837b8de.asciidoc index cf0fa265f..613c5fe07 100644 --- a/docs/examples/f27c28ddbf4c266b5f42d14da837b8de.asciidoc +++ b/docs/examples/f27c28ddbf4c266b5f42d14da837b8de.asciidoc @@ -1,5 +1,5 @@ // This file is autogenerated, DO NOT EDIT -// indices/flush.asciidoc:141 +// indices/flush.asciidoc:147 [source, python] ---- diff --git a/docs/examples/f298c4eb50ea97b34c57f8756eb350d3.asciidoc b/docs/examples/f298c4eb50ea97b34c57f8756eb350d3.asciidoc index b62249d4e..e6b401225 100644 --- a/docs/examples/f298c4eb50ea97b34c57f8756eb350d3.asciidoc +++ b/docs/examples/f298c4eb50ea97b34c57f8756eb350d3.asciidoc @@ -1,5 +1,5 @@ // This file is autogenerated, DO NOT EDIT -// cat/pending_tasks.asciidoc:51 +// cat/pending_tasks.asciidoc:57 [source, python] ---- diff --git a/docs/examples/f29b2674299ddf51a25ed87619025ede.asciidoc b/docs/examples/f29b2674299ddf51a25ed87619025ede.asciidoc index 1c6f7e551..ce3e50526 100644 --- a/docs/examples/f29b2674299ddf51a25ed87619025ede.asciidoc +++ b/docs/examples/f29b2674299ddf51a25ed87619025ede.asciidoc @@ -1,5 +1,5 @@ // This file is autogenerated, DO NOT EDIT -// rollup/apis/rollup-search.asciidoc:115 +// rollup/apis/rollup-search.asciidoc:121 [source, python] ---- diff --git a/docs/examples/f2a5f77f929cc7b893b80f4bd5b1a192.asciidoc b/docs/examples/f2a5f77f929cc7b893b80f4bd5b1a192.asciidoc index 61c8fc4f7..322a5d096 100644 --- a/docs/examples/f2a5f77f929cc7b893b80f4bd5b1a192.asciidoc +++ b/docs/examples/f2a5f77f929cc7b893b80f4bd5b1a192.asciidoc @@ -1,5 +1,5 @@ // This file is autogenerated, DO NOT EDIT -// connector/apis/get-connector-api.asciidoc:65 +// connector/apis/get-connector-api.asciidoc:74 [source, python] ---- diff --git a/docs/examples/f2e854b6c99659ccc1824e86c096e433.asciidoc b/docs/examples/f2e854b6c99659ccc1824e86c096e433.asciidoc index 580ae0c8f..c42f37698 100644 --- a/docs/examples/f2e854b6c99659ccc1824e86c096e433.asciidoc +++ b/docs/examples/f2e854b6c99659ccc1824e86c096e433.asciidoc @@ -1,5 +1,5 @@ // This file is autogenerated, DO NOT EDIT -// ccr/apis/auto-follow/resume-auto-follow-pattern.asciidoc:80 +// ccr/apis/auto-follow/resume-auto-follow-pattern.asciidoc:86 [source, python] ---- diff --git a/docs/examples/f2ec53c0ef5025de8890d0ff8ec287a0.asciidoc b/docs/examples/f2ec53c0ef5025de8890d0ff8ec287a0.asciidoc index 9fb946dc7..16fb92c4c 100644 --- a/docs/examples/f2ec53c0ef5025de8890d0ff8ec287a0.asciidoc +++ b/docs/examples/f2ec53c0ef5025de8890d0ff8ec287a0.asciidoc @@ -1,5 +1,5 @@ // This file is autogenerated, DO NOT EDIT -// search/rank-eval.asciidoc:353 +// search/rank-eval.asciidoc:359 [source, python] ---- diff --git a/docs/examples/f2f1cae094855a45fd8f73478bec8e70.asciidoc b/docs/examples/f2f1cae094855a45fd8f73478bec8e70.asciidoc index 2a5e63f3e..d3824a920 100644 --- a/docs/examples/f2f1cae094855a45fd8f73478bec8e70.asciidoc +++ b/docs/examples/f2f1cae094855a45fd8f73478bec8e70.asciidoc @@ -1,5 +1,5 @@ // This file is autogenerated, DO NOT EDIT -// indices/split-index.asciidoc:203 +// indices/split-index.asciidoc:209 [source, python] ---- diff --git a/docs/examples/f3594de7ef39ab09b0bb12c1e76bfe6b.asciidoc b/docs/examples/f3594de7ef39ab09b0bb12c1e76bfe6b.asciidoc index 5f7cd0dd9..c0d76f3e8 100644 --- a/docs/examples/f3594de7ef39ab09b0bb12c1e76bfe6b.asciidoc +++ b/docs/examples/f3594de7ef39ab09b0bb12c1e76bfe6b.asciidoc @@ -1,5 +1,5 @@ // This file is autogenerated, DO NOT EDIT -// indices/shrink-index.asciidoc:119 +// indices/shrink-index.asciidoc:125 [source, python] ---- diff --git a/docs/examples/f3697682a886ab129530f3e5c1b30632.asciidoc b/docs/examples/f3697682a886ab129530f3e5c1b30632.asciidoc index bee2d347e..2d3e503da 100644 --- a/docs/examples/f3697682a886ab129530f3e5c1b30632.asciidoc +++ b/docs/examples/f3697682a886ab129530f3e5c1b30632.asciidoc @@ -1,5 +1,5 @@ // This file is autogenerated, DO NOT EDIT -// docs/termvectors.asciidoc:10 +// docs/termvectors.asciidoc:16 [source, python] ---- diff --git a/docs/examples/f37173a75cd1b0d683c6f67819dd1de3.asciidoc b/docs/examples/f37173a75cd1b0d683c6f67819dd1de3.asciidoc index 3d3d9027a..3b030c27d 100644 --- a/docs/examples/f37173a75cd1b0d683c6f67819dd1de3.asciidoc +++ b/docs/examples/f37173a75cd1b0d683c6f67819dd1de3.asciidoc @@ -1,5 +1,5 @@ // This file is autogenerated, DO NOT EDIT -// docs/reindex.asciidoc:794 +// docs/reindex.asciidoc:800 [source, python] ---- diff --git a/docs/examples/f388e571224dd6850f8c9f9f08fca3da.asciidoc b/docs/examples/f388e571224dd6850f8c9f9f08fca3da.asciidoc index b062c34a7..4231f47ea 100644 --- a/docs/examples/f388e571224dd6850f8c9f9f08fca3da.asciidoc +++ b/docs/examples/f388e571224dd6850f8c9f9f08fca3da.asciidoc @@ -1,5 +1,5 @@ // This file is autogenerated, DO NOT EDIT -// rest-api/security/invalidate-api-keys.asciidoc:123 +// rest-api/security/invalidate-api-keys.asciidoc:129 [source, python] ---- diff --git a/docs/examples/f3b185131f40687c25d2f85e1231d8bd.asciidoc b/docs/examples/f3b185131f40687c25d2f85e1231d8bd.asciidoc index 96ab82784..9fbd49437 100644 --- a/docs/examples/f3b185131f40687c25d2f85e1231d8bd.asciidoc +++ b/docs/examples/f3b185131f40687c25d2f85e1231d8bd.asciidoc @@ -1,5 +1,5 @@ // This file is autogenerated, DO NOT EDIT -// search/validate.asciidoc:99 +// search/validate.asciidoc:105 [source, python] ---- diff --git a/docs/examples/f3fb3cba44988b6e9fee93316138b2cf.asciidoc b/docs/examples/f3fb3cba44988b6e9fee93316138b2cf.asciidoc index eaaa1b0ec..0dd4534b2 100644 --- a/docs/examples/f3fb3cba44988b6e9fee93316138b2cf.asciidoc +++ b/docs/examples/f3fb3cba44988b6e9fee93316138b2cf.asciidoc @@ -1,5 +1,5 @@ // This file is autogenerated, DO NOT EDIT -// rest-api/security/clear-privileges-cache.asciidoc:50 +// rest-api/security/clear-privileges-cache.asciidoc:56 [source, python] ---- diff --git a/docs/examples/f43ec4041e3b72bbde063452990bfc4b.asciidoc b/docs/examples/f43ec4041e3b72bbde063452990bfc4b.asciidoc index b1c76f31a..d5e608559 100644 --- a/docs/examples/f43ec4041e3b72bbde063452990bfc4b.asciidoc +++ b/docs/examples/f43ec4041e3b72bbde063452990bfc4b.asciidoc @@ -1,5 +1,5 @@ // This file is autogenerated, DO NOT EDIT -// indices/clearcache.asciidoc:142 +// indices/clearcache.asciidoc:148 [source, python] ---- diff --git a/docs/examples/f44d287c6937785eb09b91353c1deb1e.asciidoc b/docs/examples/f44d287c6937785eb09b91353c1deb1e.asciidoc index 8d7c695cc..6a44a94e9 100644 --- a/docs/examples/f44d287c6937785eb09b91353c1deb1e.asciidoc +++ b/docs/examples/f44d287c6937785eb09b91353c1deb1e.asciidoc @@ -1,5 +1,5 @@ // This file is autogenerated, DO NOT EDIT -// ml/anomaly-detection/apis/get-datafeed-stats.asciidoc:177 +// ml/anomaly-detection/apis/get-datafeed-stats.asciidoc:183 [source, python] ---- diff --git a/docs/examples/f454e3f8ad5f5bd82a4a25af7dee9ca1.asciidoc b/docs/examples/f454e3f8ad5f5bd82a4a25af7dee9ca1.asciidoc index 8f571685d..4bc61fdf6 100644 --- a/docs/examples/f454e3f8ad5f5bd82a4a25af7dee9ca1.asciidoc +++ b/docs/examples/f454e3f8ad5f5bd82a4a25af7dee9ca1.asciidoc @@ -1,5 +1,5 @@ // This file is autogenerated, DO NOT EDIT -// mapping/types/array.asciidoc:42 +// mapping/types/array.asciidoc:39 [source, python] ---- diff --git a/docs/examples/f49ac80f0130cae8d0ea6f4472a149dd.asciidoc b/docs/examples/f49ac80f0130cae8d0ea6f4472a149dd.asciidoc index df68fc906..2cccf26e2 100644 --- a/docs/examples/f49ac80f0130cae8d0ea6f4472a149dd.asciidoc +++ b/docs/examples/f49ac80f0130cae8d0ea6f4472a149dd.asciidoc @@ -1,5 +1,5 @@ // This file is autogenerated, DO NOT EDIT -// query-dsl/knn-query.asciidoc:17 +// query-dsl/knn-query.asciidoc:18 [source, python] ---- diff --git a/docs/examples/f4b9baed3c6a82be3672cbc8999c2368.asciidoc b/docs/examples/f4b9baed3c6a82be3672cbc8999c2368.asciidoc index 5ad334f01..9adf5ba34 100644 --- a/docs/examples/f4b9baed3c6a82be3672cbc8999c2368.asciidoc +++ b/docs/examples/f4b9baed3c6a82be3672cbc8999c2368.asciidoc @@ -1,5 +1,5 @@ // This file is autogenerated, DO NOT EDIT -// search/terms-enum.asciidoc:13 +// search/terms-enum.asciidoc:19 [source, python] ---- diff --git a/docs/examples/f4dc1286d0a2f8d1fde64fbf12fd9f8d.asciidoc b/docs/examples/f4dc1286d0a2f8d1fde64fbf12fd9f8d.asciidoc index b48e2704b..920da5537 100644 --- a/docs/examples/f4dc1286d0a2f8d1fde64fbf12fd9f8d.asciidoc +++ b/docs/examples/f4dc1286d0a2f8d1fde64fbf12fd9f8d.asciidoc @@ -1,5 +1,5 @@ // This file is autogenerated, DO NOT EDIT -// troubleshooting/common-issues/disk-usage-exceeded.asciidoc:86 +// troubleshooting/common-issues/disk-usage-exceeded.asciidoc:90 [source, python] ---- diff --git a/docs/examples/f4f557716049b23f8840d58d71e748f0.asciidoc b/docs/examples/f4f557716049b23f8840d58d71e748f0.asciidoc index 087424acd..7ff14c5da 100644 --- a/docs/examples/f4f557716049b23f8840d58d71e748f0.asciidoc +++ b/docs/examples/f4f557716049b23f8840d58d71e748f0.asciidoc @@ -1,5 +1,5 @@ // This file is autogenerated, DO NOT EDIT -// indices/update-settings.asciidoc:115 +// indices/update-settings.asciidoc:121 [source, python] ---- diff --git a/docs/examples/f4fdfe52ecba65eec6beb30d8deb8bbf.asciidoc b/docs/examples/f4fdfe52ecba65eec6beb30d8deb8bbf.asciidoc index ceca7cc8a..6ed6fd1bf 100644 --- a/docs/examples/f4fdfe52ecba65eec6beb30d8deb8bbf.asciidoc +++ b/docs/examples/f4fdfe52ecba65eec6beb30d8deb8bbf.asciidoc @@ -1,5 +1,5 @@ // This file is autogenerated, DO NOT EDIT -// ccr/apis/follow/post-forget-follower.asciidoc:35 +// ccr/apis/follow/post-forget-follower.asciidoc:41 [source, python] ---- diff --git a/docs/examples/f5140f08f56c64b5789357539f8b9ba8.asciidoc b/docs/examples/f5140f08f56c64b5789357539f8b9ba8.asciidoc index f0e6a2bcd..ac21cc555 100644 --- a/docs/examples/f5140f08f56c64b5789357539f8b9ba8.asciidoc +++ b/docs/examples/f5140f08f56c64b5789357539f8b9ba8.asciidoc @@ -1,5 +1,5 @@ // This file is autogenerated, DO NOT EDIT -// indices/delete-alias.asciidoc:10 +// indices/delete-alias.asciidoc:16 [source, python] ---- diff --git a/docs/examples/f57ce7de0946e9416ddb9150e95f4b74.asciidoc b/docs/examples/f57ce7de0946e9416ddb9150e95f4b74.asciidoc index d2d437022..c72602223 100644 --- a/docs/examples/f57ce7de0946e9416ddb9150e95f4b74.asciidoc +++ b/docs/examples/f57ce7de0946e9416ddb9150e95f4b74.asciidoc @@ -1,5 +1,5 @@ // This file is autogenerated, DO NOT EDIT -// inference/service-azure-openai.asciidoc:159 +// inference/service-azure-openai.asciidoc:165 [source, python] ---- diff --git a/docs/examples/f58fd031597e2c3df78bf0efd07206e3.asciidoc b/docs/examples/f58fd031597e2c3df78bf0efd07206e3.asciidoc index a2222067f..a9ea7f209 100644 --- a/docs/examples/f58fd031597e2c3df78bf0efd07206e3.asciidoc +++ b/docs/examples/f58fd031597e2c3df78bf0efd07206e3.asciidoc @@ -1,5 +1,5 @@ // This file is autogenerated, DO NOT EDIT -// licensing/start-basic.asciidoc:62 +// licensing/start-basic.asciidoc:68 [source, python] ---- diff --git a/docs/examples/f63f6343e74bd5c844854272e746de14.asciidoc b/docs/examples/f63f6343e74bd5c844854272e746de14.asciidoc index 00f67f60f..a317cea4e 100644 --- a/docs/examples/f63f6343e74bd5c844854272e746de14.asciidoc +++ b/docs/examples/f63f6343e74bd5c844854272e746de14.asciidoc @@ -1,5 +1,5 @@ // This file is autogenerated, DO NOT EDIT -// rest-api/watcher/deactivate-watch.asciidoc:82 +// rest-api/watcher/deactivate-watch.asciidoc:88 [source, python] ---- diff --git a/docs/examples/f656c1e64268293ecc8ebd8065628faa.asciidoc b/docs/examples/f656c1e64268293ecc8ebd8065628faa.asciidoc index 1b4e85d1d..084364977 100644 --- a/docs/examples/f656c1e64268293ecc8ebd8065628faa.asciidoc +++ b/docs/examples/f656c1e64268293ecc8ebd8065628faa.asciidoc @@ -1,5 +1,5 @@ // This file is autogenerated, DO NOT EDIT -// rest-api/security/clear-service-token-caches.asciidoc:70 +// rest-api/security/clear-service-token-caches.asciidoc:76 [source, python] ---- diff --git a/docs/examples/f66643c54999426c5afa6d5a87435d4e.asciidoc b/docs/examples/f66643c54999426c5afa6d5a87435d4e.asciidoc index 767b7ced6..ce8785026 100644 --- a/docs/examples/f66643c54999426c5afa6d5a87435d4e.asciidoc +++ b/docs/examples/f66643c54999426c5afa6d5a87435d4e.asciidoc @@ -1,5 +1,5 @@ // This file is autogenerated, DO NOT EDIT -// rest-api/security/clear-api-key-cache.asciidoc:43 +// rest-api/security/clear-api-key-cache.asciidoc:49 [source, python] ---- diff --git a/docs/examples/f6982ff80b9a64cd5fcac5b20908c906.asciidoc b/docs/examples/f6982ff80b9a64cd5fcac5b20908c906.asciidoc index 08be9d126..74a46c58a 100644 --- a/docs/examples/f6982ff80b9a64cd5fcac5b20908c906.asciidoc +++ b/docs/examples/f6982ff80b9a64cd5fcac5b20908c906.asciidoc @@ -1,5 +1,5 @@ // This file is autogenerated, DO NOT EDIT -// ml/anomaly-detection/apis/delete-calendar-event.asciidoc:43 +// ml/anomaly-detection/apis/delete-calendar-event.asciidoc:49 [source, python] ---- diff --git a/docs/examples/f6d493650b4344f17297b568016fb445.asciidoc b/docs/examples/f6d493650b4344f17297b568016fb445.asciidoc index 8e1f1d499..674327bf6 100644 --- a/docs/examples/f6d493650b4344f17297b568016fb445.asciidoc +++ b/docs/examples/f6d493650b4344f17297b568016fb445.asciidoc @@ -1,5 +1,5 @@ // This file is autogenerated, DO NOT EDIT -// ccr/apis/follow/post-unfollow.asciidoc:33 +// ccr/apis/follow/post-unfollow.asciidoc:39 [source, python] ---- diff --git a/docs/examples/f6df4acf3c7a4f85706ff314b21ebcb2.asciidoc b/docs/examples/f6df4acf3c7a4f85706ff314b21ebcb2.asciidoc index a030da158..b21d0e61f 100644 --- a/docs/examples/f6df4acf3c7a4f85706ff314b21ebcb2.asciidoc +++ b/docs/examples/f6df4acf3c7a4f85706ff314b21ebcb2.asciidoc @@ -1,5 +1,5 @@ // This file is autogenerated, DO NOT EDIT -// rest-api/security/clear-privileges-cache.asciidoc:43 +// rest-api/security/clear-privileges-cache.asciidoc:49 [source, python] ---- diff --git a/docs/examples/f6ead39c5505045543b9225deca7367d.asciidoc b/docs/examples/f6ead39c5505045543b9225deca7367d.asciidoc index 85a72c5e4..c07d7f415 100644 --- a/docs/examples/f6ead39c5505045543b9225deca7367d.asciidoc +++ b/docs/examples/f6ead39c5505045543b9225deca7367d.asciidoc @@ -1,5 +1,5 @@ // This file is autogenerated, DO NOT EDIT -// cluster/voting-exclusions.asciidoc:109 +// cluster/voting-exclusions.asciidoc:115 [source, python] ---- diff --git a/docs/examples/f6eff830fb0fad200ebfb1e3e46f6f0e.asciidoc b/docs/examples/f6eff830fb0fad200ebfb1e3e46f6f0e.asciidoc index eb34a6f82..521fed98e 100644 --- a/docs/examples/f6eff830fb0fad200ebfb1e3e46f6f0e.asciidoc +++ b/docs/examples/f6eff830fb0fad200ebfb1e3e46f6f0e.asciidoc @@ -1,5 +1,5 @@ // This file is autogenerated, DO NOT EDIT -// rest-api/watcher/execute-watch.asciidoc:155 +// rest-api/watcher/execute-watch.asciidoc:161 [source, python] ---- diff --git a/docs/examples/f70a54cd9a9f4811bf962e469f2ca2ea.asciidoc b/docs/examples/f70a54cd9a9f4811bf962e469f2ca2ea.asciidoc index 5d8f859d7..9506f1299 100644 --- a/docs/examples/f70a54cd9a9f4811bf962e469f2ca2ea.asciidoc +++ b/docs/examples/f70a54cd9a9f4811bf962e469f2ca2ea.asciidoc @@ -1,5 +1,5 @@ // This file is autogenerated, DO NOT EDIT -// query-dsl/bool-query.asciidoc:88 +// query-dsl/bool-query.asciidoc:91 [source, python] ---- diff --git a/docs/examples/f70ff57c80cdbce3f1e7c63ee307c92d.asciidoc b/docs/examples/f70ff57c80cdbce3f1e7c63ee307c92d.asciidoc index 2decbc5f1..efb71a223 100644 --- a/docs/examples/f70ff57c80cdbce3f1e7c63ee307c92d.asciidoc +++ b/docs/examples/f70ff57c80cdbce3f1e7c63ee307c92d.asciidoc @@ -1,5 +1,5 @@ // This file is autogenerated, DO NOT EDIT -// scripting/using.asciidoc:503 +// scripting/using.asciidoc:508 [source, python] ---- diff --git a/docs/examples/f785b5d17eb59f8d2a353c2dee66eb5b.asciidoc b/docs/examples/f785b5d17eb59f8d2a353c2dee66eb5b.asciidoc index d93907c92..db64e8c7c 100644 --- a/docs/examples/f785b5d17eb59f8d2a353c2dee66eb5b.asciidoc +++ b/docs/examples/f785b5d17eb59f8d2a353c2dee66eb5b.asciidoc @@ -1,5 +1,5 @@ // This file is autogenerated, DO NOT EDIT -// connector/apis/get-connector-sync-job-api.asciidoc:45 +// connector/apis/get-connector-sync-job-api.asciidoc:51 [source, python] ---- diff --git a/docs/examples/f823e4b87ed181b27f73ebc51351f0ee.asciidoc b/docs/examples/f823e4b87ed181b27f73ebc51351f0ee.asciidoc index 0de27db07..dcc03a130 100644 --- a/docs/examples/f823e4b87ed181b27f73ebc51351f0ee.asciidoc +++ b/docs/examples/f823e4b87ed181b27f73ebc51351f0ee.asciidoc @@ -1,5 +1,5 @@ // This file is autogenerated, DO NOT EDIT -// indices/delete-data-stream.asciidoc:26 +// indices/delete-data-stream.asciidoc:32 [source, python] ---- diff --git a/docs/examples/f8a0010753b1ff563dc42d703902d2fa.asciidoc b/docs/examples/f8a0010753b1ff563dc42d703902d2fa.asciidoc index fb0ec2cb8..ef6a5206b 100644 --- a/docs/examples/f8a0010753b1ff563dc42d703902d2fa.asciidoc +++ b/docs/examples/f8a0010753b1ff563dc42d703902d2fa.asciidoc @@ -1,5 +1,5 @@ // This file is autogenerated, DO NOT EDIT -// query-dsl/bool-query.asciidoc:36 +// query-dsl/bool-query.asciidoc:39 [source, python] ---- diff --git a/docs/examples/f8cb1a04c2e487ff006b5ae0e1a7afbd.asciidoc b/docs/examples/f8cb1a04c2e487ff006b5ae0e1a7afbd.asciidoc index f6c6cbba9..d66ed0a8c 100644 --- a/docs/examples/f8cb1a04c2e487ff006b5ae0e1a7afbd.asciidoc +++ b/docs/examples/f8cb1a04c2e487ff006b5ae0e1a7afbd.asciidoc @@ -1,5 +1,5 @@ // This file is autogenerated, DO NOT EDIT -// rollup/apis/rollup-caps.asciidoc:172 +// rollup/apis/rollup-caps.asciidoc:178 [source, python] ---- diff --git a/docs/examples/f92d2f5018a8843ffbb56ade15f84406.asciidoc b/docs/examples/f92d2f5018a8843ffbb56ade15f84406.asciidoc index 148bc6c38..2ea838669 100644 --- a/docs/examples/f92d2f5018a8843ffbb56ade15f84406.asciidoc +++ b/docs/examples/f92d2f5018a8843ffbb56ade15f84406.asciidoc @@ -1,5 +1,5 @@ // This file is autogenerated, DO NOT EDIT -// licensing/get-basic-status.asciidoc:35 +// licensing/get-basic-status.asciidoc:41 [source, python] ---- diff --git a/docs/examples/f95a4d7ab02bf400246c8822f0245f02.asciidoc b/docs/examples/f95a4d7ab02bf400246c8822f0245f02.asciidoc index 9e2f8d55f..0d7391c3e 100644 --- a/docs/examples/f95a4d7ab02bf400246c8822f0245f02.asciidoc +++ b/docs/examples/f95a4d7ab02bf400246c8822f0245f02.asciidoc @@ -1,5 +1,5 @@ // This file is autogenerated, DO NOT EDIT -// cat/trainedmodel.asciidoc:118 +// cat/trainedmodel.asciidoc:124 [source, python] ---- diff --git a/docs/examples/f96d4614f2fc294339fef325b794355f.asciidoc b/docs/examples/f96d4614f2fc294339fef325b794355f.asciidoc index a10bf05e0..0ab525d3e 100644 --- a/docs/examples/f96d4614f2fc294339fef325b794355f.asciidoc +++ b/docs/examples/f96d4614f2fc294339fef325b794355f.asciidoc @@ -1,5 +1,5 @@ // This file is autogenerated, DO NOT EDIT -// ml/anomaly-detection/apis/get-bucket.asciidoc:202 +// ml/anomaly-detection/apis/get-bucket.asciidoc:208 [source, python] ---- diff --git a/docs/examples/f96d8131e8a592fbf6dfd686173940a9.asciidoc b/docs/examples/f96d8131e8a592fbf6dfd686173940a9.asciidoc index edb0c9a7b..051fb6d52 100644 --- a/docs/examples/f96d8131e8a592fbf6dfd686173940a9.asciidoc +++ b/docs/examples/f96d8131e8a592fbf6dfd686173940a9.asciidoc @@ -1,5 +1,5 @@ // This file is autogenerated, DO NOT EDIT -// rest-api/watcher/update-settings.asciidoc:16 +// rest-api/watcher/update-settings.asciidoc:22 [source, python] ---- diff --git a/docs/examples/f978088f5117d4addd55c11ee3777312.asciidoc b/docs/examples/f978088f5117d4addd55c11ee3777312.asciidoc index 7739d7a40..06db79737 100644 --- a/docs/examples/f978088f5117d4addd55c11ee3777312.asciidoc +++ b/docs/examples/f978088f5117d4addd55c11ee3777312.asciidoc @@ -1,5 +1,5 @@ // This file is autogenerated, DO NOT EDIT -// rest-api/security/get-service-credentials.asciidoc:51 +// rest-api/security/get-service-credentials.asciidoc:56 [source, python] ---- diff --git a/docs/examples/f97aa2efabbf11a534073041eb2658c9.asciidoc b/docs/examples/f97aa2efabbf11a534073041eb2658c9.asciidoc index 915d3739b..c928e6e09 100644 --- a/docs/examples/f97aa2efabbf11a534073041eb2658c9.asciidoc +++ b/docs/examples/f97aa2efabbf11a534073041eb2658c9.asciidoc @@ -1,5 +1,5 @@ // This file is autogenerated, DO NOT EDIT -// scripting/apis/delete-stored-script-api.asciidoc:24 +// scripting/apis/delete-stored-script-api.asciidoc:30 [source, python] ---- diff --git a/docs/examples/f9c8245cc13770dff052b6759a749efa.asciidoc b/docs/examples/f9c8245cc13770dff052b6759a749efa.asciidoc index c8e370454..6d189efc6 100644 --- a/docs/examples/f9c8245cc13770dff052b6759a749efa.asciidoc +++ b/docs/examples/f9c8245cc13770dff052b6759a749efa.asciidoc @@ -1,5 +1,5 @@ // This file is autogenerated, DO NOT EDIT -// docs/get.asciidoc:288 +// docs/get.asciidoc:294 [source, python] ---- diff --git a/docs/examples/fa42ae3bf6a300420cd0f77ba006458a.asciidoc b/docs/examples/fa42ae3bf6a300420cd0f77ba006458a.asciidoc index a66e5fe3d..e6b2e9301 100644 --- a/docs/examples/fa42ae3bf6a300420cd0f77ba006458a.asciidoc +++ b/docs/examples/fa42ae3bf6a300420cd0f77ba006458a.asciidoc @@ -1,5 +1,5 @@ // This file is autogenerated, DO NOT EDIT -// indices/analyze.asciidoc:11 +// indices/analyze.asciidoc:17 [source, python] ---- diff --git a/docs/examples/fa82d86a046d67366cfe9ce65535e433.asciidoc b/docs/examples/fa82d86a046d67366cfe9ce65535e433.asciidoc index 3dd87952c..18011566d 100644 --- a/docs/examples/fa82d86a046d67366cfe9ce65535e433.asciidoc +++ b/docs/examples/fa82d86a046d67366cfe9ce65535e433.asciidoc @@ -1,5 +1,5 @@ // This file is autogenerated, DO NOT EDIT -// graph/explore.asciidoc:396 +// graph/explore.asciidoc:402 [source, python] ---- diff --git a/docs/examples/fa88f6f5a7d728ec4f1d05244228cb09.asciidoc b/docs/examples/fa88f6f5a7d728ec4f1d05244228cb09.asciidoc index 792d64f6f..f123ea93c 100644 --- a/docs/examples/fa88f6f5a7d728ec4f1d05244228cb09.asciidoc +++ b/docs/examples/fa88f6f5a7d728ec4f1d05244228cb09.asciidoc @@ -1,5 +1,5 @@ // This file is autogenerated, DO NOT EDIT -// query-dsl/bool-query.asciidoc:107 +// query-dsl/bool-query.asciidoc:110 [source, python] ---- diff --git a/docs/examples/fab702851e90e945c1b62dec0bb6a205.asciidoc b/docs/examples/fab702851e90e945c1b62dec0bb6a205.asciidoc index 59c475fc3..e6c08027b 100644 --- a/docs/examples/fab702851e90e945c1b62dec0bb6a205.asciidoc +++ b/docs/examples/fab702851e90e945c1b62dec0bb6a205.asciidoc @@ -1,5 +1,5 @@ // This file is autogenerated, DO NOT EDIT -// behavioral-analytics/apis/delete-analytics-collection.asciidoc:53 +// behavioral-analytics/apis/delete-analytics-collection.asciidoc:59 [source, python] ---- diff --git a/docs/examples/fabe14480624a99e8ee42c7338672058.asciidoc b/docs/examples/fabe14480624a99e8ee42c7338672058.asciidoc index 82b6a2045..798012303 100644 --- a/docs/examples/fabe14480624a99e8ee42c7338672058.asciidoc +++ b/docs/examples/fabe14480624a99e8ee42c7338672058.asciidoc @@ -1,5 +1,5 @@ // This file is autogenerated, DO NOT EDIT -// indices/create-index.asciidoc:264 +// indices/create-index.asciidoc:270 [source, python] ---- diff --git a/docs/examples/fad26f4fb5a1bc9c38db33394e877d94.asciidoc b/docs/examples/fad26f4fb5a1bc9c38db33394e877d94.asciidoc index 3abe7941d..3fb4bdc81 100644 --- a/docs/examples/fad26f4fb5a1bc9c38db33394e877d94.asciidoc +++ b/docs/examples/fad26f4fb5a1bc9c38db33394e877d94.asciidoc @@ -1,5 +1,5 @@ // This file is autogenerated, DO NOT EDIT -// ml/df-analytics/apis/get-dfanalytics-stats.asciidoc:533 +// ml/df-analytics/apis/get-dfanalytics-stats.asciidoc:539 [source, python] ---- diff --git a/docs/examples/faf7d8b9827cf5c0db5c177f01dc31c4.asciidoc b/docs/examples/faf7d8b9827cf5c0db5c177f01dc31c4.asciidoc index 1015d6895..85bee5676 100644 --- a/docs/examples/faf7d8b9827cf5c0db5c177f01dc31c4.asciidoc +++ b/docs/examples/faf7d8b9827cf5c0db5c177f01dc31c4.asciidoc @@ -1,5 +1,5 @@ // This file is autogenerated, DO NOT EDIT -// search/rank-eval.asciidoc:257 +// search/rank-eval.asciidoc:263 [source, python] ---- diff --git a/docs/examples/fb4799d2fe4011bf6084f89d97d9a4a5.asciidoc b/docs/examples/fb4799d2fe4011bf6084f89d97d9a4a5.asciidoc index 4e9fedc99..e3a968c4d 100644 --- a/docs/examples/fb4799d2fe4011bf6084f89d97d9a4a5.asciidoc +++ b/docs/examples/fb4799d2fe4011bf6084f89d97d9a4a5.asciidoc @@ -1,5 +1,5 @@ // This file is autogenerated, DO NOT EDIT -// autoscaling/apis/get-autoscaling-policy.asciidoc:40 +// autoscaling/apis/get-autoscaling-policy.asciidoc:47 [source, python] ---- diff --git a/docs/examples/fc190fbbf71949331266dcb3f46a1198.asciidoc b/docs/examples/fc190fbbf71949331266dcb3f46a1198.asciidoc index 0613d1120..75819854f 100644 --- a/docs/examples/fc190fbbf71949331266dcb3f46a1198.asciidoc +++ b/docs/examples/fc190fbbf71949331266dcb3f46a1198.asciidoc @@ -1,5 +1,5 @@ // This file is autogenerated, DO NOT EDIT -// indices/data-stream-stats.asciidoc:51 +// indices/data-stream-stats.asciidoc:57 [source, python] ---- diff --git a/docs/examples/fc49437ce2e7916facf58128308c2aa3.asciidoc b/docs/examples/fc49437ce2e7916facf58128308c2aa3.asciidoc index a5b2395ab..dd8923d82 100644 --- a/docs/examples/fc49437ce2e7916facf58128308c2aa3.asciidoc +++ b/docs/examples/fc49437ce2e7916facf58128308c2aa3.asciidoc @@ -1,5 +1,5 @@ // This file is autogenerated, DO NOT EDIT -// searchable-snapshots/apis/mount-snapshot.asciidoc:128 +// searchable-snapshots/apis/mount-snapshot.asciidoc:134 [source, python] ---- diff --git a/docs/examples/fccbddfba9f975de7e321732874dfb78.asciidoc b/docs/examples/fccbddfba9f975de7e321732874dfb78.asciidoc index e1106501c..475f1f2d4 100644 --- a/docs/examples/fccbddfba9f975de7e321732874dfb78.asciidoc +++ b/docs/examples/fccbddfba9f975de7e321732874dfb78.asciidoc @@ -1,5 +1,5 @@ // This file is autogenerated, DO NOT EDIT -// indices/data-stream-stats.asciidoc:176 +// indices/data-stream-stats.asciidoc:182 [source, python] ---- diff --git a/docs/examples/fce5c03a388c893cb11a6696e068543f.asciidoc b/docs/examples/fce5c03a388c893cb11a6696e068543f.asciidoc index 7417cd3f6..eb279de96 100644 --- a/docs/examples/fce5c03a388c893cb11a6696e068543f.asciidoc +++ b/docs/examples/fce5c03a388c893cb11a6696e068543f.asciidoc @@ -1,5 +1,5 @@ // This file is autogenerated, DO NOT EDIT -// rest-api/security/has-privileges-user-profile.asciidoc:98 +// rest-api/security/has-privileges-user-profile.asciidoc:104 [source, python] ---- diff --git a/docs/examples/fd2d289e6b725fcc3cbe8fe7ffe02ea0.asciidoc b/docs/examples/fd2d289e6b725fcc3cbe8fe7ffe02ea0.asciidoc index 7094e18ab..0c0581876 100644 --- a/docs/examples/fd2d289e6b725fcc3cbe8fe7ffe02ea0.asciidoc +++ b/docs/examples/fd2d289e6b725fcc3cbe8fe7ffe02ea0.asciidoc @@ -1,5 +1,5 @@ // This file is autogenerated, DO NOT EDIT -// indices/get-index-template-v1.asciidoc:97 +// indices/get-index-template-v1.asciidoc:103 [source, python] ---- diff --git a/docs/examples/fd352b472d44d197022a46fce90b6ecb.asciidoc b/docs/examples/fd352b472d44d197022a46fce90b6ecb.asciidoc index d52c31f38..5272749ba 100644 --- a/docs/examples/fd352b472d44d197022a46fce90b6ecb.asciidoc +++ b/docs/examples/fd352b472d44d197022a46fce90b6ecb.asciidoc @@ -1,5 +1,5 @@ // This file is autogenerated, DO NOT EDIT -// docs/multi-get.asciidoc:178 +// docs/multi-get.asciidoc:184 [source, python] ---- diff --git a/docs/examples/fd60b4092c6552164862cec287359676.asciidoc b/docs/examples/fd60b4092c6552164862cec287359676.asciidoc index b996a6216..d9b530c7b 100644 --- a/docs/examples/fd60b4092c6552164862cec287359676.asciidoc +++ b/docs/examples/fd60b4092c6552164862cec287359676.asciidoc @@ -1,5 +1,5 @@ // This file is autogenerated, DO NOT EDIT -// ml/anomaly-detection/apis/stop-datafeed.asciidoc:74 +// ml/anomaly-detection/apis/stop-datafeed.asciidoc:80 [source, python] ---- diff --git a/docs/examples/fd620f09dbce62c6f0f603a366623607.asciidoc b/docs/examples/fd620f09dbce62c6f0f603a366623607.asciidoc index dcebe10f0..b03a89667 100644 --- a/docs/examples/fd620f09dbce62c6f0f603a366623607.asciidoc +++ b/docs/examples/fd620f09dbce62c6f0f603a366623607.asciidoc @@ -1,5 +1,5 @@ // This file is autogenerated, DO NOT EDIT -// connector/apis/update-connector-filtering-api.asciidoc:150 +// connector/apis/update-connector-filtering-api.asciidoc:156 [source, python] ---- diff --git a/docs/examples/fd9b668eeb1f117950bd4991c7c03fb1.asciidoc b/docs/examples/fd9b668eeb1f117950bd4991c7c03fb1.asciidoc index 8016651a9..9a96ab56c 100644 --- a/docs/examples/fd9b668eeb1f117950bd4991c7c03fb1.asciidoc +++ b/docs/examples/fd9b668eeb1f117950bd4991c7c03fb1.asciidoc @@ -1,5 +1,5 @@ // This file is autogenerated, DO NOT EDIT -// indices/analyze.asciidoc:157 +// indices/analyze.asciidoc:163 [source, python] ---- diff --git a/docs/examples/fdada036a875d7995d5d7aba9c06361e.asciidoc b/docs/examples/fdada036a875d7995d5d7aba9c06361e.asciidoc index b2e05b24b..8f9d3b6d5 100644 --- a/docs/examples/fdada036a875d7995d5d7aba9c06361e.asciidoc +++ b/docs/examples/fdada036a875d7995d5d7aba9c06361e.asciidoc @@ -1,5 +1,5 @@ // This file is autogenerated, DO NOT EDIT -// mapping/types/dense-vector.asciidoc:95 +// mapping/types/dense-vector.asciidoc:94 [source, python] ---- diff --git a/docs/examples/febb71d774e0a1fc67454213d7448c53.asciidoc b/docs/examples/febb71d774e0a1fc67454213d7448c53.asciidoc index f7d66a12b..8682a6c83 100644 --- a/docs/examples/febb71d774e0a1fc67454213d7448c53.asciidoc +++ b/docs/examples/febb71d774e0a1fc67454213d7448c53.asciidoc @@ -1,5 +1,5 @@ // This file is autogenerated, DO NOT EDIT -// scripting/using.asciidoc:362 +// scripting/using.asciidoc:367 [source, python] ---- diff --git a/docs/examples/ff09e13391cecb2e8b9dd440b37e065f.asciidoc b/docs/examples/ff09e13391cecb2e8b9dd440b37e065f.asciidoc index e6498693e..155f9c05c 100644 --- a/docs/examples/ff09e13391cecb2e8b9dd440b37e065f.asciidoc +++ b/docs/examples/ff09e13391cecb2e8b9dd440b37e065f.asciidoc @@ -1,5 +1,5 @@ // This file is autogenerated, DO NOT EDIT -// docs/reindex.asciidoc:310 +// docs/reindex.asciidoc:316 [source, python] ---- diff --git a/docs/examples/ff56ded50c65998c70f3c5691ddc6f86.asciidoc b/docs/examples/ff56ded50c65998c70f3c5691ddc6f86.asciidoc index b08b694ec..4ea52bc32 100644 --- a/docs/examples/ff56ded50c65998c70f3c5691ddc6f86.asciidoc +++ b/docs/examples/ff56ded50c65998c70f3c5691ddc6f86.asciidoc @@ -1,5 +1,5 @@ // This file is autogenerated, DO NOT EDIT -// snapshot-restore/apis/delete-repo-api.asciidoc:27 +// snapshot-restore/apis/delete-repo-api.asciidoc:33 [source, python] ---- diff --git a/docs/examples/ff63ae39c34925dbfa54282ec9989124.asciidoc b/docs/examples/ff63ae39c34925dbfa54282ec9989124.asciidoc index 7381f8418..b7e2bc292 100644 --- a/docs/examples/ff63ae39c34925dbfa54282ec9989124.asciidoc +++ b/docs/examples/ff63ae39c34925dbfa54282ec9989124.asciidoc @@ -1,5 +1,5 @@ // This file is autogenerated, DO NOT EDIT -// docs/reindex.asciidoc:1003 +// docs/reindex.asciidoc:1009 [source, python] ---- diff --git a/docs/examples/ff776c0fccf93e1c7050f7cb7efbae0b.asciidoc b/docs/examples/ff776c0fccf93e1c7050f7cb7efbae0b.asciidoc index be4d854b0..3968cc823 100644 --- a/docs/examples/ff776c0fccf93e1c7050f7cb7efbae0b.asciidoc +++ b/docs/examples/ff776c0fccf93e1c7050f7cb7efbae0b.asciidoc @@ -1,5 +1,5 @@ // This file is autogenerated, DO NOT EDIT -// ml/trained-models/apis/infer-trained-model.asciidoc:1006 +// ml/trained-models/apis/infer-trained-model.asciidoc:1012 [source, python] ---- diff --git a/docs/examples/ff7b81fa96c3b994efa3dee230512291.asciidoc b/docs/examples/ff7b81fa96c3b994efa3dee230512291.asciidoc index 2d64be799..0767e0c5b 100644 --- a/docs/examples/ff7b81fa96c3b994efa3dee230512291.asciidoc +++ b/docs/examples/ff7b81fa96c3b994efa3dee230512291.asciidoc @@ -1,5 +1,5 @@ // This file is autogenerated, DO NOT EDIT -// graph/explore.asciidoc:204 +// graph/explore.asciidoc:210 [source, python] ---- diff --git a/docs/examples/ffd63dd186ab81b893faec3b3358fa09.asciidoc b/docs/examples/ffd63dd186ab81b893faec3b3358fa09.asciidoc index 83140cb6e..33e1646ec 100644 --- a/docs/examples/ffd63dd186ab81b893faec3b3358fa09.asciidoc +++ b/docs/examples/ffd63dd186ab81b893faec3b3358fa09.asciidoc @@ -1,5 +1,5 @@ // This file is autogenerated, DO NOT EDIT -// rest-api/security/delete-users.asciidoc:39 +// rest-api/security/delete-users.asciidoc:45 [source, python] ---- diff --git a/docs/examples/fff86117c47f974074284644e8a97a99.asciidoc b/docs/examples/fff86117c47f974074284644e8a97a99.asciidoc new file mode 100644 index 000000000..5624bd74b --- /dev/null +++ b/docs/examples/fff86117c47f974074284644e8a97a99.asciidoc @@ -0,0 +1,18 @@ +// This file is autogenerated, DO NOT EDIT +// inference/service-jinaai.asciidoc:155 + +[source, python] +---- +resp = client.inference.put( + task_type="text_embedding", + inference_id="jinaai-embeddings", + inference_config={ + "service": "jinaai", + "service_settings": { + "model_id": "jina-embeddings-v3", + "api_key": "" + } + }, +) +print(resp) +---- diff --git a/docs/guide/release-notes.asciidoc b/docs/guide/release-notes.asciidoc index 6a3c83391..1b8d3957f 100644 --- a/docs/guide/release-notes.asciidoc +++ b/docs/guide/release-notes.asciidoc @@ -1,6 +1,7 @@ [[release-notes]] == Release notes +* <> * <> * <> * <> @@ -43,6 +44,33 @@ * <> * <> +[discrete] +[[rn-8-17-1]] +=== 8.17.1 (2025-01-23) + +- Make pyarrow dependency optional for tests (https://github.com/elastic/elasticsearch-py/pull/2733[#2733], contributed by danigm) +- Update APIs: + * Add Simulate ingest API + * Add Get data stream lifecycle stats API + * Add Update inference API + * Add Create or update, Get and Delete IP geolocation database configuration APIs + * Add Bulk update API keys + * Add Get and Update Security index settings APIs + * Add OpenID Connect prepare authentication, OpenID Connect authenticate and OpenID Connect logout APIs + * Add Delegate PKI authentication API + * Add Repository analysis API + * Add Render Search Application Query API + * Add Find field structure and Find messages structure APIs + * Add Get Watcher index settings and Update Watcher index settings APIs + * Add experimental Check in and Claim connector sync job APIs + * Add experimental Set connector sync job errors and Set connector sync job stats APIs + * Add experimental Update connector features APIs + * Add experimental Post Event to an Analytics Collection API + * Add `timeout` and `master_timeout` to Snapshot lifecycle management (SLM) APIs + * Add `allow_partial_search_results` to SQL search API + * Add `throttle_period_in_millis` to Create or update watch API + * Fix query parameters for CAT APIs + [discrete] [[rn-8-17-0]] === 8.17.0 (2024-12-13) diff --git a/elasticsearch/_version.py b/elasticsearch/_version.py index 610e04c1d..d1cc6c87a 100644 --- a/elasticsearch/_version.py +++ b/elasticsearch/_version.py @@ -15,4 +15,4 @@ # specific language governing permissions and limitations # under the License. -__versionstr__ = "8.17.0" +__versionstr__ = "8.17.1"