Skip to content

Commit cafa395

Browse files
authored
Release 8.13.0
1 parent 334ab69 commit cafa395

12 files changed

+43
-14
lines changed

docs/examples/0e5d25c7bb738c42d471020d678e2966.asciidoc

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -5,8 +5,6 @@
55
resp = client.ml.start_trained_model_deployment(
66
model_id="my_model",
77
deployment_id="my_model_for_ingest",
8-
wait_for="started",
9-
timeout="1m",
108
)
119
print(resp)
1210
----
Lines changed: 9 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,9 @@
1+
// api-conventions.asciidoc:344
2+
3+
[source, python]
4+
----
5+
resp = client.search(
6+
body={"size": "1000"},
7+
)
8+
print(resp)
9+
----

docs/examples/3d1ff6097e2359f927c88c2ccdb36252.asciidoc

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -4,4 +4,4 @@
44
----
55
resp = client.info()
66
print(resp)
7-
----
7+
----

docs/examples/46884e00674f82e7a7bc8b418d1777de.asciidoc

Lines changed: 3 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -2,15 +2,14 @@
22

33
[source, python]
44
----
5-
65
resp = client.inference.put_model(
76
task_type="text_embedding",
8-
inference_id="cohere_embeddings",
7+
inference_id="cohere-embeddings",
98
body={
109
"service": "cohere",
1110
"service_settings": {
12-
"api_key": "api_key",
13-
"model_id": "embed-english-v3.0",
11+
"api_key": "<api_key>",
12+
"model": "embed-english-light-v3.0",
1413
"embedding_type": "int8",
1514
},
1615
"task_settings": {},

docs/examples/633c8a9fc57268979d8735c557705809.asciidoc

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
// mapping/types/keyword.asciidoc:219
1+
// mapping/types/keyword.asciidoc:220
22

33
[source, python]
44
----

docs/examples/63d1c07d22a3ca3b0ec6d950547c011c.asciidoc

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
// mapping/types/keyword.asciidoc:189
1+
// mapping/types/keyword.asciidoc:190
22

33
[source, python]
44
----
Lines changed: 10 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,10 @@
1+
// ml/trained-models/apis/update-trained-model-deployment.asciidoc:55
2+
3+
[source, python]
4+
----
5+
resp = client.ml.update_trained_model_deployment(
6+
model_id="elastic__distilbert-base-uncased-finetuned-conll03-english",
7+
body={"number_of_allocations": 4},
8+
)
9+
print(resp)
10+
----

docs/examples/77113c65e1755313183a8969233a5a07.asciidoc

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
// mapping/types/keyword.asciidoc:249
1+
// mapping/types/keyword.asciidoc:250
22

33
[source, python]
44
----

docs/examples/c0f4cbcb104747f38acdbc9a30bd13bf.asciidoc

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -4,10 +4,10 @@
44
----
55
resp = client.inference.put_model(
66
task_type="text_embedding",
7-
inference_id="my_openai_embedding_model",
7+
inference_id="openai_embeddings",
88
body={
99
"service": "openai",
10-
"service_settings": {"api_key": "api_key"},
10+
"service_settings": {"api_key": "<api_key>"},
1111
"task_settings": {"model": "text-embedding-ada-002"},
1212
},
1313
)

docs/examples/eec051555c8050d017d3fe38ea59e3a0.asciidoc

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
// search/search.asciidoc:945
1+
// search/search.asciidoc:956
22

33
[source, python]
44
----

docs/guide/release-notes.asciidoc

Lines changed: 13 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,7 @@
11
[[release-notes]]
22
== Release notes
33

4+
* <<rn-8-13-0>>
45
* <<rn-8-12-1>>
56
* <<rn-8-12-0>>
67
* <<rn-8-11-1>>
@@ -35,6 +36,18 @@
3536
* <<rn-8-1-0>>
3637
* <<rn-8-0-0>>
3738

39+
[discrete]
40+
[[rn-8-13-0]]
41+
=== 8.13.0 (2024-03-22)
42+
43+
- Added native OpenTelemetry support
44+
- Added optional ``orjson`` (a fast, correct JSON library) serialization support
45+
- Added the `text_strcuture.test_grok_pattern` API
46+
- Added the `indices.resolve_cluster` API
47+
- Renamed the `model_id` parameter to `inference_id` in the `inference` APIs
48+
- Changed all `synonyms` APIs from **experimental** to **stable**.
49+
- Fixed API key documentation
50+
3851
[discrete]
3952
[[rn-8-12-1]]
4053
=== 8.12.1 (2024-02-22)

elasticsearch/_version.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -15,4 +15,4 @@
1515
# specific language governing permissions and limitations
1616
# under the License.
1717

18-
__versionstr__ = "8.12.1"
18+
__versionstr__ = "8.13.0"

0 commit comments

Comments
 (0)