Skip to content

Commit fb88fbb

Browse files
authored
Bring 8.13.0 release notes to main (#2512)
1 parent cbf349c commit fb88fbb

22 files changed

+81
-52
lines changed

docs/examples/00fea15cbca83be9d5f1a024ff2ec708.asciidoc

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
// inference/put-inference.asciidoc:276
1+
// inference/put-inference.asciidoc:275
22

33
[source, python]
44
----

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
----

docs/examples/10c3fe2265bb34964bd1005f9da66773.asciidoc

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
// inference/put-inference.asciidoc:371
1+
// inference/put-inference.asciidoc:369
22

33
[source, python]
44
----
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/13ecdf99114098c76b050397d9c3d4e6.asciidoc

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
// inference/post-inference.asciidoc:72
1+
// inference/post-inference.asciidoc:73
22

33
[source, python]
44
----

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: 0 additions & 20 deletions
This file was deleted.

docs/examples/4e3414fc712b16311f9e433dd366f49d.asciidoc

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
// inference/delete-inference.asciidoc:51
1+
// inference/delete-inference.asciidoc:53
22

33
[source, python]
44
----

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: 17 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,17 @@
1+
// inference/put-inference.asciidoc:394
2+
3+
[source, python]
4+
----
5+
resp = client.inference.put_model(
6+
task_type="text_embedding",
7+
inference_id="openai_embeddings",
8+
body={
9+
"service": "openai",
10+
"service_settings": {
11+
"api_key": "<api_key>",
12+
"model_id": "text-embedding-ada-002",
13+
},
14+
},
15+
)
16+
print(resp)
17+
----
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/8e286a205a1f84f888a6d99f2620c80e.asciidoc

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
// setup/logging-config.asciidoc:235
1+
// setup/logging-config.asciidoc:242
22

33
[source, python]
44
----
Lines changed: 18 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,18 @@
1+
// inference/put-inference.asciidoc:253
2+
3+
[source, python]
4+
----
5+
resp = client.inference.put_model(
6+
task_type="text_embedding",
7+
inference_id="cohere-embeddings",
8+
body={
9+
"service": "cohere",
10+
"service_settings": {
11+
"api_key": "<api_key>",
12+
"model_id": "embed-english-light-v3.0",
13+
"embedding_type": "byte",
14+
},
15+
},
16+
)
17+
print(resp)
18+
----

docs/examples/a4a3c3cd09efa75168dab90105afb2e9.asciidoc

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
// inference/get-inference.asciidoc:68
1+
// inference/get-inference.asciidoc:69
22

33
[source, python]
44
----

docs/examples/c0f4cbcb104747f38acdbc9a30bd13bf.asciidoc

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

docs/examples/4ea91a3ff42de540bb4c9ef268d607a6.asciidoc renamed to docs/examples/cedb56a71cc743d80263ce352bb21720.asciidoc

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
// inference/put-inference.asciidoc:301
1+
// inference/put-inference.asciidoc:300
22

33
[source, python]
44
----
@@ -8,7 +8,6 @@ resp = client.inference.put_model(
88
body={
99
"service": "elser",
1010
"service_settings": {"num_allocations": 1, "num_threads": 1},
11-
"task_settings": {},
1211
},
1312
)
1413
print(resp)

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/examples/eee6110831c08b9c1b3f56b24656e95b.asciidoc

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
// inference/put-inference.asciidoc:341
1+
// inference/put-inference.asciidoc:339
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)