Skip to content

Commit 1122f91

Browse files
authored
Release 8.17.2
1 parent 1729378 commit 1122f91

File tree

215 files changed

+1278
-628
lines changed

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

215 files changed

+1278
-628
lines changed
Lines changed: 11 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,11 @@
1+
// This file is autogenerated, DO NOT EDIT
2+
// migration/apis/data-stream-reindex.asciidoc:273
3+
4+
[source, python]
5+
----
6+
resp = client.indices.get_data_stream(
7+
name="my-data-stream",
8+
filter_path="data_streams.indices.index_name",
9+
)
10+
print(resp)
11+
----

docs/examples/015e6e6132b6d6d44bddb06bc3b316ed.asciidoc

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
// This file is autogenerated, DO NOT EDIT
2-
// search/search-your-data/retrievers-examples.asciidoc:801
2+
// search/search-your-data/retrievers-examples.asciidoc:1051
33

44
[source, python]
55
----

docs/examples/0165d22da5f2fc7678392b31d8eb5566.asciidoc

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
// This file is autogenerated, DO NOT EDIT
2-
// search/search-your-data/retrievers-examples.asciidoc:1113
2+
// search/search-your-data/retrievers-examples.asciidoc:1363
33

44
[source, python]
55
----

docs/examples/016f3147dae9ff2c3e831257ae470361.asciidoc

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
// This file is autogenerated, DO NOT EDIT
2-
// alias.asciidoc:52
2+
// alias.asciidoc:54
33

44
[source, python]
55
----

docs/examples/01b23f09d2b7f140faf649eadbbf3ac3.asciidoc

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
// This file is autogenerated, DO NOT EDIT
2-
// indices/index-templates.asciidoc:84
2+
// indices/index-templates.asciidoc:86
33

44
[source, python]
55
----

docs/examples/0bc6155e0c88062a4d8490da49db3aa8.asciidoc

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
// This file is autogenerated, DO NOT EDIT
2-
// search/search-your-data/retrievers-examples.asciidoc:562
2+
// search/search-your-data/retrievers-examples.asciidoc:812
33

44
[source, python]
55
----

docs/examples/0bcd380315ef4691b8c79df6ca53a85f.asciidoc

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
// This file is autogenerated, DO NOT EDIT
2-
// search/search-your-data/sort-search-results.asciidoc:395
2+
// search/search-your-data/sort-search-results.asciidoc:397
33

44
[source, python]
55
----
Lines changed: 5 additions & 12 deletions
Original file line numberDiff line numberDiff line change
@@ -1,19 +1,12 @@
11
// This file is autogenerated, DO NOT EDIT
2-
// esql/esql-across-clusters.asciidoc:192
2+
// esql/esql-across-clusters.asciidoc:194
33

44
[source, python]
55
----
6-
resp = client.perform_request(
7-
"POST",
8-
"/_query/async",
9-
params={
10-
"format": "json"
11-
},
12-
headers={"Content-Type": "application/json"},
13-
body={
14-
"query": "\n FROM my-index-000001,cluster_one:my-index-000001,cluster_two:my-index*\n | STATS COUNT(http.response.status_code) BY user.id\n | LIMIT 2\n ",
15-
"include_ccs_metadata": True
16-
},
6+
resp = client.esql.async_query(
7+
format="json",
8+
query="\n FROM my-index-000001,cluster_one:my-index-000001,cluster_two:my-index*\n | STATS COUNT(http.response.status_code) BY user.id\n | LIMIT 2\n ",
9+
include_ccs_metadata=True,
1710
)
1811
print(resp)
1912
----

docs/examples/0d689ac6e78be5d438f9b5d441be2b44.asciidoc

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
// This file is autogenerated, DO NOT EDIT
2-
// search/search-your-data/retrievers-examples.asciidoc:941
2+
// search/search-your-data/retrievers-examples.asciidoc:1191
33

44
[source, python]
55
----

docs/examples/0dfde6a9d953822fd4b3aa0121ddd8fb.asciidoc

Lines changed: 14 additions & 18 deletions
Original file line numberDiff line numberDiff line change
@@ -3,24 +3,20 @@
33

44
[source, python]
55
----
6-
resp = client.perform_request(
7-
"POST",
8-
"/_application/search_application/my-app/_render_query",
9-
headers={"Content-Type": "application/json"},
10-
body={
11-
"params": {
12-
"query_string": "my first query",
13-
"text_fields": [
14-
{
15-
"name": "title",
16-
"boost": 5
17-
},
18-
{
19-
"name": "description",
20-
"boost": 1
21-
}
22-
]
23-
}
6+
resp = client.search_application.render_query(
7+
name="my-app",
8+
params={
9+
"query_string": "my first query",
10+
"text_fields": [
11+
{
12+
"name": "title",
13+
"boost": 5
14+
},
15+
{
16+
"name": "description",
17+
"boost": 1
18+
}
19+
]
2420
},
2521
)
2622
print(resp)

0 commit comments

Comments
 (0)