Skip to content

Commit b0e320b

Browse files
authored
Fix example generation (elastic#2449)
1 parent f0fdf21 commit b0e320b

24 files changed

+47
-58
lines changed

docs/examples/28d3bb1dbed615c6e719d50d48ab6fb4.asciidoc renamed to docs/examples/08f20902821a4f7a73ce7b959c5bdbdc.asciidoc

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -11,7 +11,7 @@ resp = client.search(
1111
"flags": "ALL",
1212
"case_insensitive": True,
1313
"max_determinized_states": 10000,
14-
"rewrite": "constant_score",
14+
"rewrite": "constant_score_blended",
1515
}
1616
}
1717
}

docs/examples/13d90ba227131aefbf4fcfd5992e662a.asciidoc

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
// query-dsl/bool-query.asciidoc:153
1+
// query-dsl/bool-query.asciidoc:156
22

33
[source, python]
44
----

docs/examples/178c920d5e8ec0071f77290fa059802c.asciidoc

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
// indices/update-settings.asciidoc:122
1+
// indices/update-settings.asciidoc:132
22

33
[source, python]
44
----

docs/examples/1aa91d3d48140d6367b6cabca8737b8f.asciidoc

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
// docs/bulk.asciidoc:625
1+
// docs/bulk.asciidoc:634
22

33
[source, python]
44
----

docs/examples/20005d8a6555b259b299d862cd218701.asciidoc

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
// query-dsl/match-query.asciidoc:175
1+
// query-dsl/match-query.asciidoc:186
22

33
[source, python]
44
----

docs/examples/2fea3e324939cc7e9c396964aeee7111.asciidoc

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
// query-dsl/match-query.asciidoc:241
1+
// query-dsl/match-query.asciidoc:252
22

33
[source, python]
44
----

docs/examples/39ce44333d28ed2b833722d3e3cb06f3.asciidoc

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
// query-dsl/bool-query.asciidoc:181
1+
// query-dsl/bool-query.asciidoc:184
22

33
[source, python]
44
----
Lines changed: 9 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,9 @@
1+
// search/search.asciidoc:10
2+
3+
[source, python]
4+
----
5+
resp = client.search(
6+
index="my-index-000001",
7+
)
8+
print(resp)
9+
----

docs/examples/64b9baa6d7556b960b29698f3383aa31.asciidoc

Lines changed: 0 additions & 17 deletions
This file was deleted.

docs/examples/6b0288acb739c4667d41339e5100c327.asciidoc

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
// query-dsl/match-query.asciidoc:219
1+
// query-dsl/match-query.asciidoc:230
22

33
[source, python]
44
----

0 commit comments

Comments
 (0)