Skip to content
Merged
Show file tree
Hide file tree
Changes from 1 commit
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
The table of contents is too big for display.
Diff view
Diff view
  •  
  •  
  •  
2 changes: 1 addition & 1 deletion docs/examples/00fea15cbca83be9d5f1a024ff2ec708.asciidoc
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
// This file is autogenerated, DO NOT EDIT
// inference/service-elasticsearch.asciidoc:199
// inference/service-elasticsearch.asciidoc:204

[source, python]
----
Expand Down
2 changes: 1 addition & 1 deletion docs/examples/010d5e901a2690fa7b2396edbe6cd463.asciidoc
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
// This file is autogenerated, DO NOT EDIT
// ingest/common-log-format-example.asciidoc:162
// ingest/common-log-format-example.asciidoc:161

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

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

[source, python]
----
Expand Down
2 changes: 1 addition & 1 deletion docs/examples/01ae196538fac197eedbbf458a4ef31b.asciidoc
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
// This file is autogenerated, DO NOT EDIT
// mapping/types/keyword.asciidoc:254
// mapping/types/keyword.asciidoc:260

[source, python]
----
Expand Down
2 changes: 1 addition & 1 deletion docs/examples/01b23f09d2b7f140faf649eadbbf3ac3.asciidoc
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
// This file is autogenerated, DO NOT EDIT
// indices/index-templates.asciidoc:85
// indices/index-templates.asciidoc:86

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

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

[source, python]
----
Expand Down
2 changes: 1 addition & 1 deletion docs/examples/02b6aa3e5652839f03de3a655854b897.asciidoc
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
// This file is autogenerated, DO NOT EDIT
// data-streams/downsampling-manual.asciidoc:469
// data-streams/downsampling-manual.asciidoc:466

[source, python]
----
Expand Down
2 changes: 1 addition & 1 deletion docs/examples/0350410d11579f4e876c798ce1eaef5b.asciidoc
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
// This file is autogenerated, DO NOT EDIT
// query-dsl/percolate-query.asciidoc:563
// query-dsl/percolate-query.asciidoc:565

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

[source, python]
----
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -3,8 +3,6 @@

[source, python]
----
resp = client.cluster.reroute(
metric="none",
)
resp = client.cluster.reroute()
print(resp)
----
2 changes: 1 addition & 1 deletion docs/examples/0737ebaea33631f001fb3f4226948492.asciidoc
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
// This file is autogenerated, DO NOT EDIT
// ingest/processors/geoip.asciidoc:238
// ingest/processors/geoip.asciidoc:237

[source, python]
----
Expand Down
2 changes: 1 addition & 1 deletion docs/examples/074e4602d1ca54412380a40867d078bc.asciidoc
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
// This file is autogenerated, DO NOT EDIT
// index-modules/slowlog.asciidoc:181
// index-modules/slowlog.asciidoc:180

[source, python]
----
Expand Down
2 changes: 1 addition & 1 deletion docs/examples/07dadb9b0a774bd8e7f3527cf8a44afc.asciidoc
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
// This file is autogenerated, DO NOT EDIT
// query-dsl/semantic-query.asciidoc:15
// query-dsl/semantic-query.asciidoc:17

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

[source, python]
----
Expand Down
2 changes: 1 addition & 1 deletion docs/examples/0a650401134f07e40216f0d0d1a66a32.asciidoc
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
// This file is autogenerated, DO NOT EDIT
// cat/allocation.asciidoc:125
// cat/allocation.asciidoc:126

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

[source, python]
----
Expand Down
2 changes: 1 addition & 1 deletion docs/examples/0bee07a581c5776e068f6f4efad5a399.asciidoc
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
// This file is autogenerated, DO NOT EDIT
// esql/esql-across-clusters.asciidoc:195
// esql/esql-across-clusters.asciidoc:194

[source, python]
----
Expand Down
2 changes: 1 addition & 1 deletion docs/examples/0c2d9ac7e3f28d4d802e21cbbbcfeb34.asciidoc
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
// This file is autogenerated, DO NOT EDIT
// cat/recovery.asciidoc:214
// cat/recovery.asciidoc:118

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

[source, python]
----
Expand Down
2 changes: 1 addition & 1 deletion docs/examples/0dfa9733c94bc43c6f14c7b6984c98fb.asciidoc
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
// This file is autogenerated, DO NOT EDIT
// cat/component-templates.asciidoc:112
// cat/component-templates.asciidoc:113

[source, python]
----
Expand Down
2 changes: 1 addition & 1 deletion docs/examples/0e31b8ad176b31028becf9500989bcbd.asciidoc
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
// This file is autogenerated, DO NOT EDIT
// inference/service-watsonx-ai.asciidoc:123
// inference/service-watsonx-ai.asciidoc:102

[source, python]
----
Expand Down
2 changes: 1 addition & 1 deletion docs/examples/0e71a18d1aac61720cdc6b3f91fe643f.asciidoc
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
// This file is autogenerated, DO NOT EDIT
// query-dsl/simple-query-string-query.asciidoc:156
// query-dsl/simple-query-string-query.asciidoc:153

[source, python]
----
Expand Down
15 changes: 15 additions & 0 deletions docs/examples/0f028f71f04c1d569fab402869565a84.asciidoc
Original file line number Diff line number Diff line change
@@ -0,0 +1,15 @@
// This file is autogenerated, DO NOT EDIT
// migration/migrate_9_0.asciidoc:476

[source, python]
----
resp = client.indices.put_settings(
index=".reindexed-v9-ml-anomalies-custom-example",
settings={
"index": {
"number_of_replicas": "<original_number_of_replicas>"
}
},
)
print(resp)
----
2 changes: 1 addition & 1 deletion docs/examples/0f7aa40ad26d59a9268630b980a3d594.asciidoc
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
// This file is autogenerated, DO NOT EDIT
// indices/simulate-template.asciidoc:60
// indices/simulate-template.asciidoc:61

[source, python]
----
Expand Down
2 changes: 1 addition & 1 deletion docs/examples/0fc4b589df5388da784c6d981e769e31.asciidoc
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
// This file is autogenerated, DO NOT EDIT
// indices/put-index-template-v1.asciidoc:154
// indices/put-index-template-v1.asciidoc:155

[source, python]
----
Expand Down
2 changes: 1 addition & 1 deletion docs/examples/103296e16b4233926ad1f07360385606.asciidoc
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
// This file is autogenerated, DO NOT EDIT
// analysis/analyzers/lang-analyzer.asciidoc:1793
// analysis/analyzers/lang-analyzer.asciidoc:1794

[source, python]
----
Expand Down
2 changes: 1 addition & 1 deletion docs/examples/10f0c8fed98455c460c374b50ffbb204.asciidoc
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
// This file is autogenerated, DO NOT EDIT
// data-streams/lifecycle/tutorial-migrate-data-stream-from-ilm-to-dsl.asciidoc:317
// data-streams/lifecycle/tutorial-migrate-data-stream-from-ilm-to-dsl.asciidoc:301

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

[source, python]
----
Expand Down
11 changes: 11 additions & 0 deletions docs/examples/12adea5d76f73d94d80d42f53f67563f.asciidoc
Original file line number Diff line number Diff line change
@@ -0,0 +1,11 @@
// This file is autogenerated, DO NOT EDIT
// migration/migrate_9_0.asciidoc:393

[source, python]
----
resp = client.indices.add_block(
index=".ml-anomalies-custom-example",
block="read_only",
)
print(resp)
----
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@
resp = client.index(
index="logs-debug",
document={
"@timestamp": "2019-12-12",
"date": "2019-12-12",
"message": "Starting up Elasticsearch",
"level": "debug"
},
Expand All @@ -16,7 +16,7 @@ print(resp)
resp1 = client.index(
index="logs-debug",
document={
"@timestamp": "2019-12-12",
"date": "2019-12-12",
"message": "Starting up Elasticsearch"
},
)
Expand Down
2 changes: 1 addition & 1 deletion docs/examples/13d90ba227131aefbf4fcfd5992e662a.asciidoc
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
// This file is autogenerated, DO NOT EDIT
// query-dsl/bool-query.asciidoc:202
// query-dsl/bool-query.asciidoc:159

[source, python]
----
Expand Down
2 changes: 1 addition & 1 deletion docs/examples/148edc235fcfbc263561f87f5533e688.asciidoc
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
// This file is autogenerated, DO NOT EDIT
// query-dsl/percolate-query.asciidoc:194
// query-dsl/percolate-query.asciidoc:196

[source, python]
----
Expand Down
2 changes: 1 addition & 1 deletion docs/examples/151d2b11807ec684b0c01aa89189a801.asciidoc
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
// This file is autogenerated, DO NOT EDIT
// query-dsl/query-string-query.asciidoc:477
// query-dsl/query-string-query.asciidoc:474

[source, python]
----
Expand Down
2 changes: 1 addition & 1 deletion docs/examples/162b5b693b713f0bfab1209d59443c46.asciidoc
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
// This file is autogenerated, DO NOT EDIT
// query-dsl/bool-query.asciidoc:176
// query-dsl/bool-query.asciidoc:133

[source, python]
----
Expand Down
2 changes: 1 addition & 1 deletion docs/examples/17b1647c8509543f2388c886f2584a20.asciidoc
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
// This file is autogenerated, DO NOT EDIT
// reranking/semantic-reranking.asciidoc:105
// reranking/semantic-reranking.asciidoc:107

[source, python]
----
Expand Down
2 changes: 1 addition & 1 deletion docs/examples/187733e50c60350f3f75921bea3b72c2.asciidoc
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
// This file is autogenerated, DO NOT EDIT
// search/search-your-data/paginate-search-results.asciidoc:630
// search/search-your-data/paginate-search-results.asciidoc:615

[source, python]
----
Expand Down
18 changes: 0 additions & 18 deletions docs/examples/18de6782bd18f4a9baec2feec8c02a8b.asciidoc

This file was deleted.

2 changes: 1 addition & 1 deletion docs/examples/1a7483796087053ba55029d0dc2ab356.asciidoc
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
// This file is autogenerated, DO NOT EDIT
// esql/multivalued-fields.asciidoc:199
// esql/multivalued-fields.asciidoc:191

[source, python]
----
Expand Down
2 changes: 1 addition & 1 deletion docs/examples/1a9efb56adb2cd84faa9825a129381b9.asciidoc
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
// This file is autogenerated, DO NOT EDIT
// rollup/apis/rollup-search.asciidoc:219
// rollup/apis/rollup-search.asciidoc:222

[source, python]
----
Expand Down
2 changes: 1 addition & 1 deletion docs/examples/1aa91d3d48140d6367b6cabca8737b8f.asciidoc
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
// This file is autogenerated, DO NOT EDIT
// docs/bulk.asciidoc:638
// docs/bulk.asciidoc:642

[source, python]
----
Expand Down
2 changes: 1 addition & 1 deletion docs/examples/1ba7afe23a26fe9ac7856d8c5bc1059d.asciidoc
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
// This file is autogenerated, DO NOT EDIT
// analysis/analyzers/lang-analyzer.asciidoc:1501
// analysis/analyzers/lang-analyzer.asciidoc:1502

[source, python]
----
Expand Down
2 changes: 1 addition & 1 deletion docs/examples/1d9b695a17cffd910c496c9b03c75d6f.asciidoc
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
// This file is autogenerated, DO NOT EDIT
// data-streams/lifecycle/tutorial-migrate-data-stream-from-ilm-to-dsl.asciidoc:42
// data-streams/lifecycle/tutorial-migrate-data-stream-from-ilm-to-dsl.asciidoc:34

[source, python]
----
Expand Down
2 changes: 1 addition & 1 deletion docs/examples/1e0b85750d4e63ebbc927d4627c44bf8.asciidoc
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
// This file is autogenerated, DO NOT EDIT
// how-to/size-your-shards.asciidoc:601
// how-to/size-your-shards.asciidoc:604

[source, python]
----
Expand Down
2 changes: 1 addition & 1 deletion docs/examples/1e26353d546d733634187b8c3a7837a7.asciidoc
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
// This file is autogenerated, DO NOT EDIT
// connector/apis/list-connectors-api.asciidoc:107
// connector/apis/list-connectors-api.asciidoc:110

[source, python]
----
Expand Down
2 changes: 1 addition & 1 deletion docs/examples/20005d8a6555b259b299d862cd218701.asciidoc
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
// This file is autogenerated, DO NOT EDIT
// query-dsl/match-query.asciidoc:194
// query-dsl/match-query.asciidoc:190

[source, python]
----
Expand Down
2 changes: 1 addition & 1 deletion docs/examples/216e24f05cbb82c1718713fbab8623d2.asciidoc
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
// This file is autogenerated, DO NOT EDIT
// ingest/processors/geoip.asciidoc:137
// ingest/processors/geoip.asciidoc:136

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