From 03e549f664e29549905a2ca7298e5db4a30ecc87 Mon Sep 17 00:00:00 2001 From: Quentin Pradet Date: Thu, 19 Sep 2024 21:03:09 +0400 Subject: [PATCH] [8.15] Update documentation examples --- .../01cd0ea360282a2c591a366679d7187d.asciidoc | 12 ++++++++++++ .../03891265df2111a38e0b6b24c1b967e1.asciidoc | 2 +- ...doc => 05e637284bc3bedd46e0b7c26ad983c4.asciidoc} | 2 +- .../1637ef51d673b35cc8894ee80cd61c87.asciidoc | 2 +- .../1745ac9e6d22a2ffe7ac381f9ba238f9.asciidoc | 10 ---------- .../1a56df055b94466ca76818e0858752c6.asciidoc | 2 +- ...doc => 1c330f0fc9eac19d0edeb8c4017b9b93.asciidoc} | 2 +- ...doc => 1cbecd19be22979aefb45b4f160e77ea.asciidoc} | 2 +- .../21cd01cb90d3ea1acd0ab22d7edd2c88.asciidoc | 2 +- .../270549e6b062228312c4e7a54a2c2209.asciidoc | 2 +- ...doc => 2968ffb8135f77ba3a9b876dd4918119.asciidoc} | 2 +- ...doc => 310bdfb0d0d75bac7bff036a3fe51d4d.asciidoc} | 2 +- ...doc => 36ac0ef9ea63efc431580f7ade8ad53c.asciidoc} | 2 +- .../3a2f37f8f32b1aa6bcfb252b9e00f904.asciidoc | 2 +- .../3a489743e49902df38e3368cae00717a.asciidoc | 8 ++++++++ ...doc => 3a4953663a5a3809b692c27446e16b7f.asciidoc} | 2 +- .../3c0d0c38e1c819a35a68cdba5ae8ccc4.asciidoc | 2 +- .../425eaaf9c7e3b1e77a3474fbab4183b4.asciidoc | 2 +- .../4310869b97d4224acaa6d66b1e196048.asciidoc | 2 +- ...doc => 4dc151eebefd484a28aed1a175743364.asciidoc} | 2 +- ...doc => 4eeded40f30949e359714a5bb6c88612.asciidoc} | 2 +- .../4f6694ef147a73b1163bde3c13779d26.asciidoc | 11 +++++++++++ .../50ddf374cfa8128538ea092ee98b723d.asciidoc | 10 ---------- ...doc => 548a9b6f447bb820380c1c23e57c18c3.asciidoc} | 2 +- ...doc => 551467688d8c701315d0a371850a4056.asciidoc} | 2 +- .../60d3f9a99cc91b43aaa7524a9a74dba0.asciidoc | 10 ++++++++++ ...doc => 6b6e275efe3d2aafe0fc3443f2c96868.asciidoc} | 2 +- .../71c629c44bf3c542a0daacbfc253c4b0.asciidoc | 2 +- .../7594a9a85c8511701e281974cbc253e1.asciidoc | 2 +- ...doc => 7888c509774a2abfe82ca370c43d8789.asciidoc} | 2 +- .../84237aa9da49ab4b4c4e2b21d2548df2.asciidoc | 11 +++++++++++ .../84c69fb07050f0e89720007a6507a221.asciidoc | 2 +- .../8566f5ecf4ae14802ba63c8cc7c629f8.asciidoc | 2 +- .../861f5f61409dc87f3671293b87839ff7.asciidoc | 2 +- ...doc => 894fce12d8f0d01e4c4083885a0c0077.asciidoc} | 2 +- .../8a1b6eae4893c5dd27b3d81fd8d70f5b.asciidoc | 2 +- .../935566d5426d44ade486a49ec5289741.asciidoc | 2 +- ...doc => 968fb5b92aa65af09544f7c002b0953e.asciidoc} | 4 ++-- .../9d396afad93782699d7a929578c85284.asciidoc | 2 +- .../9d66cb59711f24e6b4ff85608c9b5a1b.asciidoc | 12 ++++++++++++ .../a4ee2214d621bcfaf768c46d21325958.asciidoc | 2 +- .../a594f05459d9eecc8050c73fc8da336f.asciidoc | 2 +- ...doc => a769d696bf12f5e9de4b3250646d250c.asciidoc} | 2 +- ...doc => a95ae76fca7c3e273e4bd10323b3caa6.asciidoc} | 2 +- .../aa814309ad5f1630886ba75255b444f5.asciidoc | 8 ++++++++ .../b0fe9a7c8e519995258786be4bef36c4.asciidoc | 2 +- .../b6a7ffd2003c38f4aa321f067d162be5.asciidoc | 2 +- .../c02c2916b97b6fa7db82dbc7f0378310.asciidoc | 2 +- ...doc => c8fa8d7e029792d539464fede18ce258.asciidoc} | 8 ++------ ...doc => d3440ec81dde5f1a01c0206cb35e539c.asciidoc} | 2 +- ...doc => dd7814258121d3c2e576a7f00469d7e3.asciidoc} | 2 +- .../e3fe842951dc873d7d00c8f6a010c53f.asciidoc | 12 ++++++++++++ .../e551ea38a2d8f8deac110b33304200cc.asciidoc | 2 +- ...doc => e9625da419bff6470ffd9927c59ca159.asciidoc} | 2 +- ...doc => f03352bb1129938a89f97e4b650038dd.asciidoc} | 2 +- ...doc => f86337e13526c968848cfe29a52d658f.asciidoc} | 2 +- .../fc1907515f6a913884a9f86451e90ee8.asciidoc | 2 +- 57 files changed, 133 insertions(+), 73 deletions(-) create mode 100644 docs/examples/01cd0ea360282a2c591a366679d7187d.asciidoc rename docs/examples/{9868ce609f4450702934fcbf4c340bf1.asciidoc => 05e637284bc3bedd46e0b7c26ad983c4.asciidoc} (90%) delete mode 100644 docs/examples/1745ac9e6d22a2ffe7ac381f9ba238f9.asciidoc rename docs/examples/{be30ea12f605fd61acba689b68e00bbe.asciidoc => 1c330f0fc9eac19d0edeb8c4017b9b93.asciidoc} (91%) rename docs/examples/{7c63a1d2fbec5283e913ff39fafd0604.asciidoc => 1cbecd19be22979aefb45b4f160e77ea.asciidoc} (91%) rename docs/examples/{dfcdadcf91529d3a399e05684195028e.asciidoc => 2968ffb8135f77ba3a9b876dd4918119.asciidoc} (85%) rename docs/examples/{5f8d90515995a5eee189d722abe3b111.asciidoc => 310bdfb0d0d75bac7bff036a3fe51d4d.asciidoc} (91%) rename docs/examples/{65e892a362d940e4a74965f21c15ca09.asciidoc => 36ac0ef9ea63efc431580f7ade8ad53c.asciidoc} (86%) create mode 100644 docs/examples/3a489743e49902df38e3368cae00717a.asciidoc rename docs/examples/{60d689aae3f8de1e6830329dfd69a6a6.asciidoc => 3a4953663a5a3809b692c27446e16b7f.asciidoc} (85%) rename docs/examples/{a53ff77d83222c0e76453e630d64787e.asciidoc => 4dc151eebefd484a28aed1a175743364.asciidoc} (92%) rename docs/examples/{c9373ff5ed6b026173428fbb92ca2d9f.asciidoc => 4eeded40f30949e359714a5bb6c88612.asciidoc} (87%) create mode 100644 docs/examples/4f6694ef147a73b1163bde3c13779d26.asciidoc delete mode 100644 docs/examples/50ddf374cfa8128538ea092ee98b723d.asciidoc rename docs/examples/{3a7a6ab88a49b484fafb10c8eb09b562.asciidoc => 548a9b6f447bb820380c1c23e57c18c3.asciidoc} (92%) rename docs/examples/{b468d0124dc485385a34504d5b7af82a.asciidoc => 551467688d8c701315d0a371850a4056.asciidoc} (85%) create mode 100644 docs/examples/60d3f9a99cc91b43aaa7524a9a74dba0.asciidoc rename docs/examples/{a69c7c3412af73758f629e76263063b5.asciidoc => 6b6e275efe3d2aafe0fc3443f2c96868.asciidoc} (84%) rename docs/examples/{84490ee2c6c07dbd2101ce2e3751e1aa.asciidoc => 7888c509774a2abfe82ca370c43d8789.asciidoc} (86%) create mode 100644 docs/examples/84237aa9da49ab4b4c4e2b21d2548df2.asciidoc rename docs/examples/{113ac8466084ee6ac4ed272e342dc468.asciidoc => 894fce12d8f0d01e4c4083885a0c0077.asciidoc} (86%) rename docs/examples/{7e5bee18e61d950e823782da1b733903.asciidoc => 968fb5b92aa65af09544f7c002b0953e.asciidoc} (87%) create mode 100644 docs/examples/9d66cb59711f24e6b4ff85608c9b5a1b.asciidoc rename docs/examples/{82eff1d681a5d0d1538ef011bb32ab9a.asciidoc => a769d696bf12f5e9de4b3250646d250c.asciidoc} (83%) rename docs/examples/{0ba5acede9d43af424e85428e7d35420.asciidoc => a95ae76fca7c3e273e4bd10323b3caa6.asciidoc} (91%) create mode 100644 docs/examples/aa814309ad5f1630886ba75255b444f5.asciidoc rename docs/examples/{804cdf477ec829740e3d045140400c3b.asciidoc => c8fa8d7e029792d539464fede18ce258.asciidoc} (76%) rename docs/examples/{443f0e8fbba83777b2df624879d188d5.asciidoc => d3440ec81dde5f1a01c0206cb35e539c.asciidoc} (85%) rename docs/examples/{0e3abd15dde97a2334621190c4ad4f96.asciidoc => dd7814258121d3c2e576a7f00469d7e3.asciidoc} (92%) create mode 100644 docs/examples/e3fe842951dc873d7d00c8f6a010c53f.asciidoc rename docs/examples/{4655c3dea0c61935b7ecf1e57441df66.asciidoc => e9625da419bff6470ffd9927c59ca159.asciidoc} (79%) rename docs/examples/{349823d86980d40ac45248c19a59e339.asciidoc => f03352bb1129938a89f97e4b650038dd.asciidoc} (91%) rename docs/examples/{517d291044c3e4448b8804322616ab4a.asciidoc => f86337e13526c968848cfe29a52d658f.asciidoc} (92%) diff --git a/docs/examples/01cd0ea360282a2c591a366679d7187d.asciidoc b/docs/examples/01cd0ea360282a2c591a366679d7187d.asciidoc new file mode 100644 index 000000000..79f5d0185 --- /dev/null +++ b/docs/examples/01cd0ea360282a2c591a366679d7187d.asciidoc @@ -0,0 +1,12 @@ +// This file is autogenerated, DO NOT EDIT +// troubleshooting/common-issues/task-queue-backlog.asciidoc:60 + +[source, python] +---- +resp = client.tasks.list( + human=True, + detailed=True, + actions="indices:data/write/bulk", +) +print(resp) +---- diff --git a/docs/examples/03891265df2111a38e0b6b24c1b967e1.asciidoc b/docs/examples/03891265df2111a38e0b6b24c1b967e1.asciidoc index f46691025..d4c0066de 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:267 +// rest-api/security/get-service-accounts.asciidoc:297 [source, python] ---- diff --git a/docs/examples/9868ce609f4450702934fcbf4c340bf1.asciidoc b/docs/examples/05e637284bc3bedd46e0b7c26ad983c4.asciidoc similarity index 90% rename from docs/examples/9868ce609f4450702934fcbf4c340bf1.asciidoc rename to docs/examples/05e637284bc3bedd46e0b7c26ad983c4.asciidoc index af6cc83ab..cea3d0eb3 100644 --- a/docs/examples/9868ce609f4450702934fcbf4c340bf1.asciidoc +++ b/docs/examples/05e637284bc3bedd46e0b7c26ad983c4.asciidoc @@ -4,7 +4,7 @@ [source, python] ---- resp = client.ingest.put_pipeline( - id="alibabacloud_ai_search_embeddings", + id="alibabacloud_ai_search_embeddings_pipeline", processors=[ { "inference": { diff --git a/docs/examples/1637ef51d673b35cc8894ee80cd61c87.asciidoc b/docs/examples/1637ef51d673b35cc8894ee80cd61c87.asciidoc index cb4a24a1a..3701d222a 100644 --- a/docs/examples/1637ef51d673b35cc8894ee80cd61c87.asciidoc +++ b/docs/examples/1637ef51d673b35cc8894ee80cd61c87.asciidoc @@ -1,5 +1,5 @@ // This file is autogenerated, DO NOT EDIT -// tab-widgets/cpu-usage.asciidoc:14 +// troubleshooting/common-issues/high-cpu-usage.asciidoc:24 [source, python] ---- diff --git a/docs/examples/1745ac9e6d22a2ffe7ac381f9ba238f9.asciidoc b/docs/examples/1745ac9e6d22a2ffe7ac381f9ba238f9.asciidoc deleted file mode 100644 index 3b131eced..000000000 --- a/docs/examples/1745ac9e6d22a2ffe7ac381f9ba238f9.asciidoc +++ /dev/null @@ -1,10 +0,0 @@ -// This file is autogenerated, DO NOT EDIT -// troubleshooting/common-issues/high-cpu-usage.asciidoc:26 - -[source, python] ----- -resp = client.nodes.hot_threads( - node_id="my-node,my-other-node", -) -print(resp) ----- diff --git a/docs/examples/1a56df055b94466ca76818e0858752c6.asciidoc b/docs/examples/1a56df055b94466ca76818e0858752c6.asciidoc index e45764af1..d861ad7b6 100644 --- a/docs/examples/1a56df055b94466ca76818e0858752c6.asciidoc +++ b/docs/examples/1a56df055b94466ca76818e0858752c6.asciidoc @@ -1,5 +1,5 @@ // This file is autogenerated, DO NOT EDIT -// tab-widgets/inference-api/infer-api-task.asciidoc:89 +// tab-widgets/inference-api/infer-api-task.asciidoc:97 [source, python] ---- diff --git a/docs/examples/be30ea12f605fd61acba689b68e00bbe.asciidoc b/docs/examples/1c330f0fc9eac19d0edeb8c4017b9b93.asciidoc similarity index 91% rename from docs/examples/be30ea12f605fd61acba689b68e00bbe.asciidoc rename to docs/examples/1c330f0fc9eac19d0edeb8c4017b9b93.asciidoc index 936d4c7a2..e222ea879 100644 --- a/docs/examples/be30ea12f605fd61acba689b68e00bbe.asciidoc +++ b/docs/examples/1c330f0fc9eac19d0edeb8c4017b9b93.asciidoc @@ -4,7 +4,7 @@ [source, python] ---- resp = client.ingest.put_pipeline( - id="hugging_face_embeddings", + id="hugging_face_embeddings_pipeline", processors=[ { "inference": { diff --git a/docs/examples/7c63a1d2fbec5283e913ff39fafd0604.asciidoc b/docs/examples/1cbecd19be22979aefb45b4f160e77ea.asciidoc similarity index 91% rename from docs/examples/7c63a1d2fbec5283e913ff39fafd0604.asciidoc rename to docs/examples/1cbecd19be22979aefb45b4f160e77ea.asciidoc index 8bcc50f7f..7a1d92818 100644 --- a/docs/examples/7c63a1d2fbec5283e913ff39fafd0604.asciidoc +++ b/docs/examples/1cbecd19be22979aefb45b4f160e77ea.asciidoc @@ -4,7 +4,7 @@ [source, python] ---- resp = client.ingest.put_pipeline( - id="google_vertex_ai_embeddings", + id="google_vertex_ai_embeddings_pipeline", processors=[ { "inference": { diff --git a/docs/examples/21cd01cb90d3ea1acd0ab22d7edd2c88.asciidoc b/docs/examples/21cd01cb90d3ea1acd0ab22d7edd2c88.asciidoc index 00a052e0f..23c92bf91 100644 --- a/docs/examples/21cd01cb90d3ea1acd0ab22d7edd2c88.asciidoc +++ b/docs/examples/21cd01cb90d3ea1acd0ab22d7edd2c88.asciidoc @@ -1,5 +1,5 @@ // This file is autogenerated, DO NOT EDIT -// tab-widgets/inference-api/infer-api-task.asciidoc:154 +// tab-widgets/inference-api/infer-api-task.asciidoc:162 [source, python] ---- diff --git a/docs/examples/270549e6b062228312c4e7a54a2c2209.asciidoc b/docs/examples/270549e6b062228312c4e7a54a2c2209.asciidoc index 3fdc374f1..9ae9ebbce 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:34 +// troubleshooting/common-issues/task-queue-backlog.asciidoc:39 [source, python] ---- diff --git a/docs/examples/dfcdadcf91529d3a399e05684195028e.asciidoc b/docs/examples/2968ffb8135f77ba3a9b876dd4918119.asciidoc similarity index 85% rename from docs/examples/dfcdadcf91529d3a399e05684195028e.asciidoc rename to docs/examples/2968ffb8135f77ba3a9b876dd4918119.asciidoc index 635e058fb..67a616b10 100644 --- a/docs/examples/dfcdadcf91529d3a399e05684195028e.asciidoc +++ b/docs/examples/2968ffb8135f77ba3a9b876dd4918119.asciidoc @@ -11,7 +11,7 @@ resp = client.reindex( }, dest={ "index": "azure-ai-studio-embeddings", - "pipeline": "azure_ai_studio_embeddings" + "pipeline": "azure_ai_studio_embeddings_pipeline" }, ) print(resp) diff --git a/docs/examples/5f8d90515995a5eee189d722abe3b111.asciidoc b/docs/examples/310bdfb0d0d75bac7bff036a3fe51d4d.asciidoc similarity index 91% rename from docs/examples/5f8d90515995a5eee189d722abe3b111.asciidoc rename to docs/examples/310bdfb0d0d75bac7bff036a3fe51d4d.asciidoc index 42081a588..502c80666 100644 --- a/docs/examples/5f8d90515995a5eee189d722abe3b111.asciidoc +++ b/docs/examples/310bdfb0d0d75bac7bff036a3fe51d4d.asciidoc @@ -4,7 +4,7 @@ [source, python] ---- resp = client.ingest.put_pipeline( - id="azure_ai_studio_embeddings", + id="azure_ai_studio_embeddings_pipeline", processors=[ { "inference": { diff --git a/docs/examples/65e892a362d940e4a74965f21c15ca09.asciidoc b/docs/examples/36ac0ef9ea63efc431580f7ade8ad53c.asciidoc similarity index 86% rename from docs/examples/65e892a362d940e4a74965f21c15ca09.asciidoc rename to docs/examples/36ac0ef9ea63efc431580f7ade8ad53c.asciidoc index 02927c0a2..5ccef54b7 100644 --- a/docs/examples/65e892a362d940e4a74965f21c15ca09.asciidoc +++ b/docs/examples/36ac0ef9ea63efc431580f7ade8ad53c.asciidoc @@ -11,7 +11,7 @@ resp = client.reindex( }, dest={ "index": "openai-embeddings", - "pipeline": "openai_embeddings" + "pipeline": "openai_embeddings_pipeline" }, ) print(resp) diff --git a/docs/examples/3a2f37f8f32b1aa6bcfb252b9e00f904.asciidoc b/docs/examples/3a2f37f8f32b1aa6bcfb252b9e00f904.asciidoc index 8b4e3c4e5..ff19e59b7 100644 --- a/docs/examples/3a2f37f8f32b1aa6bcfb252b9e00f904.asciidoc +++ b/docs/examples/3a2f37f8f32b1aa6bcfb252b9e00f904.asciidoc @@ -1,5 +1,5 @@ // This file is autogenerated, DO NOT EDIT -// index-modules.asciidoc:95 +// index-modules.asciidoc:97 [source, python] ---- diff --git a/docs/examples/3a489743e49902df38e3368cae00717a.asciidoc b/docs/examples/3a489743e49902df38e3368cae00717a.asciidoc new file mode 100644 index 000000000..91462454d --- /dev/null +++ b/docs/examples/3a489743e49902df38e3368cae00717a.asciidoc @@ -0,0 +1,8 @@ +// This file is autogenerated, DO NOT EDIT +// troubleshooting/common-issues/high-cpu-usage.asciidoc:43 + +[source, python] +---- +resp = client.nodes.hot_threads() +print(resp) +---- diff --git a/docs/examples/60d689aae3f8de1e6830329dfd69a6a6.asciidoc b/docs/examples/3a4953663a5a3809b692c27446e16b7f.asciidoc similarity index 85% rename from docs/examples/60d689aae3f8de1e6830329dfd69a6a6.asciidoc rename to docs/examples/3a4953663a5a3809b692c27446e16b7f.asciidoc index 17aa35fd1..5d9373bf9 100644 --- a/docs/examples/60d689aae3f8de1e6830329dfd69a6a6.asciidoc +++ b/docs/examples/3a4953663a5a3809b692c27446e16b7f.asciidoc @@ -11,7 +11,7 @@ resp = client.reindex( }, dest={ "index": "amazon-bedrock-embeddings", - "pipeline": "amazon_bedrock_embeddings" + "pipeline": "amazon_bedrock_embeddings_pipeline" }, ) print(resp) diff --git a/docs/examples/3c0d0c38e1c819a35a68cdba5ae8ccc4.asciidoc b/docs/examples/3c0d0c38e1c819a35a68cdba5ae8ccc4.asciidoc index d020f99d7..7f0c81b94 100644 --- a/docs/examples/3c0d0c38e1c819a35a68cdba5ae8ccc4.asciidoc +++ b/docs/examples/3c0d0c38e1c819a35a68cdba5ae8ccc4.asciidoc @@ -1,5 +1,5 @@ // This file is autogenerated, DO NOT EDIT -// tab-widgets/inference-api/infer-api-task.asciidoc:254 +// tab-widgets/inference-api/infer-api-task.asciidoc:262 [source, python] ---- diff --git a/docs/examples/425eaaf9c7e3b1e77a3474fbab4183b4.asciidoc b/docs/examples/425eaaf9c7e3b1e77a3474fbab4183b4.asciidoc index 3f7f7db24..b6bb4fb2c 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:22 +// troubleshooting/common-issues/task-queue-backlog.asciidoc:25 [source, python] ---- diff --git a/docs/examples/4310869b97d4224acaa6d66b1e196048.asciidoc b/docs/examples/4310869b97d4224acaa6d66b1e196048.asciidoc index cab2434e0..6b7f6bef2 100644 --- a/docs/examples/4310869b97d4224acaa6d66b1e196048.asciidoc +++ b/docs/examples/4310869b97d4224acaa6d66b1e196048.asciidoc @@ -1,5 +1,5 @@ // This file is autogenerated, DO NOT EDIT -// search/search-your-data/semantic-search-elser.asciidoc:172 +// search/search-your-data/semantic-search-elser.asciidoc:184 [source, python] ---- diff --git a/docs/examples/a53ff77d83222c0e76453e630d64787e.asciidoc b/docs/examples/4dc151eebefd484a28aed1a175743364.asciidoc similarity index 92% rename from docs/examples/a53ff77d83222c0e76453e630d64787e.asciidoc rename to docs/examples/4dc151eebefd484a28aed1a175743364.asciidoc index 52aeed34e..37d5cc81d 100644 --- a/docs/examples/a53ff77d83222c0e76453e630d64787e.asciidoc +++ b/docs/examples/4dc151eebefd484a28aed1a175743364.asciidoc @@ -4,7 +4,7 @@ [source, python] ---- resp = client.ingest.put_pipeline( - id="openai_embeddings", + id="openai_embeddings_pipeline", processors=[ { "inference": { diff --git a/docs/examples/c9373ff5ed6b026173428fbb92ca2d9f.asciidoc b/docs/examples/4eeded40f30949e359714a5bb6c88612.asciidoc similarity index 87% rename from docs/examples/c9373ff5ed6b026173428fbb92ca2d9f.asciidoc rename to docs/examples/4eeded40f30949e359714a5bb6c88612.asciidoc index 8f1d14d52..b5bb3b50f 100644 --- a/docs/examples/c9373ff5ed6b026173428fbb92ca2d9f.asciidoc +++ b/docs/examples/4eeded40f30949e359714a5bb6c88612.asciidoc @@ -11,7 +11,7 @@ resp = client.reindex( }, dest={ "index": "elser-embeddings", - "pipeline": "elser_embeddings" + "pipeline": "elser_embeddings_pipeline" }, ) print(resp) diff --git a/docs/examples/4f6694ef147a73b1163bde3c13779d26.asciidoc b/docs/examples/4f6694ef147a73b1163bde3c13779d26.asciidoc new file mode 100644 index 000000000..0167e378e --- /dev/null +++ b/docs/examples/4f6694ef147a73b1163bde3c13779d26.asciidoc @@ -0,0 +1,11 @@ +// This file is autogenerated, DO NOT EDIT +// troubleshooting/common-issues/rejected-requests.asciidoc:58 + +[source, python] +---- +resp = client.nodes.stats( + human=True, + filter_path="nodes.*.indexing_pressure", +) +print(resp) +---- diff --git a/docs/examples/50ddf374cfa8128538ea092ee98b723d.asciidoc b/docs/examples/50ddf374cfa8128538ea092ee98b723d.asciidoc deleted file mode 100644 index e5951558a..000000000 --- a/docs/examples/50ddf374cfa8128538ea092ee98b723d.asciidoc +++ /dev/null @@ -1,10 +0,0 @@ -// This file is autogenerated, DO NOT EDIT -// troubleshooting/common-issues/task-queue-backlog.asciidoc:45 - -[source, python] ----- -resp = client.tasks.list( - filter_path="nodes.*.tasks", -) -print(resp) ----- diff --git a/docs/examples/3a7a6ab88a49b484fafb10c8eb09b562.asciidoc b/docs/examples/548a9b6f447bb820380c1c23e57c18c3.asciidoc similarity index 92% rename from docs/examples/3a7a6ab88a49b484fafb10c8eb09b562.asciidoc rename to docs/examples/548a9b6f447bb820380c1c23e57c18c3.asciidoc index 3ee86992c..46022c5f3 100644 --- a/docs/examples/3a7a6ab88a49b484fafb10c8eb09b562.asciidoc +++ b/docs/examples/548a9b6f447bb820380c1c23e57c18c3.asciidoc @@ -4,7 +4,7 @@ [source, python] ---- resp = client.ingest.put_pipeline( - id="cohere_embeddings", + id="cohere_embeddings_pipeline", processors=[ { "inference": { diff --git a/docs/examples/b468d0124dc485385a34504d5b7af82a.asciidoc b/docs/examples/551467688d8c701315d0a371850a4056.asciidoc similarity index 85% rename from docs/examples/b468d0124dc485385a34504d5b7af82a.asciidoc rename to docs/examples/551467688d8c701315d0a371850a4056.asciidoc index a613d0c3d..6cd149a4a 100644 --- a/docs/examples/b468d0124dc485385a34504d5b7af82a.asciidoc +++ b/docs/examples/551467688d8c701315d0a371850a4056.asciidoc @@ -11,7 +11,7 @@ resp = client.reindex( }, dest={ "index": "hugging-face-embeddings", - "pipeline": "hugging_face_embeddings" + "pipeline": "hugging_face_embeddings_pipeline" }, ) print(resp) diff --git a/docs/examples/60d3f9a99cc91b43aaa7524a9a74dba0.asciidoc b/docs/examples/60d3f9a99cc91b43aaa7524a9a74dba0.asciidoc new file mode 100644 index 000000000..bf47c1f20 --- /dev/null +++ b/docs/examples/60d3f9a99cc91b43aaa7524a9a74dba0.asciidoc @@ -0,0 +1,10 @@ +// This file is autogenerated, DO NOT EDIT +// troubleshooting/common-issues/rejected-requests.asciidoc:43 + +[source, python] +---- +resp = client.nodes.stats( + metric="breaker", +) +print(resp) +---- diff --git a/docs/examples/a69c7c3412af73758f629e76263063b5.asciidoc b/docs/examples/6b6e275efe3d2aafe0fc3443f2c96868.asciidoc similarity index 84% rename from docs/examples/a69c7c3412af73758f629e76263063b5.asciidoc rename to docs/examples/6b6e275efe3d2aafe0fc3443f2c96868.asciidoc index 8ffb9afbe..c10420e51 100644 --- a/docs/examples/a69c7c3412af73758f629e76263063b5.asciidoc +++ b/docs/examples/6b6e275efe3d2aafe0fc3443f2c96868.asciidoc @@ -11,7 +11,7 @@ resp = client.reindex( }, dest={ "index": "google-vertex-ai-embeddings", - "pipeline": "google_vertex_ai_embeddings" + "pipeline": "google_vertex_ai_embeddings_pipeline" }, ) print(resp) diff --git a/docs/examples/71c629c44bf3c542a0daacbfc253c4b0.asciidoc b/docs/examples/71c629c44bf3c542a0daacbfc253c4b0.asciidoc index e648cde31..4644d9566 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:1643 +// cluster/stats.asciidoc:1812 [source, python] ---- diff --git a/docs/examples/7594a9a85c8511701e281974cbc253e1.asciidoc b/docs/examples/7594a9a85c8511701e281974cbc253e1.asciidoc index 1425a25e1..3e348d90c 100644 --- a/docs/examples/7594a9a85c8511701e281974cbc253e1.asciidoc +++ b/docs/examples/7594a9a85c8511701e281974cbc253e1.asciidoc @@ -1,5 +1,5 @@ // This file is autogenerated, DO NOT EDIT -// tab-widgets/inference-api/infer-api-task.asciidoc:228 +// tab-widgets/inference-api/infer-api-task.asciidoc:236 [source, python] ---- diff --git a/docs/examples/84490ee2c6c07dbd2101ce2e3751e1aa.asciidoc b/docs/examples/7888c509774a2abfe82ca370c43d8789.asciidoc similarity index 86% rename from docs/examples/84490ee2c6c07dbd2101ce2e3751e1aa.asciidoc rename to docs/examples/7888c509774a2abfe82ca370c43d8789.asciidoc index d25d4f72b..9856bdaa3 100644 --- a/docs/examples/84490ee2c6c07dbd2101ce2e3751e1aa.asciidoc +++ b/docs/examples/7888c509774a2abfe82ca370c43d8789.asciidoc @@ -11,7 +11,7 @@ resp = client.reindex( }, dest={ "index": "cohere-embeddings", - "pipeline": "cohere_embeddings" + "pipeline": "cohere_embeddings_pipeline" }, ) print(resp) diff --git a/docs/examples/84237aa9da49ab4b4c4e2b21d2548df2.asciidoc b/docs/examples/84237aa9da49ab4b4c4e2b21d2548df2.asciidoc new file mode 100644 index 000000000..17a2d2fcc --- /dev/null +++ b/docs/examples/84237aa9da49ab4b4c4e2b21d2548df2.asciidoc @@ -0,0 +1,11 @@ +// This file is autogenerated, DO NOT EDIT +// snapshot-restore/apis/verify-repo-integrity-api.asciidoc:25 + +[source, python] +---- +resp = client.snapshot.create( + repository="my_repository", + snapshot="_verify_integrity", +) +print(resp) +---- diff --git a/docs/examples/84c69fb07050f0e89720007a6507a221.asciidoc b/docs/examples/84c69fb07050f0e89720007a6507a221.asciidoc index c46ae806d..e89a8c84b 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:95 +// troubleshooting/common-issues/high-cpu-usage.asciidoc:114 [source, python] ---- diff --git a/docs/examples/8566f5ecf4ae14802ba63c8cc7c629f8.asciidoc b/docs/examples/8566f5ecf4ae14802ba63c8cc7c629f8.asciidoc index dfffb62b0..cf1c0fa6c 100644 --- a/docs/examples/8566f5ecf4ae14802ba63c8cc7c629f8.asciidoc +++ b/docs/examples/8566f5ecf4ae14802ba63c8cc7c629f8.asciidoc @@ -1,5 +1,5 @@ // This file is autogenerated, DO NOT EDIT -// tab-widgets/inference-api/infer-api-task.asciidoc:208 +// tab-widgets/inference-api/infer-api-task.asciidoc:216 [source, python] ---- diff --git a/docs/examples/861f5f61409dc87f3671293b87839ff7.asciidoc b/docs/examples/861f5f61409dc87f3671293b87839ff7.asciidoc index 96eeaa111..b5cbc6f3d 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:1314 +// cluster/stats.asciidoc:1450 [source, python] ---- diff --git a/docs/examples/113ac8466084ee6ac4ed272e342dc468.asciidoc b/docs/examples/894fce12d8f0d01e4c4083885a0c0077.asciidoc similarity index 86% rename from docs/examples/113ac8466084ee6ac4ed272e342dc468.asciidoc rename to docs/examples/894fce12d8f0d01e4c4083885a0c0077.asciidoc index dde6989d5..2b80551c1 100644 --- a/docs/examples/113ac8466084ee6ac4ed272e342dc468.asciidoc +++ b/docs/examples/894fce12d8f0d01e4c4083885a0c0077.asciidoc @@ -11,7 +11,7 @@ resp = client.reindex( }, dest={ "index": "mistral-embeddings", - "pipeline": "mistral_embeddings" + "pipeline": "mistral_embeddings_pipeline" }, ) print(resp) diff --git a/docs/examples/8a1b6eae4893c5dd27b3d81fd8d70f5b.asciidoc b/docs/examples/8a1b6eae4893c5dd27b3d81fd8d70f5b.asciidoc index f670391bd..8a6c13fbf 100644 --- a/docs/examples/8a1b6eae4893c5dd27b3d81fd8d70f5b.asciidoc +++ b/docs/examples/8a1b6eae4893c5dd27b3d81fd8d70f5b.asciidoc @@ -1,5 +1,5 @@ // This file is autogenerated, DO NOT EDIT -// search/search-your-data/semantic-search-inference.asciidoc:89 +// search/search-your-data/semantic-search-elser.asciidoc:157 [source, python] ---- diff --git a/docs/examples/935566d5426d44ade486a49ec5289741.asciidoc b/docs/examples/935566d5426d44ade486a49ec5289741.asciidoc index 9b2c52446..38bd983c0 100644 --- a/docs/examples/935566d5426d44ade486a49ec5289741.asciidoc +++ b/docs/examples/935566d5426d44ade486a49ec5289741.asciidoc @@ -1,5 +1,5 @@ // This file is autogenerated, DO NOT EDIT -// search/search-your-data/semantic-search-semantic-text.asciidoc:128 +// search/search-your-data/semantic-search-semantic-text.asciidoc:116 [source, python] ---- diff --git a/docs/examples/7e5bee18e61d950e823782da1b733903.asciidoc b/docs/examples/968fb5b92aa65af09544f7c002b0953e.asciidoc similarity index 87% rename from docs/examples/7e5bee18e61d950e823782da1b733903.asciidoc rename to docs/examples/968fb5b92aa65af09544f7c002b0953e.asciidoc index 5fee705ec..2d1b74443 100644 --- a/docs/examples/7e5bee18e61d950e823782da1b733903.asciidoc +++ b/docs/examples/968fb5b92aa65af09544f7c002b0953e.asciidoc @@ -1,5 +1,5 @@ // This file is autogenerated, DO NOT EDIT -// search/search-your-data/semantic-search-semantic-text.asciidoc:173 +// search/search-your-data/semantic-search-semantic-text.asciidoc:162 [source, python] ---- @@ -7,7 +7,7 @@ resp = client.search( index="semantic-embeddings", query={ "semantic": { - "field": "semantic_text", + "field": "content", "query": "How to avoid muscle soreness while running?" } }, diff --git a/docs/examples/9d396afad93782699d7a929578c85284.asciidoc b/docs/examples/9d396afad93782699d7a929578c85284.asciidoc index 5c4822152..e869a6a92 100644 --- a/docs/examples/9d396afad93782699d7a929578c85284.asciidoc +++ b/docs/examples/9d396afad93782699d7a929578c85284.asciidoc @@ -1,5 +1,5 @@ // This file is autogenerated, DO NOT EDIT -// tab-widgets/inference-api/infer-api-task.asciidoc:184 +// tab-widgets/inference-api/infer-api-task.asciidoc:192 [source, python] ---- diff --git a/docs/examples/9d66cb59711f24e6b4ff85608c9b5a1b.asciidoc b/docs/examples/9d66cb59711f24e6b4ff85608c9b5a1b.asciidoc new file mode 100644 index 000000000..dfe0eb762 --- /dev/null +++ b/docs/examples/9d66cb59711f24e6b4ff85608c9b5a1b.asciidoc @@ -0,0 +1,12 @@ +// This file is autogenerated, DO NOT EDIT +// troubleshooting/common-issues/task-queue-backlog.asciidoc:51 + +[source, python] +---- +resp = client.tasks.list( + pretty=True, + human=True, + detailed=True, +) +print(resp) +---- diff --git a/docs/examples/a4ee2214d621bcfaf768c46d21325958.asciidoc b/docs/examples/a4ee2214d621bcfaf768c46d21325958.asciidoc index 7c2c97f72..b00e53429 100644 --- a/docs/examples/a4ee2214d621bcfaf768c46d21325958.asciidoc +++ b/docs/examples/a4ee2214d621bcfaf768c46d21325958.asciidoc @@ -1,5 +1,5 @@ // This file is autogenerated, DO NOT EDIT -// tab-widgets/inference-api/infer-api-task.asciidoc:66 +// tab-widgets/inference-api/infer-api-task.asciidoc:74 [source, python] ---- diff --git a/docs/examples/a594f05459d9eecc8050c73fc8da336f.asciidoc b/docs/examples/a594f05459d9eecc8050c73fc8da336f.asciidoc index c714c6bd4..60d534ece 100644 --- a/docs/examples/a594f05459d9eecc8050c73fc8da336f.asciidoc +++ b/docs/examples/a594f05459d9eecc8050c73fc8da336f.asciidoc @@ -1,5 +1,5 @@ // This file is autogenerated, DO NOT EDIT -// tab-widgets/inference-api/infer-api-task.asciidoc:121 +// tab-widgets/inference-api/infer-api-task.asciidoc:129 [source, python] ---- diff --git a/docs/examples/82eff1d681a5d0d1538ef011bb32ab9a.asciidoc b/docs/examples/a769d696bf12f5e9de4b3250646d250c.asciidoc similarity index 83% rename from docs/examples/82eff1d681a5d0d1538ef011bb32ab9a.asciidoc rename to docs/examples/a769d696bf12f5e9de4b3250646d250c.asciidoc index 87c70a6f3..dff590d07 100644 --- a/docs/examples/82eff1d681a5d0d1538ef011bb32ab9a.asciidoc +++ b/docs/examples/a769d696bf12f5e9de4b3250646d250c.asciidoc @@ -11,7 +11,7 @@ resp = client.reindex( }, dest={ "index": "alibabacloud-ai-search-embeddings", - "pipeline": "alibabacloud_ai_search_embeddings" + "pipeline": "alibabacloud_ai_search_embeddings_pipeline" }, ) print(resp) diff --git a/docs/examples/0ba5acede9d43af424e85428e7d35420.asciidoc b/docs/examples/a95ae76fca7c3e273e4bd10323b3caa6.asciidoc similarity index 91% rename from docs/examples/0ba5acede9d43af424e85428e7d35420.asciidoc rename to docs/examples/a95ae76fca7c3e273e4bd10323b3caa6.asciidoc index b1c6f894b..20be5e1e3 100644 --- a/docs/examples/0ba5acede9d43af424e85428e7d35420.asciidoc +++ b/docs/examples/a95ae76fca7c3e273e4bd10323b3caa6.asciidoc @@ -4,7 +4,7 @@ [source, python] ---- resp = client.ingest.put_pipeline( - id="azure_openai_embeddings", + id="azure_openai_embeddings_pipeline", processors=[ { "inference": { diff --git a/docs/examples/aa814309ad5f1630886ba75255b444f5.asciidoc b/docs/examples/aa814309ad5f1630886ba75255b444f5.asciidoc new file mode 100644 index 000000000..d542f9477 --- /dev/null +++ b/docs/examples/aa814309ad5f1630886ba75255b444f5.asciidoc @@ -0,0 +1,8 @@ +// This file is autogenerated, DO NOT EDIT +// troubleshooting/common-issues/task-queue-backlog.asciidoc:80 + +[source, python] +---- +resp = client.cluster.pending_tasks() +print(resp) +---- diff --git a/docs/examples/b0fe9a7c8e519995258786be4bef36c4.asciidoc b/docs/examples/b0fe9a7c8e519995258786be4bef36c4.asciidoc index 90b70da87..6ef842f01 100644 --- a/docs/examples/b0fe9a7c8e519995258786be4bef36c4.asciidoc +++ b/docs/examples/b0fe9a7c8e519995258786be4bef36c4.asciidoc @@ -1,5 +1,5 @@ // This file is autogenerated, DO NOT EDIT -// search/search-your-data/semantic-search-inference.asciidoc:97 +// search/search-your-data/semantic-search-elser.asciidoc:170 [source, python] ---- diff --git a/docs/examples/b6a7ffd2003c38f4aa321f067d162be5.asciidoc b/docs/examples/b6a7ffd2003c38f4aa321f067d162be5.asciidoc index 5bcfbbfb9..f75a30daa 100644 --- a/docs/examples/b6a7ffd2003c38f4aa321f067d162be5.asciidoc +++ b/docs/examples/b6a7ffd2003c38f4aa321f067d162be5.asciidoc @@ -1,5 +1,5 @@ // This file is autogenerated, DO NOT EDIT -// search/search-your-data/semantic-search-elser.asciidoc:248 +// search/search-your-data/semantic-search-elser.asciidoc:260 [source, python] ---- diff --git a/docs/examples/c02c2916b97b6fa7db82dbc7f0378310.asciidoc b/docs/examples/c02c2916b97b6fa7db82dbc7f0378310.asciidoc index bf854843c..d50b44d64 100644 --- a/docs/examples/c02c2916b97b6fa7db82dbc7f0378310.asciidoc +++ b/docs/examples/c02c2916b97b6fa7db82dbc7f0378310.asciidoc @@ -1,5 +1,5 @@ // This file is autogenerated, DO NOT EDIT -// search/search-your-data/retrievers-reranking/semantic-reranking.asciidoc:109 +// reranking/semantic-reranking.asciidoc:105 [source, python] ---- diff --git a/docs/examples/804cdf477ec829740e3d045140400c3b.asciidoc b/docs/examples/c8fa8d7e029792d539464fede18ce258.asciidoc similarity index 76% rename from docs/examples/804cdf477ec829740e3d045140400c3b.asciidoc rename to docs/examples/c8fa8d7e029792d539464fede18ce258.asciidoc index 61607f892..fbb4ecc75 100644 --- a/docs/examples/804cdf477ec829740e3d045140400c3b.asciidoc +++ b/docs/examples/c8fa8d7e029792d539464fede18ce258.asciidoc @@ -1,5 +1,5 @@ // This file is autogenerated, DO NOT EDIT -// search/search-your-data/semantic-search-semantic-text.asciidoc:68 +// search/search-your-data/semantic-search-semantic-text.asciidoc:66 [source, python] ---- @@ -7,13 +7,9 @@ resp = client.indices.create( index="semantic-embeddings", mappings={ "properties": { - "semantic_text": { + "content": { "type": "semantic_text", "inference_id": "my-elser-endpoint" - }, - "content": { - "type": "text", - "copy_to": "semantic_text" } } }, diff --git a/docs/examples/443f0e8fbba83777b2df624879d188d5.asciidoc b/docs/examples/d3440ec81dde5f1a01c0206cb35e539c.asciidoc similarity index 85% rename from docs/examples/443f0e8fbba83777b2df624879d188d5.asciidoc rename to docs/examples/d3440ec81dde5f1a01c0206cb35e539c.asciidoc index 19b41f3a9..63436572c 100644 --- a/docs/examples/443f0e8fbba83777b2df624879d188d5.asciidoc +++ b/docs/examples/d3440ec81dde5f1a01c0206cb35e539c.asciidoc @@ -11,7 +11,7 @@ resp = client.reindex( }, dest={ "index": "azure-openai-embeddings", - "pipeline": "azure_openai_embeddings" + "pipeline": "azure_openai_embeddings_pipeline" }, ) print(resp) diff --git a/docs/examples/0e3abd15dde97a2334621190c4ad4f96.asciidoc b/docs/examples/dd7814258121d3c2e576a7f00469d7e3.asciidoc similarity index 92% rename from docs/examples/0e3abd15dde97a2334621190c4ad4f96.asciidoc rename to docs/examples/dd7814258121d3c2e576a7f00469d7e3.asciidoc index 1067fa1a5..93b2779f4 100644 --- a/docs/examples/0e3abd15dde97a2334621190c4ad4f96.asciidoc +++ b/docs/examples/dd7814258121d3c2e576a7f00469d7e3.asciidoc @@ -4,7 +4,7 @@ [source, python] ---- resp = client.ingest.put_pipeline( - id="mistral_embeddings", + id="mistral_embeddings_pipeline", processors=[ { "inference": { diff --git a/docs/examples/e3fe842951dc873d7d00c8f6a010c53f.asciidoc b/docs/examples/e3fe842951dc873d7d00c8f6a010c53f.asciidoc new file mode 100644 index 000000000..0109eed73 --- /dev/null +++ b/docs/examples/e3fe842951dc873d7d00c8f6a010c53f.asciidoc @@ -0,0 +1,12 @@ +// This file is autogenerated, DO NOT EDIT +// troubleshooting/common-issues/task-queue-backlog.asciidoc:67 + +[source, python] +---- +resp = client.tasks.list( + human=True, + detailed=True, + actions="indices:data/write/search", +) +print(resp) +---- diff --git a/docs/examples/e551ea38a2d8f8deac110b33304200cc.asciidoc b/docs/examples/e551ea38a2d8f8deac110b33304200cc.asciidoc index a69bf2834..3d6783dc1 100644 --- a/docs/examples/e551ea38a2d8f8deac110b33304200cc.asciidoc +++ b/docs/examples/e551ea38a2d8f8deac110b33304200cc.asciidoc @@ -1,5 +1,5 @@ // This file is autogenerated, DO NOT EDIT -// search/search-your-data/learning-to-rank-search-usage.asciidoc:17 +// reranking/learning-to-rank-search-usage.asciidoc:17 [source, python] ---- diff --git a/docs/examples/4655c3dea0c61935b7ecf1e57441df66.asciidoc b/docs/examples/e9625da419bff6470ffd9927c59ca159.asciidoc similarity index 79% rename from docs/examples/4655c3dea0c61935b7ecf1e57441df66.asciidoc rename to docs/examples/e9625da419bff6470ffd9927c59ca159.asciidoc index 98b608366..d23a92313 100644 --- a/docs/examples/4655c3dea0c61935b7ecf1e57441df66.asciidoc +++ b/docs/examples/e9625da419bff6470ffd9927c59ca159.asciidoc @@ -5,7 +5,7 @@ ---- resp = client.cat.thread_pool( v=True, - h="id,name,active,rejected,completed", + h="id,name,queue,active,rejected,completed", ) print(resp) ---- diff --git a/docs/examples/349823d86980d40ac45248c19a59e339.asciidoc b/docs/examples/f03352bb1129938a89f97e4b650038dd.asciidoc similarity index 91% rename from docs/examples/349823d86980d40ac45248c19a59e339.asciidoc rename to docs/examples/f03352bb1129938a89f97e4b650038dd.asciidoc index d770f3f54..ef19c0301 100644 --- a/docs/examples/349823d86980d40ac45248c19a59e339.asciidoc +++ b/docs/examples/f03352bb1129938a89f97e4b650038dd.asciidoc @@ -4,7 +4,7 @@ [source, python] ---- resp = client.ingest.put_pipeline( - id="amazon_bedrock_embeddings", + id="amazon_bedrock_embeddings_pipeline", processors=[ { "inference": { diff --git a/docs/examples/517d291044c3e4448b8804322616ab4a.asciidoc b/docs/examples/f86337e13526c968848cfe29a52d658f.asciidoc similarity index 92% rename from docs/examples/517d291044c3e4448b8804322616ab4a.asciidoc rename to docs/examples/f86337e13526c968848cfe29a52d658f.asciidoc index 4fc02a67c..613de0527 100644 --- a/docs/examples/517d291044c3e4448b8804322616ab4a.asciidoc +++ b/docs/examples/f86337e13526c968848cfe29a52d658f.asciidoc @@ -4,7 +4,7 @@ [source, python] ---- resp = client.ingest.put_pipeline( - id="elser_embeddings", + id="elser_embeddings_pipeline", processors=[ { "inference": { diff --git a/docs/examples/fc1907515f6a913884a9f86451e90ee8.asciidoc b/docs/examples/fc1907515f6a913884a9f86451e90ee8.asciidoc index 543709c8c..8c60861bf 100644 --- a/docs/examples/fc1907515f6a913884a9f86451e90ee8.asciidoc +++ b/docs/examples/fc1907515f6a913884a9f86451e90ee8.asciidoc @@ -1,5 +1,5 @@ // This file is autogenerated, DO NOT EDIT -// search/search-your-data/semantic-search-elser.asciidoc:304 +// search/search-your-data/semantic-search-elser.asciidoc:316 [source, python] ----