Skip to content

Commit 34704b2

Browse files
Auto-generated code for main (#2362)
1 parent 58b457e commit 34704b2

File tree

43 files changed

+550
-177
lines changed

Some content is hidden

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

43 files changed

+550
-177
lines changed

docs/doc_examples/e944653610f311fa06148d5b0afdf697.asciidoc renamed to docs/doc_examples/01b23f09d2b7f140faf649eadbbf3ac3.asciidoc

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -26,7 +26,7 @@ const response1 = await client.cluster.putComponentTemplate({
2626
type: "keyword",
2727
script: {
2828
source:
29-
"emit(doc['@timestamp'].value.dayOfWeekEnum.getDisplayName(TextStyle.FULL, Locale.ROOT))",
29+
"emit(doc['@timestamp'].value.dayOfWeekEnum.getDisplayName(TextStyle.FULL, Locale.ENGLISH))",
3030
},
3131
},
3232
},
Lines changed: 12 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,12 @@
1+
// This file is autogenerated, DO NOT EDIT
2+
// Use `node scripts/generate-docs-examples.js` to generate the docs examples
3+
4+
[source, js]
5+
----
6+
const response = await client.tasks.list({
7+
human: "true",
8+
detailed: "true",
9+
actions: "indices:data/write/bulk",
10+
});
11+
console.log(response);
12+
----

docs/doc_examples/9868ce609f4450702934fcbf4c340bf1.asciidoc renamed to docs/doc_examples/05e637284bc3bedd46e0b7c26ad983c4.asciidoc

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,7 @@
44
[source, js]
55
----
66
const response = await client.ingest.putPipeline({
7-
id: "alibabacloud_ai_search_embeddings",
7+
id: "alibabacloud_ai_search_embeddings_pipeline",
88
processors: [
99
{
1010
inference: {

docs/doc_examples/46025fc47dfbfa410790df0dd6bdad8d.asciidoc renamed to docs/doc_examples/0b4e50f1b5a0537cbb1a41276bb51c54.asciidoc

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -10,7 +10,7 @@ const response = await client.search({
1010
type: "keyword",
1111
script: {
1212
source:
13-
"emit(doc['@timestamp'].value.dayOfWeekEnum\n .getDisplayName(TextStyle.FULL, Locale.ROOT))",
13+
"emit(doc['@timestamp'].value.dayOfWeekEnum\n .getDisplayName(TextStyle.FULL, Locale.ENGLISH))",
1414
},
1515
},
1616
},

docs/doc_examples/be30ea12f605fd61acba689b68e00bbe.asciidoc renamed to docs/doc_examples/1c330f0fc9eac19d0edeb8c4017b9b93.asciidoc

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,7 @@
44
[source, js]
55
----
66
const response = await client.ingest.putPipeline({
7-
id: "hugging_face_embeddings",
7+
id: "hugging_face_embeddings_pipeline",
88
processors: [
99
{
1010
inference: {

docs/doc_examples/7c63a1d2fbec5283e913ff39fafd0604.asciidoc renamed to docs/doc_examples/1cbecd19be22979aefb45b4f160e77ea.asciidoc

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,7 @@
44
[source, js]
55
----
66
const response = await client.ingest.putPipeline({
7-
id: "google_vertex_ai_embeddings",
7+
id: "google_vertex_ai_embeddings_pipeline",
88
processors: [
99
{
1010
inference: {

docs/doc_examples/da3cecc36a7313385d32c7f52ccfb7e3.asciidoc renamed to docs/doc_examples/24a037008e0fc2550ecb6a5d36c04a93.asciidoc

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -10,7 +10,7 @@ const response = await client.search({
1010
"date.day_of_week": {
1111
type: "keyword",
1212
script:
13-
"emit(doc['date'].value.dayOfWeekEnum.getDisplayName(TextStyle.FULL, Locale.ROOT))",
13+
"emit(doc['date'].value.dayOfWeekEnum.getDisplayName(TextStyle.FULL, Locale.ENGLISH))",
1414
},
1515
},
1616
aggs: {

docs/doc_examples/dfcdadcf91529d3a399e05684195028e.asciidoc renamed to docs/doc_examples/2968ffb8135f77ba3a9b876dd4918119.asciidoc

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -11,7 +11,7 @@ const response = await client.reindex({
1111
},
1212
dest: {
1313
index: "azure-ai-studio-embeddings",
14-
pipeline: "azure_ai_studio_embeddings",
14+
pipeline: "azure_ai_studio_embeddings_pipeline",
1515
},
1616
});
1717
console.log(response);

docs/doc_examples/5f8d90515995a5eee189d722abe3b111.asciidoc renamed to docs/doc_examples/310bdfb0d0d75bac7bff036a3fe51d4d.asciidoc

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,7 @@
44
[source, js]
55
----
66
const response = await client.ingest.putPipeline({
7-
id: "azure_ai_studio_embeddings",
7+
id: "azure_ai_studio_embeddings_pipeline",
88
processors: [
99
{
1010
inference: {

docs/doc_examples/65e892a362d940e4a74965f21c15ca09.asciidoc renamed to docs/doc_examples/36ac0ef9ea63efc431580f7ade8ad53c.asciidoc

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -11,7 +11,7 @@ const response = await client.reindex({
1111
},
1212
dest: {
1313
index: "openai-embeddings",
14-
pipeline: "openai_embeddings",
14+
pipeline: "openai_embeddings_pipeline",
1515
},
1616
});
1717
console.log(response);

0 commit comments

Comments
 (0)