diff --git a/docs/examples/00fea15cbca83be9d5f1a024ff2ec708.asciidoc b/docs/examples/00fea15cbca83be9d5f1a024ff2ec708.asciidoc index 5920f9712..b7885f45d 100644 --- a/docs/examples/00fea15cbca83be9d5f1a024ff2ec708.asciidoc +++ b/docs/examples/00fea15cbca83be9d5f1a024ff2ec708.asciidoc @@ -1,5 +1,5 @@ // This file is autogenerated, DO NOT EDIT -// inference/service-elasticsearch.asciidoc:111 +// inference/service-elasticsearch.asciidoc:112 [source, python] ---- diff --git a/docs/examples/e944653610f311fa06148d5b0afdf697.asciidoc b/docs/examples/01b23f09d2b7f140faf649eadbbf3ac3.asciidoc similarity index 92% rename from docs/examples/e944653610f311fa06148d5b0afdf697.asciidoc rename to docs/examples/01b23f09d2b7f140faf649eadbbf3ac3.asciidoc index 79faa0c40..b3dcd8bc1 100644 --- a/docs/examples/e944653610f311fa06148d5b0afdf697.asciidoc +++ b/docs/examples/01b23f09d2b7f140faf649eadbbf3ac3.asciidoc @@ -25,7 +25,7 @@ resp1 = client.cluster.put_component_template( "day_of_week": { "type": "keyword", "script": { - "source": "emit(doc['@timestamp'].value.dayOfWeekEnum.getDisplayName(TextStyle.FULL, Locale.ROOT))" + "source": "emit(doc['@timestamp'].value.dayOfWeekEnum.getDisplayName(TextStyle.FULL, Locale.ENGLISH))" } } } diff --git a/docs/examples/033838729cfb5d1a28d04f69ee78d924.asciidoc b/docs/examples/033838729cfb5d1a28d04f69ee78d924.asciidoc index f7ac4831e..da31875ce 100644 --- a/docs/examples/033838729cfb5d1a28d04f69ee78d924.asciidoc +++ b/docs/examples/033838729cfb5d1a28d04f69ee78d924.asciidoc @@ -1,5 +1,5 @@ // This file is autogenerated, DO NOT EDIT -// mapping/types/geo-shape.asciidoc:300 +// mapping/types/geo-shape.asciidoc:299 [source, python] ---- diff --git a/docs/examples/0350ff5ebb8207c004eb771088339cb4.asciidoc b/docs/examples/0350ff5ebb8207c004eb771088339cb4.asciidoc index 5a6d5b272..c815c5834 100644 --- a/docs/examples/0350ff5ebb8207c004eb771088339cb4.asciidoc +++ b/docs/examples/0350ff5ebb8207c004eb771088339cb4.asciidoc @@ -1,5 +1,5 @@ // This file is autogenerated, DO NOT EDIT -// search/rrf.asciidoc:123 +// search/rrf.asciidoc:121 [source, python] ---- diff --git a/docs/examples/0ad8edd10542ec2c4d5d8700d7e2ba97.asciidoc b/docs/examples/0ad8edd10542ec2c4d5d8700d7e2ba97.asciidoc index 67f603109..25df3cdc2 100644 --- a/docs/examples/0ad8edd10542ec2c4d5d8700d7e2ba97.asciidoc +++ b/docs/examples/0ad8edd10542ec2c4d5d8700d7e2ba97.asciidoc @@ -1,5 +1,5 @@ // This file is autogenerated, DO NOT EDIT -// inference/service-amazon-bedrock.asciidoc:144 +// inference/service-amazon-bedrock.asciidoc:136 [source, python] ---- diff --git a/docs/examples/0b47b0bef81b9b5eecfb3775695bd6ad.asciidoc b/docs/examples/0b47b0bef81b9b5eecfb3775695bd6ad.asciidoc index e5a96397e..3c86a66ca 100644 --- a/docs/examples/0b47b0bef81b9b5eecfb3775695bd6ad.asciidoc +++ b/docs/examples/0b47b0bef81b9b5eecfb3775695bd6ad.asciidoc @@ -1,5 +1,5 @@ // This file is autogenerated, DO NOT EDIT -// monitoring/production.asciidoc:94 +// monitoring/production.asciidoc:96 [source, python] ---- diff --git a/docs/examples/46025fc47dfbfa410790df0dd6bdad8d.asciidoc b/docs/examples/0b4e50f1b5a0537cbb1a41276bb51c54.asciidoc similarity index 88% rename from docs/examples/46025fc47dfbfa410790df0dd6bdad8d.asciidoc rename to docs/examples/0b4e50f1b5a0537cbb1a41276bb51c54.asciidoc index 09a07d416..f01b365fd 100644 --- a/docs/examples/46025fc47dfbfa410790df0dd6bdad8d.asciidoc +++ b/docs/examples/0b4e50f1b5a0537cbb1a41276bb51c54.asciidoc @@ -9,7 +9,7 @@ resp = client.search( "day_of_week": { "type": "keyword", "script": { - "source": "emit(doc['@timestamp'].value.dayOfWeekEnum\n .getDisplayName(TextStyle.FULL, Locale.ROOT))" + "source": "emit(doc['@timestamp'].value.dayOfWeekEnum\n .getDisplayName(TextStyle.FULL, Locale.ENGLISH))" } } }, diff --git a/docs/examples/0e0d8f652d7d29371b5ea7c7544385eb.asciidoc b/docs/examples/0e0d8f652d7d29371b5ea7c7544385eb.asciidoc index ffaec157b..785b7fef3 100644 --- a/docs/examples/0e0d8f652d7d29371b5ea7c7544385eb.asciidoc +++ b/docs/examples/0e0d8f652d7d29371b5ea7c7544385eb.asciidoc @@ -1,5 +1,5 @@ // This file is autogenerated, DO NOT EDIT -// tab-widgets/inference-api/infer-api-search.asciidoc:473 +// tab-widgets/inference-api/infer-api-search.asciidoc:538 [source, python] ---- diff --git a/docs/examples/0e3abd15dde97a2334621190c4ad4f96.asciidoc b/docs/examples/0e3abd15dde97a2334621190c4ad4f96.asciidoc index 11980d875..1067fa1a5 100644 --- a/docs/examples/0e3abd15dde97a2334621190c4ad4f96.asciidoc +++ b/docs/examples/0e3abd15dde97a2334621190c4ad4f96.asciidoc @@ -1,5 +1,5 @@ // This file is autogenerated, DO NOT EDIT -// tab-widgets/inference-api/infer-api-ingest-pipeline.asciidoc:171 +// tab-widgets/inference-api/infer-api-ingest-pipeline.asciidoc:197 [source, python] ---- diff --git a/docs/examples/113ac8466084ee6ac4ed272e342dc468.asciidoc b/docs/examples/113ac8466084ee6ac4ed272e342dc468.asciidoc index 2a96d4dfe..dde6989d5 100644 --- a/docs/examples/113ac8466084ee6ac4ed272e342dc468.asciidoc +++ b/docs/examples/113ac8466084ee6ac4ed272e342dc468.asciidoc @@ -1,5 +1,5 @@ // This file is autogenerated, DO NOT EDIT -// tab-widgets/inference-api/infer-api-reindex.asciidoc:161 +// tab-widgets/inference-api/infer-api-reindex.asciidoc:183 [source, python] ---- diff --git a/docs/examples/13fe12cdb73bc89f07a83f1e6b127511.asciidoc b/docs/examples/13fe12cdb73bc89f07a83f1e6b127511.asciidoc new file mode 100644 index 000000000..05218b351 --- /dev/null +++ b/docs/examples/13fe12cdb73bc89f07a83f1e6b127511.asciidoc @@ -0,0 +1,23 @@ +// This file is autogenerated, DO NOT EDIT +// tab-widgets/inference-api/infer-api-mapping.asciidoc:208 + +[source, python] +---- +resp = client.indices.create( + index="google-vertex-ai-embeddings", + mappings={ + "properties": { + "content_embedding": { + "type": "dense_vector", + "dims": 768, + "element_type": "float", + "similarity": "dot_product" + }, + "content": { + "type": "text" + } + } + }, +) +print(resp) +---- diff --git a/docs/examples/14afe65afee3d43f27aaaa5b37f26a31.asciidoc b/docs/examples/14afe65afee3d43f27aaaa5b37f26a31.asciidoc index aa8d3a08b..b9b03db2a 100644 --- a/docs/examples/14afe65afee3d43f27aaaa5b37f26a31.asciidoc +++ b/docs/examples/14afe65afee3d43f27aaaa5b37f26a31.asciidoc @@ -1,5 +1,5 @@ // This file is autogenerated, DO NOT EDIT -// mapping/types/geo-shape.asciidoc:165 +// mapping/types/geo-shape.asciidoc:164 [source, python] ---- diff --git a/docs/examples/1736545c8b5674f6d311f3277eb387f1.asciidoc b/docs/examples/1736545c8b5674f6d311f3277eb387f1.asciidoc index 0c657c305..38d197cb5 100644 --- a/docs/examples/1736545c8b5674f6d311f3277eb387f1.asciidoc +++ b/docs/examples/1736545c8b5674f6d311f3277eb387f1.asciidoc @@ -1,5 +1,5 @@ // This file is autogenerated, DO NOT EDIT -// data-streams/lifecycle/tutorial-manage-data-stream-retention.asciidoc:128 +// data-streams/lifecycle/tutorial-manage-data-stream-retention.asciidoc:131 [source, python] ---- diff --git a/docs/examples/19c00c6b29bc7dbc5e92b3668da2da93.asciidoc b/docs/examples/19c00c6b29bc7dbc5e92b3668da2da93.asciidoc index 43da2db77..b41aa69e7 100644 --- a/docs/examples/19c00c6b29bc7dbc5e92b3668da2da93.asciidoc +++ b/docs/examples/19c00c6b29bc7dbc5e92b3668da2da93.asciidoc @@ -1,5 +1,5 @@ // This file is autogenerated, DO NOT EDIT -// ingest/apis/simulate-ingest.asciidoc:201 +// ingest/apis/simulate-ingest.asciidoc:205 [source, python] ---- diff --git a/docs/examples/1cadbcf2cfeb312f73b7f098291356ac.asciidoc b/docs/examples/1cadbcf2cfeb312f73b7f098291356ac.asciidoc index 1daa63c88..01210bb08 100644 --- a/docs/examples/1cadbcf2cfeb312f73b7f098291356ac.asciidoc +++ b/docs/examples/1cadbcf2cfeb312f73b7f098291356ac.asciidoc @@ -1,5 +1,5 @@ // This file is autogenerated, DO NOT EDIT -// mapping/types/geo-shape.asciidoc:346 +// mapping/types/geo-shape.asciidoc:345 [source, python] ---- diff --git a/docs/examples/200f6d4cc7b9c300b8962a119e03873f.asciidoc b/docs/examples/200f6d4cc7b9c300b8962a119e03873f.asciidoc index 469859101..9548b036a 100644 --- a/docs/examples/200f6d4cc7b9c300b8962a119e03873f.asciidoc +++ b/docs/examples/200f6d4cc7b9c300b8962a119e03873f.asciidoc @@ -1,5 +1,5 @@ // This file is autogenerated, DO NOT EDIT -// indices/get-data-stream.asciidoc:276 +// indices/get-data-stream.asciidoc:280 [source, python] ---- diff --git a/docs/examples/20179a8889e949d6a8ee5fbf2ba35c96.asciidoc b/docs/examples/20179a8889e949d6a8ee5fbf2ba35c96.asciidoc new file mode 100644 index 000000000..1504b4812 --- /dev/null +++ b/docs/examples/20179a8889e949d6a8ee5fbf2ba35c96.asciidoc @@ -0,0 +1,25 @@ +// This file is autogenerated, DO NOT EDIT +// tab-widgets/inference-api/infer-api-search.asciidoc:408 + +[source, python] +---- +resp = client.search( + index="google-vertex-ai-embeddings", + knn={ + "field": "content_embedding", + "query_vector_builder": { + "text_embedding": { + "model_id": "google_vertex_ai_embeddings", + "model_text": "Calculate fuel cost" + } + }, + "k": 10, + "num_candidates": 100 + }, + source=[ + "id", + "content" + ], +) +print(resp) +---- diff --git a/docs/examples/2081739da0c69de8af6f5bf9e94433e6.asciidoc b/docs/examples/2081739da0c69de8af6f5bf9e94433e6.asciidoc index ce0ada6f8..316ecfda1 100644 --- a/docs/examples/2081739da0c69de8af6f5bf9e94433e6.asciidoc +++ b/docs/examples/2081739da0c69de8af6f5bf9e94433e6.asciidoc @@ -1,5 +1,5 @@ // This file is autogenerated, DO NOT EDIT -// mapping/types/geo-shape.asciidoc:377 +// mapping/types/geo-shape.asciidoc:376 [source, python] ---- diff --git a/docs/examples/22cb99d4e6ba3101a2d9f59764a90877.asciidoc b/docs/examples/22cb99d4e6ba3101a2d9f59764a90877.asciidoc index 82acbb61e..cc9ca8f98 100644 --- a/docs/examples/22cb99d4e6ba3101a2d9f59764a90877.asciidoc +++ b/docs/examples/22cb99d4e6ba3101a2d9f59764a90877.asciidoc @@ -1,5 +1,5 @@ // This file is autogenerated, DO NOT EDIT -// mapping/types/geo-shape.asciidoc:178 +// mapping/types/geo-shape.asciidoc:177 [source, python] ---- diff --git a/docs/examples/2342a56279106ea643026df657bf7f88.asciidoc b/docs/examples/2342a56279106ea643026df657bf7f88.asciidoc index ac00ed482..5422d12d1 100644 --- a/docs/examples/2342a56279106ea643026df657bf7f88.asciidoc +++ b/docs/examples/2342a56279106ea643026df657bf7f88.asciidoc @@ -1,5 +1,5 @@ // This file is autogenerated, DO NOT EDIT -// index-modules/similarity.asciidoc:22 +// index-modules/similarity.asciidoc:24 [source, python] ---- diff --git a/docs/examples/da3cecc36a7313385d32c7f52ccfb7e3.asciidoc b/docs/examples/24a037008e0fc2550ecb6a5d36c04a93.asciidoc similarity index 91% rename from docs/examples/da3cecc36a7313385d32c7f52ccfb7e3.asciidoc rename to docs/examples/24a037008e0fc2550ecb6a5d36c04a93.asciidoc index 18e289782..26962a44e 100644 --- a/docs/examples/da3cecc36a7313385d32c7f52ccfb7e3.asciidoc +++ b/docs/examples/24a037008e0fc2550ecb6a5d36c04a93.asciidoc @@ -9,7 +9,7 @@ resp = client.search( runtime_mappings={ "date.day_of_week": { "type": "keyword", - "script": "emit(doc['date'].value.dayOfWeekEnum.getDisplayName(TextStyle.FULL, Locale.ROOT))" + "script": "emit(doc['date'].value.dayOfWeekEnum.getDisplayName(TextStyle.FULL, Locale.ENGLISH))" } }, aggs={ diff --git a/docs/examples/2a9d3119a9e26e29220be436b9382955.asciidoc b/docs/examples/2a9d3119a9e26e29220be436b9382955.asciidoc index 3efd3123e..fee777245 100644 --- a/docs/examples/2a9d3119a9e26e29220be436b9382955.asciidoc +++ b/docs/examples/2a9d3119a9e26e29220be436b9382955.asciidoc @@ -1,5 +1,5 @@ // This file is autogenerated, DO NOT EDIT -// tab-widgets/inference-api/infer-api-mapping.asciidoc:208 +// tab-widgets/inference-api/infer-api-mapping.asciidoc:241 [source, python] ---- diff --git a/docs/examples/318e209cc4d6f306e65cb2f5598a50b1.asciidoc b/docs/examples/318e209cc4d6f306e65cb2f5598a50b1.asciidoc index 4a30abed2..6049426e5 100644 --- a/docs/examples/318e209cc4d6f306e65cb2f5598a50b1.asciidoc +++ b/docs/examples/318e209cc4d6f306e65cb2f5598a50b1.asciidoc @@ -1,5 +1,5 @@ // This file is autogenerated, DO NOT EDIT -// mapping/types/geo-shape.asciidoc:195 +// mapping/types/geo-shape.asciidoc:194 [source, python] ---- diff --git a/docs/examples/349823d86980d40ac45248c19a59e339.asciidoc b/docs/examples/349823d86980d40ac45248c19a59e339.asciidoc index 1c77fbf96..d770f3f54 100644 --- a/docs/examples/349823d86980d40ac45248c19a59e339.asciidoc +++ b/docs/examples/349823d86980d40ac45248c19a59e339.asciidoc @@ -1,5 +1,5 @@ // This file is autogenerated, DO NOT EDIT -// tab-widgets/inference-api/infer-api-ingest-pipeline.asciidoc:197 +// tab-widgets/inference-api/infer-api-ingest-pipeline.asciidoc:223 [source, python] ---- diff --git a/docs/examples/3b1ff884f3bab390ae357e622c0544a9.asciidoc b/docs/examples/3b1ff884f3bab390ae357e622c0544a9.asciidoc index 7dfe089db..401012b2d 100644 --- a/docs/examples/3b1ff884f3bab390ae357e622c0544a9.asciidoc +++ b/docs/examples/3b1ff884f3bab390ae357e622c0544a9.asciidoc @@ -1,5 +1,5 @@ // This file is autogenerated, DO NOT EDIT -// search/rrf.asciidoc:182 +// search/rrf.asciidoc:180 [source, python] ---- diff --git a/docs/examples/3c0d0c38e1c819a35a68cdba5ae8ccc4.asciidoc b/docs/examples/3c0d0c38e1c819a35a68cdba5ae8ccc4.asciidoc new file mode 100644 index 000000000..d020f99d7 --- /dev/null +++ b/docs/examples/3c0d0c38e1c819a35a68cdba5ae8ccc4.asciidoc @@ -0,0 +1,20 @@ +// This file is autogenerated, DO NOT EDIT +// tab-widgets/inference-api/infer-api-task.asciidoc:254 + +[source, python] +---- +resp = client.inference.put( + task_type="text_embedding", + inference_id="alibabacloud_ai_search_embeddings", + inference_config={ + "service": "alibabacloud-ai-search", + "service_settings": { + "api_key": "", + "service_id": "", + "host": "", + "workspace": "" + } + }, +) +print(resp) +---- diff --git a/docs/examples/3faec4ca15d8c2fbbd16781b1c8693d6.asciidoc b/docs/examples/3faec4ca15d8c2fbbd16781b1c8693d6.asciidoc index 39d544366..3b59ce77d 100644 --- a/docs/examples/3faec4ca15d8c2fbbd16781b1c8693d6.asciidoc +++ b/docs/examples/3faec4ca15d8c2fbbd16781b1c8693d6.asciidoc @@ -1,5 +1,5 @@ // This file is autogenerated, DO NOT EDIT -// tab-widgets/inference-api/infer-api-search.asciidoc:408 +// tab-widgets/inference-api/infer-api-search.asciidoc:473 [source, python] ---- diff --git a/docs/examples/435e0d6a7d86e074d572d9671b7b9676.asciidoc b/docs/examples/435e0d6a7d86e074d572d9671b7b9676.asciidoc index d6cbafe37..a3cf24454 100644 --- a/docs/examples/435e0d6a7d86e074d572d9671b7b9676.asciidoc +++ b/docs/examples/435e0d6a7d86e074d572d9671b7b9676.asciidoc @@ -1,5 +1,5 @@ // This file is autogenerated, DO NOT EDIT -// mapping/types/geo-shape.asciidoc:227 +// mapping/types/geo-shape.asciidoc:226 [source, python] ---- diff --git a/docs/examples/48de51de87a8ad9fd8b8db1ca25b85c1.asciidoc b/docs/examples/48de51de87a8ad9fd8b8db1ca25b85c1.asciidoc index 55a428d31..3d44f2e6f 100644 --- a/docs/examples/48de51de87a8ad9fd8b8db1ca25b85c1.asciidoc +++ b/docs/examples/48de51de87a8ad9fd8b8db1ca25b85c1.asciidoc @@ -1,5 +1,5 @@ // This file is autogenerated, DO NOT EDIT -// index-modules/similarity.asciidoc:540 +// index-modules/similarity.asciidoc:542 [source, python] ---- diff --git a/docs/examples/cc28a3dafcd5056f2a3ec07f6fda5091.asciidoc b/docs/examples/4a72c68b96f44e80463084dfc0449d51.asciidoc similarity index 90% rename from docs/examples/cc28a3dafcd5056f2a3ec07f6fda5091.asciidoc rename to docs/examples/4a72c68b96f44e80463084dfc0449d51.asciidoc index 46ea8456b..514c68340 100644 --- a/docs/examples/cc28a3dafcd5056f2a3ec07f6fda5091.asciidoc +++ b/docs/examples/4a72c68b96f44e80463084dfc0449d51.asciidoc @@ -9,7 +9,7 @@ resp = client.search( "day_of_week": { "type": "keyword", "script": { - "source": "emit(doc['@timestamp'].value.dayOfWeekEnum.getDisplayName(TextStyle.FULL, Locale.ROOT))" + "source": "emit(doc['@timestamp'].value.dayOfWeekEnum.getDisplayName(TextStyle.FULL, Locale.ENGLISH))" } } }, diff --git a/docs/examples/4c9350ed09b28f00e297ebe73c3b95a2.asciidoc b/docs/examples/4c9350ed09b28f00e297ebe73c3b95a2.asciidoc index 587eacec5..f8f432fcb 100644 --- a/docs/examples/4c9350ed09b28f00e297ebe73c3b95a2.asciidoc +++ b/docs/examples/4c9350ed09b28f00e297ebe73c3b95a2.asciidoc @@ -1,5 +1,5 @@ // This file is autogenerated, DO NOT EDIT -// inference/service-elasticsearch.asciidoc:143 +// inference/service-elasticsearch.asciidoc:144 [source, python] ---- diff --git a/docs/examples/528e5f1c345c3769248cc6889e8cf552.asciidoc b/docs/examples/528e5f1c345c3769248cc6889e8cf552.asciidoc index 6c7ff8f6f..4bd8ac61c 100644 --- a/docs/examples/528e5f1c345c3769248cc6889e8cf552.asciidoc +++ b/docs/examples/528e5f1c345c3769248cc6889e8cf552.asciidoc @@ -1,5 +1,5 @@ // This file is autogenerated, DO NOT EDIT -// index-modules/similarity.asciidoc:45 +// index-modules/similarity.asciidoc:47 [source, python] ---- diff --git a/docs/examples/529b975b7cedaac58dce9821956adc37.asciidoc b/docs/examples/529b975b7cedaac58dce9821956adc37.asciidoc index a44149598..08281e286 100644 --- a/docs/examples/529b975b7cedaac58dce9821956adc37.asciidoc +++ b/docs/examples/529b975b7cedaac58dce9821956adc37.asciidoc @@ -1,5 +1,5 @@ // This file is autogenerated, DO NOT EDIT -// mapping/types/geo-shape.asciidoc:391 +// mapping/types/geo-shape.asciidoc:390 [source, python] ---- diff --git a/docs/examples/52f4c5eb08d39f98e2e2f5527ece9731.asciidoc b/docs/examples/52f4c5eb08d39f98e2e2f5527ece9731.asciidoc new file mode 100644 index 000000000..4e861160e --- /dev/null +++ b/docs/examples/52f4c5eb08d39f98e2e2f5527ece9731.asciidoc @@ -0,0 +1,20 @@ +// This file is autogenerated, DO NOT EDIT +// inference/service-alibabacloud-ai-search.asciidoc:154 + +[source, python] +---- +resp = client.inference.put( + task_type="sparse_embedding", + inference_id="alibabacloud_ai_search_sparse", + inference_config={ + "service": "alibabacloud-ai-search", + "service_settings": { + "api_key": "", + "service_id": "ops-text-sparse-embedding-001", + "host": "default-j01.platform-cn-shanghai.opensearch.aliyuncs.com", + "workspace": "default" + } + }, +) +print(resp) +---- diff --git a/docs/examples/54c12d5099d7b715c15f5bbf65b386a1.asciidoc b/docs/examples/54c12d5099d7b715c15f5bbf65b386a1.asciidoc new file mode 100644 index 000000000..693246bdd --- /dev/null +++ b/docs/examples/54c12d5099d7b715c15f5bbf65b386a1.asciidoc @@ -0,0 +1,22 @@ +// This file is autogenerated, DO NOT EDIT +// tab-widgets/inference-api/infer-api-mapping.asciidoc:310 + +[source, python] +---- +resp = client.indices.create( + index="alibabacloud-ai-search-embeddings", + mappings={ + "properties": { + "content_embedding": { + "type": "dense_vector", + "dims": 1024, + "element_type": "float" + }, + "content": { + "type": "text" + } + } + }, +) +print(resp) +---- diff --git a/docs/examples/553d79817bb1333970e99507c37a159a.asciidoc b/docs/examples/553d79817bb1333970e99507c37a159a.asciidoc index 86245a2f5..22d4b7639 100644 --- a/docs/examples/553d79817bb1333970e99507c37a159a.asciidoc +++ b/docs/examples/553d79817bb1333970e99507c37a159a.asciidoc @@ -1,5 +1,5 @@ // This file is autogenerated, DO NOT EDIT -// index-modules/similarity.asciidoc:520 +// index-modules/similarity.asciidoc:522 [source, python] ---- diff --git a/docs/examples/5f8fb5513d4f725434db2f517ad4298f.asciidoc b/docs/examples/5f8fb5513d4f725434db2f517ad4298f.asciidoc index 08e6c6870..280fb961e 100644 --- a/docs/examples/5f8fb5513d4f725434db2f517ad4298f.asciidoc +++ b/docs/examples/5f8fb5513d4f725434db2f517ad4298f.asciidoc @@ -1,5 +1,5 @@ // This file is autogenerated, DO NOT EDIT -// index-modules/similarity.asciidoc:357 +// index-modules/similarity.asciidoc:359 [source, python] ---- diff --git a/docs/examples/60d689aae3f8de1e6830329dfd69a6a6.asciidoc b/docs/examples/60d689aae3f8de1e6830329dfd69a6a6.asciidoc index 444a6765b..17aa35fd1 100644 --- a/docs/examples/60d689aae3f8de1e6830329dfd69a6a6.asciidoc +++ b/docs/examples/60d689aae3f8de1e6830329dfd69a6a6.asciidoc @@ -1,5 +1,5 @@ // This file is autogenerated, DO NOT EDIT -// tab-widgets/inference-api/infer-api-reindex.asciidoc:184 +// tab-widgets/inference-api/infer-api-reindex.asciidoc:206 [source, python] ---- diff --git a/docs/examples/6fbbf40cab0187f544ff7bca31d18d57.asciidoc b/docs/examples/6fbbf40cab0187f544ff7bca31d18d57.asciidoc index c4728add8..bad040a0c 100644 --- a/docs/examples/6fbbf40cab0187f544ff7bca31d18d57.asciidoc +++ b/docs/examples/6fbbf40cab0187f544ff7bca31d18d57.asciidoc @@ -1,5 +1,5 @@ // This file is autogenerated, DO NOT EDIT -// mapping/types/geo-shape.asciidoc:254 +// mapping/types/geo-shape.asciidoc:253 [source, python] ---- diff --git a/docs/examples/6fd82baa17a48e09e3d2eed514af7f46.asciidoc b/docs/examples/6fd82baa17a48e09e3d2eed514af7f46.asciidoc index a61d51e8e..5545a70e7 100644 --- a/docs/examples/6fd82baa17a48e09e3d2eed514af7f46.asciidoc +++ b/docs/examples/6fd82baa17a48e09e3d2eed514af7f46.asciidoc @@ -1,5 +1,5 @@ // This file is autogenerated, DO NOT EDIT -// mapping/types/geo-shape.asciidoc:360 +// mapping/types/geo-shape.asciidoc:359 [source, python] ---- diff --git a/docs/examples/71c629c44bf3c542a0daacbfc253c4b0.asciidoc b/docs/examples/71c629c44bf3c542a0daacbfc253c4b0.asciidoc index 8bfa286ed..4644d9566 100644 --- a/docs/examples/71c629c44bf3c542a0daacbfc253c4b0.asciidoc +++ b/docs/examples/71c629c44bf3c542a0daacbfc253c4b0.asciidoc @@ -1,5 +1,5 @@ // This file is autogenerated, DO NOT EDIT -// cluster/stats.asciidoc:1614 +// cluster/stats.asciidoc:1812 [source, python] ---- diff --git a/docs/examples/7594a9a85c8511701e281974cbc253e1.asciidoc b/docs/examples/7594a9a85c8511701e281974cbc253e1.asciidoc index 5341b6947..1425a25e1 100644 --- a/docs/examples/7594a9a85c8511701e281974cbc253e1.asciidoc +++ b/docs/examples/7594a9a85c8511701e281974cbc253e1.asciidoc @@ -1,5 +1,5 @@ // This file is autogenerated, DO NOT EDIT -// tab-widgets/inference-api/infer-api-task.asciidoc:204 +// tab-widgets/inference-api/infer-api-task.asciidoc:228 [source, python] ---- diff --git a/docs/examples/79e8bbbd6c440a21b0b4260c8cb1a61c.asciidoc b/docs/examples/79e8bbbd6c440a21b0b4260c8cb1a61c.asciidoc index 57a900b92..f616fb43a 100644 --- a/docs/examples/79e8bbbd6c440a21b0b4260c8cb1a61c.asciidoc +++ b/docs/examples/79e8bbbd6c440a21b0b4260c8cb1a61c.asciidoc @@ -1,5 +1,5 @@ // This file is autogenerated, DO NOT EDIT -// mapping/types/geo-shape.asciidoc:208 +// mapping/types/geo-shape.asciidoc:207 [source, python] ---- diff --git a/docs/examples/7c63a1d2fbec5283e913ff39fafd0604.asciidoc b/docs/examples/7c63a1d2fbec5283e913ff39fafd0604.asciidoc new file mode 100644 index 000000000..8bcc50f7f --- /dev/null +++ b/docs/examples/7c63a1d2fbec5283e913ff39fafd0604.asciidoc @@ -0,0 +1,21 @@ +// This file is autogenerated, DO NOT EDIT +// tab-widgets/inference-api/infer-api-ingest-pipeline.asciidoc:171 + +[source, python] +---- +resp = client.ingest.put_pipeline( + id="google_vertex_ai_embeddings", + processors=[ + { + "inference": { + "model_id": "google_vertex_ai_embeddings", + "input_output": { + "input_field": "content", + "output_field": "content_embedding" + } + } + } + ], +) +print(resp) +---- diff --git a/docs/examples/7e74d1a54e816e8f40cfdaa01b070788.asciidoc b/docs/examples/7e74d1a54e816e8f40cfdaa01b070788.asciidoc index 1e29d8d13..fccbcf662 100644 --- a/docs/examples/7e74d1a54e816e8f40cfdaa01b070788.asciidoc +++ b/docs/examples/7e74d1a54e816e8f40cfdaa01b070788.asciidoc @@ -1,5 +1,5 @@ // This file is autogenerated, DO NOT EDIT -// search/rrf.asciidoc:246 +// search/rrf.asciidoc:244 [source, python] ---- diff --git a/docs/examples/82844ef45e11c0eece100d3109db3182.asciidoc b/docs/examples/82844ef45e11c0eece100d3109db3182.asciidoc index 9c30a4e8e..67b526d67 100644 --- a/docs/examples/82844ef45e11c0eece100d3109db3182.asciidoc +++ b/docs/examples/82844ef45e11c0eece100d3109db3182.asciidoc @@ -1,5 +1,5 @@ // This file is autogenerated, DO NOT EDIT -// inference/service-amazon-bedrock.asciidoc:162 +// inference/service-amazon-bedrock.asciidoc:154 [source, python] ---- diff --git a/docs/examples/82eff1d681a5d0d1538ef011bb32ab9a.asciidoc b/docs/examples/82eff1d681a5d0d1538ef011bb32ab9a.asciidoc new file mode 100644 index 000000000..87c70a6f3 --- /dev/null +++ b/docs/examples/82eff1d681a5d0d1538ef011bb32ab9a.asciidoc @@ -0,0 +1,18 @@ +// This file is autogenerated, DO NOT EDIT +// tab-widgets/inference-api/infer-api-reindex.asciidoc:229 + +[source, python] +---- +resp = client.reindex( + wait_for_completion=False, + source={ + "index": "test-data", + "size": 50 + }, + dest={ + "index": "alibabacloud-ai-search-embeddings", + "pipeline": "alibabacloud_ai_search_embeddings" + }, +) +print(resp) +---- diff --git a/docs/examples/840f8c863c30b04abcf2dd66b846f157.asciidoc b/docs/examples/840f8c863c30b04abcf2dd66b846f157.asciidoc index e8bba377d..2ab4931b0 100644 --- a/docs/examples/840f8c863c30b04abcf2dd66b846f157.asciidoc +++ b/docs/examples/840f8c863c30b04abcf2dd66b846f157.asciidoc @@ -1,5 +1,5 @@ // This file is autogenerated, DO NOT EDIT -// inference/service-elasticsearch.asciidoc:171 +// inference/service-elasticsearch.asciidoc:172 [source, python] ---- diff --git a/docs/examples/84237aa9da49ab4b4c4e2b21d2548df2.asciidoc b/docs/examples/84237aa9da49ab4b4c4e2b21d2548df2.asciidoc new file mode 100644 index 000000000..17a2d2fcc --- /dev/null +++ b/docs/examples/84237aa9da49ab4b4c4e2b21d2548df2.asciidoc @@ -0,0 +1,11 @@ +// This file is autogenerated, DO NOT EDIT +// snapshot-restore/apis/verify-repo-integrity-api.asciidoc:25 + +[source, python] +---- +resp = client.snapshot.create( + repository="my_repository", + snapshot="_verify_integrity", +) +print(resp) +---- diff --git a/docs/examples/8566f5ecf4ae14802ba63c8cc7c629f8.asciidoc b/docs/examples/8566f5ecf4ae14802ba63c8cc7c629f8.asciidoc index eb4f786fd..dfffb62b0 100644 --- a/docs/examples/8566f5ecf4ae14802ba63c8cc7c629f8.asciidoc +++ b/docs/examples/8566f5ecf4ae14802ba63c8cc7c629f8.asciidoc @@ -1,5 +1,5 @@ // This file is autogenerated, DO NOT EDIT -// tab-widgets/inference-api/infer-api-task.asciidoc:184 +// tab-widgets/inference-api/infer-api-task.asciidoc:208 [source, python] ---- diff --git a/docs/examples/861f5f61409dc87f3671293b87839ff7.asciidoc b/docs/examples/861f5f61409dc87f3671293b87839ff7.asciidoc index b111b600b..b5cbc6f3d 100644 --- a/docs/examples/861f5f61409dc87f3671293b87839ff7.asciidoc +++ b/docs/examples/861f5f61409dc87f3671293b87839ff7.asciidoc @@ -1,5 +1,5 @@ // This file is autogenerated, DO NOT EDIT -// cluster/stats.asciidoc:1289 +// cluster/stats.asciidoc:1450 [source, python] ---- diff --git a/docs/examples/8a1b6eae4893c5dd27b3d81fd8d70f5b.asciidoc b/docs/examples/8a1b6eae4893c5dd27b3d81fd8d70f5b.asciidoc index 342efcdb8..f670391bd 100644 --- a/docs/examples/8a1b6eae4893c5dd27b3d81fd8d70f5b.asciidoc +++ b/docs/examples/8a1b6eae4893c5dd27b3d81fd8d70f5b.asciidoc @@ -1,5 +1,5 @@ // This file is autogenerated, DO NOT EDIT -// search/search-your-data/semantic-search-inference.asciidoc:84 +// search/search-your-data/semantic-search-inference.asciidoc:89 [source, python] ---- diff --git a/docs/examples/8f2875d976332cf5da8fb7764097a307.asciidoc b/docs/examples/8f2875d976332cf5da8fb7764097a307.asciidoc index a88a9eed1..09a599c53 100644 --- a/docs/examples/8f2875d976332cf5da8fb7764097a307.asciidoc +++ b/docs/examples/8f2875d976332cf5da8fb7764097a307.asciidoc @@ -1,5 +1,5 @@ // This file is autogenerated, DO NOT EDIT -// data-streams/lifecycle/tutorial-manage-data-stream-retention.asciidoc:109 +// data-streams/lifecycle/tutorial-manage-data-stream-retention.asciidoc:112 [source, python] ---- diff --git a/docs/examples/909a032a9c1f7095b798444705b09ad6.asciidoc b/docs/examples/909a032a9c1f7095b798444705b09ad6.asciidoc index 50a3b9ef0..1360db5de 100644 --- a/docs/examples/909a032a9c1f7095b798444705b09ad6.asciidoc +++ b/docs/examples/909a032a9c1f7095b798444705b09ad6.asciidoc @@ -1,5 +1,5 @@ // This file is autogenerated, DO NOT EDIT -// mapping/types/geo-shape.asciidoc:444 +// mapping/types/geo-shape.asciidoc:443 [source, python] ---- diff --git a/docs/examples/9326e323f7ffde678fa04d2d1de3d3bc.asciidoc b/docs/examples/9326e323f7ffde678fa04d2d1de3d3bc.asciidoc new file mode 100644 index 000000000..a4339951c --- /dev/null +++ b/docs/examples/9326e323f7ffde678fa04d2d1de3d3bc.asciidoc @@ -0,0 +1,25 @@ +// This file is autogenerated, DO NOT EDIT +// tab-widgets/inference-api/infer-api-search.asciidoc:603 + +[source, python] +---- +resp = client.search( + index="alibabacloud-ai-search-embeddings", + knn={ + "field": "content_embedding", + "query_vector_builder": { + "text_embedding": { + "model_id": "alibabacloud_ai_search_embeddings", + "model_text": "Calculate fuel cost" + } + }, + "k": 10, + "num_candidates": 100 + }, + source=[ + "id", + "content" + ], +) +print(resp) +---- diff --git a/docs/examples/93d7ba4130722cae04f9690e52a8f54f.asciidoc b/docs/examples/93d7ba4130722cae04f9690e52a8f54f.asciidoc index 036f1cff1..11ce831ed 100644 --- a/docs/examples/93d7ba4130722cae04f9690e52a8f54f.asciidoc +++ b/docs/examples/93d7ba4130722cae04f9690e52a8f54f.asciidoc @@ -1,5 +1,5 @@ // This file is autogenerated, DO NOT EDIT -// mapping/types/geo-shape.asciidoc:460 +// mapping/types/geo-shape.asciidoc:459 [source, python] ---- diff --git a/docs/examples/9868ce609f4450702934fcbf4c340bf1.asciidoc b/docs/examples/9868ce609f4450702934fcbf4c340bf1.asciidoc new file mode 100644 index 000000000..af6cc83ab --- /dev/null +++ b/docs/examples/9868ce609f4450702934fcbf4c340bf1.asciidoc @@ -0,0 +1,21 @@ +// This file is autogenerated, DO NOT EDIT +// tab-widgets/inference-api/infer-api-ingest-pipeline.asciidoc:249 + +[source, python] +---- +resp = client.ingest.put_pipeline( + id="alibabacloud_ai_search_embeddings", + processors=[ + { + "inference": { + "model_id": "alibabacloud_ai_search_embeddings", + "input_output": { + "input_field": "content", + "output_field": "content_embedding" + } + } + } + ], +) +print(resp) +---- diff --git a/docs/examples/986f892bfa4dfdf1da8455fdf84a4b0c.asciidoc b/docs/examples/986f892bfa4dfdf1da8455fdf84a4b0c.asciidoc new file mode 100644 index 000000000..627cbc6bb --- /dev/null +++ b/docs/examples/986f892bfa4dfdf1da8455fdf84a4b0c.asciidoc @@ -0,0 +1,20 @@ +// This file is autogenerated, DO NOT EDIT +// inference/service-alibabacloud-ai-search.asciidoc:136 + +[source, python] +---- +resp = client.inference.put( + task_type="text_embedding", + inference_id="alibabacloud_ai_search_embeddings", + inference_config={ + "service": "alibabacloud-ai-search", + "service_settings": { + "api_key": "", + "service_id": "ops-text-embedding-001", + "host": "default-j01.platform-cn-shanghai.opensearch.aliyuncs.com", + "workspace": "default" + } + }, +) +print(resp) +---- diff --git a/docs/examples/990c0d794ed6f05d1620b5d49f7aff6e.asciidoc b/docs/examples/990c0d794ed6f05d1620b5d49f7aff6e.asciidoc index 45de24373..f0ffaa9a2 100644 --- a/docs/examples/990c0d794ed6f05d1620b5d49f7aff6e.asciidoc +++ b/docs/examples/990c0d794ed6f05d1620b5d49f7aff6e.asciidoc @@ -1,5 +1,5 @@ // This file is autogenerated, DO NOT EDIT -// data-streams/lifecycle/tutorial-manage-data-stream-retention.asciidoc:180 +// data-streams/lifecycle/tutorial-manage-data-stream-retention.asciidoc:183 [source, python] ---- diff --git a/docs/examples/9d396afad93782699d7a929578c85284.asciidoc b/docs/examples/9d396afad93782699d7a929578c85284.asciidoc new file mode 100644 index 000000000..5c4822152 --- /dev/null +++ b/docs/examples/9d396afad93782699d7a929578c85284.asciidoc @@ -0,0 +1,20 @@ +// This file is autogenerated, DO NOT EDIT +// tab-widgets/inference-api/infer-api-task.asciidoc:184 + +[source, python] +---- +resp = client.inference.put( + task_type="text_embedding", + inference_id="google_vertex_ai_embeddings", + inference_config={ + "service": "googlevertexai", + "service_settings": { + "service_account_json": "", + "model_id": "text-embedding-004", + "location": "", + "project_id": "" + } + }, +) +print(resp) +---- diff --git a/docs/examples/9fda516a5dc60ba477b970eaad4429db.asciidoc b/docs/examples/9fda516a5dc60ba477b970eaad4429db.asciidoc index 8183ae09c..c7e75d94a 100644 --- a/docs/examples/9fda516a5dc60ba477b970eaad4429db.asciidoc +++ b/docs/examples/9fda516a5dc60ba477b970eaad4429db.asciidoc @@ -1,5 +1,5 @@ // This file is autogenerated, DO NOT EDIT -// data-streams/lifecycle/apis/get-lifecycle.asciidoc:117 +// data-streams/lifecycle/apis/get-lifecycle.asciidoc:142 [source, python] ---- diff --git a/docs/examples/a69c7c3412af73758f629e76263063b5.asciidoc b/docs/examples/a69c7c3412af73758f629e76263063b5.asciidoc new file mode 100644 index 000000000..8ffb9afbe --- /dev/null +++ b/docs/examples/a69c7c3412af73758f629e76263063b5.asciidoc @@ -0,0 +1,18 @@ +// This file is autogenerated, DO NOT EDIT +// tab-widgets/inference-api/infer-api-reindex.asciidoc:161 + +[source, python] +---- +resp = client.reindex( + wait_for_completion=False, + source={ + "index": "test-data", + "size": 50 + }, + dest={ + "index": "google-vertex-ai-embeddings", + "pipeline": "google_vertex_ai_embeddings" + }, +) +print(resp) +---- diff --git a/docs/examples/a89052bcdfe40e604a98d12be6ae59d2.asciidoc b/docs/examples/a89052bcdfe40e604a98d12be6ae59d2.asciidoc index 109dce5f7..f148e6661 100644 --- a/docs/examples/a89052bcdfe40e604a98d12be6ae59d2.asciidoc +++ b/docs/examples/a89052bcdfe40e604a98d12be6ae59d2.asciidoc @@ -1,5 +1,5 @@ // This file is autogenerated, DO NOT EDIT -// mapping/types/geo-shape.asciidoc:475 +// mapping/types/geo-shape.asciidoc:474 [source, python] ---- diff --git a/docs/examples/aa676d54a59dee87ecd28bcc1edce59b.asciidoc b/docs/examples/aa676d54a59dee87ecd28bcc1edce59b.asciidoc new file mode 100644 index 000000000..f921fe239 --- /dev/null +++ b/docs/examples/aa676d54a59dee87ecd28bcc1edce59b.asciidoc @@ -0,0 +1,20 @@ +// This file is autogenerated, DO NOT EDIT +// inference/service-alibabacloud-ai-search.asciidoc:172 + +[source, python] +---- +resp = client.inference.put( + task_type="rerank", + inference_id="alibabacloud_ai_search_rerank", + inference_config={ + "service": "alibabacloud-ai-search", + "service_settings": { + "api_key": "", + "service_id": "ops-bge-reranker-larger", + "host": "default-j01.platform-cn-shanghai.opensearch.aliyuncs.com", + "workspace": "default" + } + }, +) +print(resp) +---- diff --git a/docs/examples/b02e4907c9936c1adc16ccce9d49900d.asciidoc b/docs/examples/b02e4907c9936c1adc16ccce9d49900d.asciidoc index ef96465f9..bb7fc6ce1 100644 --- a/docs/examples/b02e4907c9936c1adc16ccce9d49900d.asciidoc +++ b/docs/examples/b02e4907c9936c1adc16ccce9d49900d.asciidoc @@ -1,5 +1,5 @@ // This file is autogenerated, DO NOT EDIT -// cluster/health.asciidoc:156 +// cluster/health.asciidoc:159 [source, python] ---- diff --git a/docs/examples/88ec7fa6768a7e13cd2158667a69e97f.asciidoc b/docs/examples/b09f155602f9b2a6c40fe7c4a5436b7a.asciidoc similarity index 89% rename from docs/examples/88ec7fa6768a7e13cd2158667a69e97f.asciidoc rename to docs/examples/b09f155602f9b2a6c40fe7c4a5436b7a.asciidoc index ee6038143..1e378ab10 100644 --- a/docs/examples/88ec7fa6768a7e13cd2158667a69e97f.asciidoc +++ b/docs/examples/b09f155602f9b2a6c40fe7c4a5436b7a.asciidoc @@ -7,7 +7,7 @@ resp = client.search( runtime_mappings={ "day_of_week": { "type": "keyword", - "script": "\n emit(doc['timestamp'].value.dayOfWeekEnum\n .getDisplayName(TextStyle.FULL, Locale.ROOT))\n " + "script": "\n emit(doc['timestamp'].value.dayOfWeekEnum\n .getDisplayName(TextStyle.FULL, Locale.ENGLISH))\n " } }, size=0, diff --git a/docs/examples/b0fe9a7c8e519995258786be4bef36c4.asciidoc b/docs/examples/b0fe9a7c8e519995258786be4bef36c4.asciidoc index 1318dded6..90b70da87 100644 --- a/docs/examples/b0fe9a7c8e519995258786be4bef36c4.asciidoc +++ b/docs/examples/b0fe9a7c8e519995258786be4bef36c4.asciidoc @@ -1,5 +1,5 @@ // This file is autogenerated, DO NOT EDIT -// search/search-your-data/semantic-search-inference.asciidoc:92 +// search/search-your-data/semantic-search-inference.asciidoc:97 [source, python] ---- diff --git a/docs/examples/b3fffd96fdb118cd059b5f1d67d928de.asciidoc b/docs/examples/b3fffd96fdb118cd059b5f1d67d928de.asciidoc index f675bdc39..9af530948 100644 --- a/docs/examples/b3fffd96fdb118cd059b5f1d67d928de.asciidoc +++ b/docs/examples/b3fffd96fdb118cd059b5f1d67d928de.asciidoc @@ -1,5 +1,5 @@ // This file is autogenerated, DO NOT EDIT -// mapping/types/geo-shape.asciidoc:331 +// mapping/types/geo-shape.asciidoc:330 [source, python] ---- diff --git a/docs/examples/bcdfaa4487747249699a86a0dcd22f5e.asciidoc b/docs/examples/bcdfaa4487747249699a86a0dcd22f5e.asciidoc index 31240e019..0672fc36d 100644 --- a/docs/examples/bcdfaa4487747249699a86a0dcd22f5e.asciidoc +++ b/docs/examples/bcdfaa4487747249699a86a0dcd22f5e.asciidoc @@ -1,5 +1,5 @@ // This file is autogenerated, DO NOT EDIT -// ingest/apis/simulate-ingest.asciidoc:274 +// ingest/apis/simulate-ingest.asciidoc:278 [source, python] ---- diff --git a/docs/examples/c03ce952de42eae4b522cedc9fd3d14a.asciidoc b/docs/examples/c03ce952de42eae4b522cedc9fd3d14a.asciidoc index 50418c081..1ea7cdeb1 100644 --- a/docs/examples/c03ce952de42eae4b522cedc9fd3d14a.asciidoc +++ b/docs/examples/c03ce952de42eae4b522cedc9fd3d14a.asciidoc @@ -1,5 +1,5 @@ // This file is autogenerated, DO NOT EDIT -// mapping/types/geo-shape.asciidoc:270 +// mapping/types/geo-shape.asciidoc:269 [source, python] ---- diff --git a/docs/examples/dfa16b7300d225e013f23625f44c087b.asciidoc b/docs/examples/dfa16b7300d225e013f23625f44c087b.asciidoc index 2d5d12d6d..70036af43 100644 --- a/docs/examples/dfa16b7300d225e013f23625f44c087b.asciidoc +++ b/docs/examples/dfa16b7300d225e013f23625f44c087b.asciidoc @@ -1,5 +1,5 @@ // This file is autogenerated, DO NOT EDIT -// index-modules/similarity.asciidoc:192 +// index-modules/similarity.asciidoc:194 [source, python] ---- diff --git a/docs/examples/e3f2f6ee3e312b8a90634827ae954d70.asciidoc b/docs/examples/e3f2f6ee3e312b8a90634827ae954d70.asciidoc index 1cfe1f1f4..80b7de341 100644 --- a/docs/examples/e3f2f6ee3e312b8a90634827ae954d70.asciidoc +++ b/docs/examples/e3f2f6ee3e312b8a90634827ae954d70.asciidoc @@ -1,5 +1,5 @@ // This file is autogenerated, DO NOT EDIT -// mapping/types/geo-shape.asciidoc:422 +// mapping/types/geo-shape.asciidoc:421 [source, python] ---- diff --git a/docs/examples/e63775a2ff22b945ab9d5f630b80c506.asciidoc b/docs/examples/e63775a2ff22b945ab9d5f630b80c506.asciidoc index 44d2a08a1..648bd4ab1 100644 --- a/docs/examples/e63775a2ff22b945ab9d5f630b80c506.asciidoc +++ b/docs/examples/e63775a2ff22b945ab9d5f630b80c506.asciidoc @@ -1,5 +1,5 @@ // This file is autogenerated, DO NOT EDIT -// cluster/health.asciidoc:192 +// cluster/health.asciidoc:196 [source, python] ---- diff --git a/docs/examples/e7cfe670b4177d1011076f845ec2916c.asciidoc b/docs/examples/e7cfe670b4177d1011076f845ec2916c.asciidoc index 373c1afda..295b2407d 100644 --- a/docs/examples/e7cfe670b4177d1011076f845ec2916c.asciidoc +++ b/docs/examples/e7cfe670b4177d1011076f845ec2916c.asciidoc @@ -1,5 +1,5 @@ // This file is autogenerated, DO NOT EDIT -// data-streams/lifecycle/tutorial-manage-data-stream-retention.asciidoc:141 +// data-streams/lifecycle/tutorial-manage-data-stream-retention.asciidoc:144 [source, python] ---- diff --git a/docs/examples/ed60daeaec351fc8b3f39a3dfad6fc4e.asciidoc b/docs/examples/ed60daeaec351fc8b3f39a3dfad6fc4e.asciidoc index 00daf5cbe..ac82d3ac5 100644 --- a/docs/examples/ed60daeaec351fc8b3f39a3dfad6fc4e.asciidoc +++ b/docs/examples/ed60daeaec351fc8b3f39a3dfad6fc4e.asciidoc @@ -1,5 +1,5 @@ // This file is autogenerated, DO NOT EDIT -// tab-widgets/inference-api/infer-api-mapping.asciidoc:242 +// tab-widgets/inference-api/infer-api-mapping.asciidoc:275 [source, python] ---- diff --git a/docs/examples/ee223e604bb695cad2517d28ae63ac34.asciidoc b/docs/examples/ee223e604bb695cad2517d28ae63ac34.asciidoc index 18240246e..5604e2e2c 100644 --- a/docs/examples/ee223e604bb695cad2517d28ae63ac34.asciidoc +++ b/docs/examples/ee223e604bb695cad2517d28ae63ac34.asciidoc @@ -1,5 +1,5 @@ // This file is autogenerated, DO NOT EDIT -// search/rrf.asciidoc:51 +// search/rrf.asciidoc:49 [source, python] ---- diff --git a/docs/examples/4f792d86ff79dcfe4643cd95505f8d5f.asciidoc b/docs/examples/ef46c42d473b2acc151a6a41272e0f14.asciidoc similarity index 90% rename from docs/examples/4f792d86ff79dcfe4643cd95505f8d5f.asciidoc rename to docs/examples/ef46c42d473b2acc151a6a41272e0f14.asciidoc index a9a72432f..b9df704c5 100644 --- a/docs/examples/4f792d86ff79dcfe4643cd95505f8d5f.asciidoc +++ b/docs/examples/ef46c42d473b2acc151a6a41272e0f14.asciidoc @@ -11,7 +11,7 @@ resp = client.indices.create( "day_of_week": { "type": "keyword", "script": { - "source": "emit(doc['@timestamp'].value.dayOfWeekEnum.getDisplayName(TextStyle.FULL, Locale.ROOT))" + "source": "emit(doc['@timestamp'].value.dayOfWeekEnum.getDisplayName(TextStyle.FULL, Locale.ENGLISH))" } } }, diff --git a/docs/examples/4fe78a4dfb747fd5dc34145ec6b76183.asciidoc b/docs/examples/efbd4936cca1a752493d8fa2ba6ad1a3.asciidoc similarity index 89% rename from docs/examples/4fe78a4dfb747fd5dc34145ec6b76183.asciidoc rename to docs/examples/efbd4936cca1a752493d8fa2ba6ad1a3.asciidoc index ba1e66696..5b1bf83dd 100644 --- a/docs/examples/4fe78a4dfb747fd5dc34145ec6b76183.asciidoc +++ b/docs/examples/efbd4936cca1a752493d8fa2ba6ad1a3.asciidoc @@ -10,7 +10,7 @@ resp = client.indices.create( "day_of_week": { "type": "keyword", "script": { - "source": "emit(doc['@timestamp'].value.dayOfWeekEnum.getDisplayName(TextStyle.FULL, Locale.ROOT))" + "source": "emit(doc['@timestamp'].value.dayOfWeekEnum.getDisplayName(TextStyle.FULL, Locale.ENGLISH))" } } }, diff --git a/docs/examples/f5eed3f2e3558a238487bc85305b7a71.asciidoc b/docs/examples/f5eed3f2e3558a238487bc85305b7a71.asciidoc index 206271e47..d804b66ae 100644 --- a/docs/examples/f5eed3f2e3558a238487bc85305b7a71.asciidoc +++ b/docs/examples/f5eed3f2e3558a238487bc85305b7a71.asciidoc @@ -1,5 +1,5 @@ // This file is autogenerated, DO NOT EDIT -// mapping/types/geo-shape.asciidoc:242 +// mapping/types/geo-shape.asciidoc:241 [source, python] ---- diff --git a/docs/examples/f9a315ea99bed0cf2f36be1d74eb3e4a.asciidoc b/docs/examples/f9a315ea99bed0cf2f36be1d74eb3e4a.asciidoc index 4d9ac9c06..fb9da543e 100644 --- a/docs/examples/f9a315ea99bed0cf2f36be1d74eb3e4a.asciidoc +++ b/docs/examples/f9a315ea99bed0cf2f36be1d74eb3e4a.asciidoc @@ -1,5 +1,5 @@ // This file is autogenerated, DO NOT EDIT -// mapping/types/geo-shape.asciidoc:408 +// mapping/types/geo-shape.asciidoc:407 [source, python] ---- diff --git a/docs/examples/fab4b811ba968aa4df92fb1ac059ea31.asciidoc b/docs/examples/fab4b811ba968aa4df92fb1ac059ea31.asciidoc index de543694a..17a6e60d7 100644 --- a/docs/examples/fab4b811ba968aa4df92fb1ac059ea31.asciidoc +++ b/docs/examples/fab4b811ba968aa4df92fb1ac059ea31.asciidoc @@ -1,5 +1,5 @@ // This file is autogenerated, DO NOT EDIT -// mapping/types/geo-shape.asciidoc:107 +// mapping/types/geo-shape.asciidoc:106 [source, python] ---- diff --git a/docs/guide/release-notes.asciidoc b/docs/guide/release-notes.asciidoc index 920aa8bd7..674346865 100644 --- a/docs/guide/release-notes.asciidoc +++ b/docs/guide/release-notes.asciidoc @@ -1,6 +1,7 @@ [[release-notes]] == Release notes +* <> * <> * <> * <> @@ -40,6 +41,18 @@ * <> * <> +[discrete] +[[rn-8-15-1]] +=== 8.15.1 (2024-09-08) + +- Fix OTel context loss in parallel bulk helper (https://github.com/elastic/elasticsearch-py/pull/2616[#2616]) +- Use request converter to generate python examples (https://github.com/elastic/elasticsearch-py/pull/2645[#2645]) +- Add Geoip database configuration APIs: Create or update, Get and Delete +- Add `q` parameter to Update by Query API +- Add `allow_no_indices` and `ignore_unavailable` parameters to Resolve index API + + + [discrete] [[rn-8-15-0]] === 8.15.0 (2024-08-09) diff --git a/elasticsearch/_version.py b/elasticsearch/_version.py index 903b0f694..cf59dc4a8 100644 --- a/elasticsearch/_version.py +++ b/elasticsearch/_version.py @@ -15,4 +15,4 @@ # specific language governing permissions and limitations # under the License. -__versionstr__ = "8.15.0" +__versionstr__ = "8.15.1" diff --git a/pyproject.toml b/pyproject.toml index ba83d6329..1a2563680 100644 --- a/pyproject.toml +++ b/pyproject.toml @@ -76,7 +76,7 @@ dev = [ ] docs = [ "sphinx", - "sphinx-rtd-theme", + "sphinx-rtd-theme>=2.0", "sphinx-autodoc-typehints" ] diff --git a/utils/generate-docs-examples/package-lock.json b/utils/generate-docs-examples/package-lock.json index f482f91c6..3148aba96 100644 --- a/utils/generate-docs-examples/package-lock.json +++ b/utils/generate-docs-examples/package-lock.json @@ -9,7 +9,7 @@ "version": "1.0.0", "license": "Apache-2.0", "dependencies": { - "@elastic/request-converter": "^8.15.2", + "@elastic/request-converter": "~8.15.2", "minimist": "^1.2.6", "node-fetch": "^2.6.7", "ora": "^5.4.1", @@ -20,6 +20,7 @@ "version": "8.15.4", "resolved": "https://registry.npmjs.org/@elastic/request-converter/-/request-converter-8.15.4.tgz", "integrity": "sha512-iZDQpZpygV+AVOweaDzTsMJBfa2hwwduPXNNzk/yTXgC9qtjmns/AjehtLStKXs274+u3fg+BFxVt6NcMwUAAg==", + "license": "Apache-2.0", "dependencies": { "child-process-promise": "^2.2.1", "commander": "^12.1.0", @@ -35,6 +36,7 @@ "version": "5.0.1", "resolved": "https://registry.npmjs.org/ansi-regex/-/ansi-regex-5.0.1.tgz", "integrity": "sha512-quJQXlTSUGL2LH9SUXo8VwsY4soanhgo6LNSm84E1LBcE8s3O0wpdiRzyR9z/ZZJMlMWv37qOOb9pdJlMUEKFQ==", + "license": "MIT", "engines": { "node": ">=8" } @@ -43,6 +45,7 @@ "version": "4.3.0", "resolved": "https://registry.npmjs.org/ansi-styles/-/ansi-styles-4.3.0.tgz", "integrity": "sha512-zbB9rCJAT1rbjiVDb2hqKFHNYLxgtk8NURxZ3IZwD3F6NtxbXZQCnnSi1Lkx+IDohdPlFp222wVALIheZJQSEg==", + "license": "MIT", "dependencies": { "color-convert": "^2.0.1" }, @@ -56,7 +59,8 @@ "node_modules/balanced-match": { "version": "1.0.2", "resolved": "https://registry.npmjs.org/balanced-match/-/balanced-match-1.0.2.tgz", - "integrity": "sha512-3oSeUO0TMV67hN1AmbXsK4yaqU7tjiHlbxRDZOpH0KW9+CeX4bRAaX0Anxt0tx2MrpRpWwQaPwIlISEJhYU5Pw==" + "integrity": "sha512-3oSeUO0TMV67hN1AmbXsK4yaqU7tjiHlbxRDZOpH0KW9+CeX4bRAaX0Anxt0tx2MrpRpWwQaPwIlISEJhYU5Pw==", + "license": "MIT" }, "node_modules/base64-js": { "version": "1.5.1", @@ -75,12 +79,14 @@ "type": "consulting", "url": "https://feross.org/support" } - ] + ], + "license": "MIT" }, "node_modules/bl": { "version": "4.1.0", "resolved": "https://registry.npmjs.org/bl/-/bl-4.1.0.tgz", "integrity": "sha512-1W07cM9gS6DcLperZfFSj+bWLtaPGSOHWhPiGzXmvVJbRLdG82sH/Kn8EtW1VqWVA54AKf2h5k5BbnIbwF3h6w==", + "license": "MIT", "dependencies": { "buffer": "^5.5.0", "inherits": "^2.0.4", @@ -91,6 +97,7 @@ "version": "1.1.11", "resolved": "https://registry.npmjs.org/brace-expansion/-/brace-expansion-1.1.11.tgz", "integrity": "sha512-iCuPHDFgrHX7H2vEI/5xpz07zSHB00TpugqhmYtVmMO6518mCuRMoOYFldEBl0g187ufozdaHgWKcYFb61qGiA==", + "license": "MIT", "dependencies": { "balanced-match": "^1.0.0", "concat-map": "0.0.1" @@ -114,6 +121,7 @@ "url": "https://feross.org/support" } ], + "license": "MIT", "dependencies": { "base64-js": "^1.3.1", "ieee754": "^1.1.13" @@ -123,6 +131,7 @@ "version": "4.1.2", "resolved": "https://registry.npmjs.org/chalk/-/chalk-4.1.2.tgz", "integrity": "sha512-oKnbhFyRIXpUuez8iBMmyEa4nbj4IOQyuhc/wy9kY7/WVPcwIO9VA668Pu8RkO7+0G76SLROeyw9CpQ061i4mA==", + "license": "MIT", "dependencies": { "ansi-styles": "^4.1.0", "supports-color": "^7.1.0" @@ -138,6 +147,7 @@ "version": "2.2.1", "resolved": "https://registry.npmjs.org/child-process-promise/-/child-process-promise-2.2.1.tgz", "integrity": "sha512-Fi4aNdqBsr0mv+jgWxcZ/7rAIC2mgihrptyVI4foh/rrjY/3BNjfP9+oaiFx/fzim+1ZyCNBae0DlyfQhSugog==", + "license": "MIT", "dependencies": { "cross-spawn": "^4.0.2", "node-version": "^1.0.0", @@ -148,6 +158,7 @@ "version": "3.1.0", "resolved": "https://registry.npmjs.org/cli-cursor/-/cli-cursor-3.1.0.tgz", "integrity": "sha512-I/zHAwsKf9FqGoXM4WWRACob9+SNukZTd94DWF57E4toouRulbCxcUh6RKUEOQlYTHJnzkPMySvPNaaSLNfLZw==", + "license": "MIT", "dependencies": { "restore-cursor": "^3.1.0" }, @@ -159,6 +170,7 @@ "version": "2.9.2", "resolved": "https://registry.npmjs.org/cli-spinners/-/cli-spinners-2.9.2.tgz", "integrity": "sha512-ywqV+5MmyL4E7ybXgKys4DugZbX0FC6LnwrhjuykIjnK9k8OQacQ7axGKnjDXWNhns0xot3bZI5h55H8yo9cJg==", + "license": "MIT", "engines": { "node": ">=6" }, @@ -170,6 +182,7 @@ "version": "1.0.4", "resolved": "https://registry.npmjs.org/clone/-/clone-1.0.4.tgz", "integrity": "sha512-JQHZ2QMW6l3aH/j6xCqQThY/9OH4D/9ls34cgkUBiEeocRTU04tHfKPBsUK1PqZCUQM7GiA0IIXJSuXHI64Kbg==", + "license": "MIT", "engines": { "node": ">=0.8" } @@ -178,6 +191,7 @@ "version": "2.0.1", "resolved": "https://registry.npmjs.org/color-convert/-/color-convert-2.0.1.tgz", "integrity": "sha512-RRECPsj7iu/xb5oKYcsFHSppFNnsj/52OVTRKb4zP5onXwVF3zVmmToNcOfGC+CRDpfK/U584fMg38ZHCaElKQ==", + "license": "MIT", "dependencies": { "color-name": "~1.1.4" }, @@ -188,12 +202,14 @@ "node_modules/color-name": { "version": "1.1.4", "resolved": "https://registry.npmjs.org/color-name/-/color-name-1.1.4.tgz", - "integrity": "sha512-dOy+3AuW3a2wNbZHIuMZpTcgjGuLU/uBL/ubcZF9OXbDo8ff4O8yVp5Bf0efS8uEoYo5q4Fx7dY9OgQGXgAsQA==" + "integrity": "sha512-dOy+3AuW3a2wNbZHIuMZpTcgjGuLU/uBL/ubcZF9OXbDo8ff4O8yVp5Bf0efS8uEoYo5q4Fx7dY9OgQGXgAsQA==", + "license": "MIT" }, "node_modules/commander": { "version": "12.1.0", "resolved": "https://registry.npmjs.org/commander/-/commander-12.1.0.tgz", "integrity": "sha512-Vw8qHK3bZM9y/P10u3Vib8o/DdkvA2OtPtZvD871QKjy74Wj1WSKFILMPRPSdUSx5RFK1arlJzEtA4PkFgnbuA==", + "license": "MIT", "engines": { "node": ">=18" } @@ -201,12 +217,14 @@ "node_modules/concat-map": { "version": "0.0.1", "resolved": "https://registry.npmjs.org/concat-map/-/concat-map-0.0.1.tgz", - "integrity": "sha512-/Srv4dswyQNBfohGpz9o6Yb3Gz3SrUDqBH5rTuhGR7ahtlbYKnVxw2bCFMRljaA7EXHaXZ8wsHdodFvbkhKmqg==" + "integrity": "sha512-/Srv4dswyQNBfohGpz9o6Yb3Gz3SrUDqBH5rTuhGR7ahtlbYKnVxw2bCFMRljaA7EXHaXZ8wsHdodFvbkhKmqg==", + "license": "MIT" }, "node_modules/cross-spawn": { "version": "4.0.2", "resolved": "https://registry.npmjs.org/cross-spawn/-/cross-spawn-4.0.2.tgz", "integrity": "sha512-yAXz/pA1tD8Gtg2S98Ekf/sewp3Lcp3YoFKJ4Hkp5h5yLWnKVTDU0kwjKJ8NDCYcfTLfyGkzTikst+jWypT1iA==", + "license": "MIT", "dependencies": { "lru-cache": "^4.0.1", "which": "^1.2.9" @@ -216,6 +234,7 @@ "version": "1.0.4", "resolved": "https://registry.npmjs.org/defaults/-/defaults-1.0.4.tgz", "integrity": "sha512-eFuaLoy/Rxalv2kr+lqMlUnrDWV+3j4pljOIJgLIhI058IQfWJ7vXhyEIHu+HtC738klGALYxOKDO0bQP3tg8A==", + "license": "MIT", "dependencies": { "clone": "^1.0.2" }, @@ -226,18 +245,21 @@ "node_modules/find-my-way-ts": { "version": "0.1.5", "resolved": "https://registry.npmjs.org/find-my-way-ts/-/find-my-way-ts-0.1.5.tgz", - "integrity": "sha512-4GOTMrpGQVzsCH2ruUn2vmwzV/02zF4q+ybhCIrw/Rkt3L8KWcycdC6aJMctJzwN4fXD4SD5F/4B9Sksh5rE0A==" + "integrity": "sha512-4GOTMrpGQVzsCH2ruUn2vmwzV/02zF4q+ybhCIrw/Rkt3L8KWcycdC6aJMctJzwN4fXD4SD5F/4B9Sksh5rE0A==", + "license": "MIT" }, "node_modules/fs.realpath": { "version": "1.0.0", "resolved": "https://registry.npmjs.org/fs.realpath/-/fs.realpath-1.0.0.tgz", - "integrity": "sha512-OO0pH2lK6a0hZnAdau5ItzHPI6pUlvI7jMVnxUQRtw4owF2wk8lOSabtGDCTP4Ggrg2MbGnWO9X8K1t4+fGMDw==" + "integrity": "sha512-OO0pH2lK6a0hZnAdau5ItzHPI6pUlvI7jMVnxUQRtw4owF2wk8lOSabtGDCTP4Ggrg2MbGnWO9X8K1t4+fGMDw==", + "license": "ISC" }, "node_modules/glob": { "version": "7.2.3", "resolved": "https://registry.npmjs.org/glob/-/glob-7.2.3.tgz", "integrity": "sha512-nFR0zLpU2YCaRxwoCJvL6UvCH2JFyFVIvwTLsIf21AuHlMskA1hhTdk+LlYJtOlYt9v6dvszD2BGRqBL+iQK9Q==", "deprecated": "Glob versions prior to v9 are no longer supported", + "license": "ISC", "dependencies": { "fs.realpath": "^1.0.0", "inflight": "^1.0.4", @@ -257,6 +279,7 @@ "version": "4.7.8", "resolved": "https://registry.npmjs.org/handlebars/-/handlebars-4.7.8.tgz", "integrity": "sha512-vafaFqs8MZkRrSX7sFVUdo3ap/eNiLnb4IakshzvP56X5Nr1iGKAIqdX6tMlm6HcNRIkr6AxO5jFEoJzzpT8aQ==", + "license": "MIT", "dependencies": { "minimist": "^1.2.5", "neo-async": "^2.6.2", @@ -277,6 +300,7 @@ "version": "4.0.0", "resolved": "https://registry.npmjs.org/has-flag/-/has-flag-4.0.0.tgz", "integrity": "sha512-EykJT/Q1KjTWctppgIAgfSO0tKVuZUjhgMr17kqTumMl6Afv3EISleU7qZUzoXDFTAHTDC4NOoG/ZxU3EvlMPQ==", + "license": "MIT", "engines": { "node": ">=8" } @@ -298,13 +322,15 @@ "type": "consulting", "url": "https://feross.org/support" } - ] + ], + "license": "BSD-3-Clause" }, "node_modules/inflight": { "version": "1.0.6", "resolved": "https://registry.npmjs.org/inflight/-/inflight-1.0.6.tgz", "integrity": "sha512-k92I/b08q4wvFscXCLvqfsHCrjrF7yiXsQuIVvVE7N82W3+aqpzuUdBbfhWcy/FZR3/4IgflMgKLOsvPDrGCJA==", "deprecated": "This module is not supported, and leaks memory. Do not use it. Check out lru-cache if you want a good and tested way to coalesce async requests by a key value, which is much more comprehensive and powerful.", + "license": "ISC", "dependencies": { "once": "^1.3.0", "wrappy": "1" @@ -313,12 +339,14 @@ "node_modules/inherits": { "version": "2.0.4", "resolved": "https://registry.npmjs.org/inherits/-/inherits-2.0.4.tgz", - "integrity": "sha512-k/vGaX4/Yla3WzyMCvTQOXYeIHvqOKtnqBduzTHpzpQZzAskKMhZ2K+EnBiSM9zGSoIFeMpXKxa4dYeZIQqewQ==" + "integrity": "sha512-k/vGaX4/Yla3WzyMCvTQOXYeIHvqOKtnqBduzTHpzpQZzAskKMhZ2K+EnBiSM9zGSoIFeMpXKxa4dYeZIQqewQ==", + "license": "ISC" }, "node_modules/is-interactive": { "version": "1.0.0", "resolved": "https://registry.npmjs.org/is-interactive/-/is-interactive-1.0.0.tgz", "integrity": "sha512-2HvIEKRoqS62guEC+qBjpvRubdX910WCMuJTZ+I9yvqKU2/12eSL549HMwtabb4oupdj2sMP50k+XJfB/8JE6w==", + "license": "MIT", "engines": { "node": ">=8" } @@ -327,6 +355,7 @@ "version": "0.1.0", "resolved": "https://registry.npmjs.org/is-unicode-supported/-/is-unicode-supported-0.1.0.tgz", "integrity": "sha512-knxG2q4UC3u8stRGyAVJCOdxFmv5DZiRcdlIaAQXAbSfJya+OhopNotLQrstBhququ4ZpuKbDc/8S6mgXgPFPw==", + "license": "MIT", "engines": { "node": ">=10" }, @@ -337,12 +366,14 @@ "node_modules/isexe": { "version": "2.0.0", "resolved": "https://registry.npmjs.org/isexe/-/isexe-2.0.0.tgz", - "integrity": "sha512-RHxMLp9lnKHGHRng9QFhRCMbYAcVpn69smSGcq3f36xjgVVWThj4qqLbTLlq7Ssj8B+fIQ1EuCEGI2lKsyQeIw==" + "integrity": "sha512-RHxMLp9lnKHGHRng9QFhRCMbYAcVpn69smSGcq3f36xjgVVWThj4qqLbTLlq7Ssj8B+fIQ1EuCEGI2lKsyQeIw==", + "license": "ISC" }, "node_modules/log-symbols": { "version": "4.1.0", "resolved": "https://registry.npmjs.org/log-symbols/-/log-symbols-4.1.0.tgz", "integrity": "sha512-8XPvpAA8uyhfteu8pIvQxpJZ7SYYdpUivZpGy6sFsBuKRY/7rQGavedeB8aK+Zkyq6upMFVL/9AW6vOYzfRyLg==", + "license": "MIT", "dependencies": { "chalk": "^4.1.0", "is-unicode-supported": "^0.1.0" @@ -358,6 +389,7 @@ "version": "4.1.5", "resolved": "https://registry.npmjs.org/lru-cache/-/lru-cache-4.1.5.tgz", "integrity": "sha512-sWZlbEP2OsHNkXrMl5GYk/jKk70MBng6UU4YI/qGDYbgf6YbP4EvmqISbXCoJiRKs+1bSpFHVgQxvJ17F2li5g==", + "license": "ISC", "dependencies": { "pseudomap": "^1.0.2", "yallist": "^2.1.2" @@ -367,6 +399,7 @@ "version": "2.1.0", "resolved": "https://registry.npmjs.org/mimic-fn/-/mimic-fn-2.1.0.tgz", "integrity": "sha512-OqbOk5oEQeAZ8WXWydlu9HJjz9WVdEIvamMCcXmuqUYjTknH/sqsWvhQ3vgwKFRR1HpjvNBKQ37nbJgYzGqGcg==", + "license": "MIT", "engines": { "node": ">=6" } @@ -375,6 +408,7 @@ "version": "3.1.2", "resolved": "https://registry.npmjs.org/minimatch/-/minimatch-3.1.2.tgz", "integrity": "sha512-J7p63hRiAjw1NDEww1W7i37+ByIrOWO5XQQAzZ3VOcL0PNybwpfmV/N05zFAzwQ9USyEcX6t3UO+K5aqBQOIHw==", + "license": "ISC", "dependencies": { "brace-expansion": "^1.1.7" }, @@ -386,6 +420,7 @@ "version": "1.2.8", "resolved": "https://registry.npmjs.org/minimist/-/minimist-1.2.8.tgz", "integrity": "sha512-2yyAR8qBkN3YuheJanUpWC5U3bb5osDywNB8RzDVlDwDHbocAJveqqj1u8+SVD7jkWT4yvsHCpWqqWqAxb0zCA==", + "license": "MIT", "funding": { "url": "https://github.com/sponsors/ljharb" } @@ -393,12 +428,14 @@ "node_modules/neo-async": { "version": "2.6.2", "resolved": "https://registry.npmjs.org/neo-async/-/neo-async-2.6.2.tgz", - "integrity": "sha512-Yd3UES5mWCSqR+qNT93S3UoYUkqAZ9lLg8a7g9rimsWmYGK8cVToA4/sF3RrshdyV3sAGMXVUmpMYOw+dLpOuw==" + "integrity": "sha512-Yd3UES5mWCSqR+qNT93S3UoYUkqAZ9lLg8a7g9rimsWmYGK8cVToA4/sF3RrshdyV3sAGMXVUmpMYOw+dLpOuw==", + "license": "MIT" }, "node_modules/node-fetch": { "version": "2.7.0", "resolved": "https://registry.npmjs.org/node-fetch/-/node-fetch-2.7.0.tgz", "integrity": "sha512-c4FRfUm/dbcWZ7U+1Wq0AwCyFL+3nt2bEw05wfxSz+DWpWsitgmSgYmy2dQdWyKC1694ELPqMs/YzUSNozLt8A==", + "license": "MIT", "dependencies": { "whatwg-url": "^5.0.0" }, @@ -418,6 +455,7 @@ "version": "1.2.0", "resolved": "https://registry.npmjs.org/node-version/-/node-version-1.2.0.tgz", "integrity": "sha512-ma6oU4Sk0qOoKEAymVoTvk8EdXEobdS7m/mAGhDJ8Rouugho48crHBORAmy5BoOcv8wraPM6xumapQp5hl4iIQ==", + "license": "MIT", "engines": { "node": ">=6.0.0" } @@ -426,6 +464,7 @@ "version": "1.4.0", "resolved": "https://registry.npmjs.org/once/-/once-1.4.0.tgz", "integrity": "sha512-lNaJgI+2Q5URQBkccEKHTQOPaXdUxnZZElQTZY0MFUAuaEqe1E+Nyvgdz/aIyNi6Z9MzO5dv1H8n58/GELp3+w==", + "license": "ISC", "dependencies": { "wrappy": "1" } @@ -434,6 +473,7 @@ "version": "5.1.2", "resolved": "https://registry.npmjs.org/onetime/-/onetime-5.1.2.tgz", "integrity": "sha512-kbpaSSGJTWdAY5KPVeMOKXSrPtr8C8C7wodJbcsd51jRnmD+GZu8Y0VoU6Dm5Z4vWr0Ig/1NKuWRKf7j5aaYSg==", + "license": "MIT", "dependencies": { "mimic-fn": "^2.1.0" }, @@ -448,6 +488,7 @@ "version": "5.4.1", "resolved": "https://registry.npmjs.org/ora/-/ora-5.4.1.tgz", "integrity": "sha512-5b6Y85tPxZZ7QytO+BQzysW31HJku27cRIlkbAXaNx+BdcVi+LlRFmVXzeF6a7JCwJpyw5c4b+YSVImQIrBpuQ==", + "license": "MIT", "dependencies": { "bl": "^4.1.0", "chalk": "^4.1.0", @@ -470,6 +511,7 @@ "version": "1.0.1", "resolved": "https://registry.npmjs.org/path-is-absolute/-/path-is-absolute-1.0.1.tgz", "integrity": "sha512-AVbw3UJ2e9bq64vSaS9Am0fje1Pa8pbGqTTsmXfaIiMpnr5DlDhfJOuLj9Sf95ZPVDAUerDfEk88MPmPe7UCQg==", + "license": "MIT", "engines": { "node": ">=0.10.0" } @@ -478,6 +520,7 @@ "version": "2.8.8", "resolved": "https://registry.npmjs.org/prettier/-/prettier-2.8.8.tgz", "integrity": "sha512-tdN8qQGvNjw4CHbY+XXk0JgCXn9QiF21a55rBe5LJAU+kDyC4WQn4+awm2Xfk2lQMk5fKup9XgzTZtGkjBdP9Q==", + "license": "MIT", "bin": { "prettier": "bin-prettier.js" }, @@ -491,17 +534,20 @@ "node_modules/promise-polyfill": { "version": "6.1.0", "resolved": "https://registry.npmjs.org/promise-polyfill/-/promise-polyfill-6.1.0.tgz", - "integrity": "sha512-g0LWaH0gFsxovsU7R5LrrhHhWAWiHRnh1GPrhXnPgYsDkIqjRYUYSZEsej/wtleDrz5xVSIDbeKfidztp2XHFQ==" + "integrity": "sha512-g0LWaH0gFsxovsU7R5LrrhHhWAWiHRnh1GPrhXnPgYsDkIqjRYUYSZEsej/wtleDrz5xVSIDbeKfidztp2XHFQ==", + "license": "MIT" }, "node_modules/pseudomap": { "version": "1.0.2", "resolved": "https://registry.npmjs.org/pseudomap/-/pseudomap-1.0.2.tgz", - "integrity": "sha512-b/YwNhb8lk1Zz2+bXXpS/LK9OisiZZ1SNsSLxN1x2OXVEhW2Ckr/7mWE5vrC1ZTiJlD9g19jWszTmJsB+oEpFQ==" + "integrity": "sha512-b/YwNhb8lk1Zz2+bXXpS/LK9OisiZZ1SNsSLxN1x2OXVEhW2Ckr/7mWE5vrC1ZTiJlD9g19jWszTmJsB+oEpFQ==", + "license": "ISC" }, "node_modules/readable-stream": { "version": "3.6.2", "resolved": "https://registry.npmjs.org/readable-stream/-/readable-stream-3.6.2.tgz", "integrity": "sha512-9u/sniCrY3D5WdsERHzHE4G2YCXqoG5FTHUiCC4SIbr6XcLZBY05ya9EKjYek9O5xOAwjGq+1JdGBAS7Q9ScoA==", + "license": "MIT", "dependencies": { "inherits": "^2.0.3", "string_decoder": "^1.1.1", @@ -515,6 +561,7 @@ "version": "3.1.0", "resolved": "https://registry.npmjs.org/restore-cursor/-/restore-cursor-3.1.0.tgz", "integrity": "sha512-l+sSefzHpj5qimhFSE5a8nufZYAM3sBSVMAPtYkmC+4EH2anSGaEMXSD0izRQbu9nfyQ9y5JrVmp7E8oZrUjvA==", + "license": "MIT", "dependencies": { "onetime": "^5.1.0", "signal-exit": "^3.0.2" @@ -528,6 +575,7 @@ "resolved": "https://registry.npmjs.org/rimraf/-/rimraf-3.0.2.tgz", "integrity": "sha512-JZkJMZkAGFFPP2YqXZXPbMlMBgsxzE8ILs4lMIX/2o0L9UBw9O/Y3o6wFw/i9YLapcUJWwqbi3kdxIPdC62TIA==", "deprecated": "Rimraf versions prior to v4 are no longer supported", + "license": "ISC", "dependencies": { "glob": "^7.1.3" }, @@ -555,17 +603,20 @@ "type": "consulting", "url": "https://feross.org/support" } - ] + ], + "license": "MIT" }, "node_modules/signal-exit": { "version": "3.0.7", "resolved": "https://registry.npmjs.org/signal-exit/-/signal-exit-3.0.7.tgz", - "integrity": "sha512-wnD2ZE+l+SPC/uoS0vXeE9L1+0wuaMqKlfz9AMUo38JsyLSBWSFcHR1Rri62LZc12vLr1gb3jl7iwQhgwpAbGQ==" + "integrity": "sha512-wnD2ZE+l+SPC/uoS0vXeE9L1+0wuaMqKlfz9AMUo38JsyLSBWSFcHR1Rri62LZc12vLr1gb3jl7iwQhgwpAbGQ==", + "license": "ISC" }, "node_modules/source-map": { "version": "0.6.1", "resolved": "https://registry.npmjs.org/source-map/-/source-map-0.6.1.tgz", "integrity": "sha512-UjgapumWlbMhkBgzT7Ykc5YXUT46F0iKu8SGXq0bcwP5dz/h0Plj6enJqjz1Zbq2l5WaqYnrVbwWOWMyF3F47g==", + "license": "BSD-3-Clause", "engines": { "node": ">=0.10.0" } @@ -574,6 +625,7 @@ "version": "1.3.0", "resolved": "https://registry.npmjs.org/string_decoder/-/string_decoder-1.3.0.tgz", "integrity": "sha512-hkRX8U1WjJFd8LsDJ2yQ/wWWxaopEsABU1XfkM8A+j0+85JAGppt16cr1Whg6KIbb4okU6Mql6BOj+uup/wKeA==", + "license": "MIT", "dependencies": { "safe-buffer": "~5.2.0" } @@ -582,6 +634,7 @@ "version": "6.0.1", "resolved": "https://registry.npmjs.org/strip-ansi/-/strip-ansi-6.0.1.tgz", "integrity": "sha512-Y38VPSHcqkFrCpFnQ9vuSXmquuv5oXOKpGeT6aGrr3o3Gc9AlVa6JBfUSOCnbxGGZF+/0ooI7KrPuUSztUdU5A==", + "license": "MIT", "dependencies": { "ansi-regex": "^5.0.1" }, @@ -593,6 +646,7 @@ "version": "7.2.0", "resolved": "https://registry.npmjs.org/supports-color/-/supports-color-7.2.0.tgz", "integrity": "sha512-qpCAvRl9stuOHveKsn7HncJRvv501qIacKzQlO/+Lwxc9+0q2wLyv4Dfvt80/DPn2pqOBsJdDiogXGR9+OvwRw==", + "license": "MIT", "dependencies": { "has-flag": "^4.0.0" }, @@ -603,12 +657,14 @@ "node_modules/tr46": { "version": "0.0.3", "resolved": "https://registry.npmjs.org/tr46/-/tr46-0.0.3.tgz", - "integrity": "sha512-N3WMsuqV66lT30CrXNbEjx4GEwlow3v6rr4mCcv6prnfwhS01rkgyFdjPNBYd9br7LpXV1+Emh01fHnq2Gdgrw==" + "integrity": "sha512-N3WMsuqV66lT30CrXNbEjx4GEwlow3v6rr4mCcv6prnfwhS01rkgyFdjPNBYd9br7LpXV1+Emh01fHnq2Gdgrw==", + "license": "MIT" }, "node_modules/uglify-js": { - "version": "3.19.2", - "resolved": "https://registry.npmjs.org/uglify-js/-/uglify-js-3.19.2.tgz", - "integrity": "sha512-S8KA6DDI47nQXJSi2ctQ629YzwOVs+bQML6DAtvy0wgNdpi+0ySpQK0g2pxBq2xfF2z3YCscu7NNA8nXT9PlIQ==", + "version": "3.19.3", + "resolved": "https://registry.npmjs.org/uglify-js/-/uglify-js-3.19.3.tgz", + "integrity": "sha512-v3Xu+yuwBXisp6QYTcH4UbH+xYJXqnq2m/LtQVWKWzYc1iehYnLixoQDN9FH6/j9/oybfd6W9Ghwkl8+UMKTKQ==", + "license": "BSD-2-Clause", "optional": true, "bin": { "uglifyjs": "bin/uglifyjs" @@ -620,12 +676,14 @@ "node_modules/util-deprecate": { "version": "1.0.2", "resolved": "https://registry.npmjs.org/util-deprecate/-/util-deprecate-1.0.2.tgz", - "integrity": "sha512-EPD5q1uXyFxJpCrLnCc1nHnq3gOa6DZBocAIiI2TaSCA7VCJ1UJDMagCzIkXNsUYfD1daK//LTEQ8xiIbrHtcw==" + "integrity": "sha512-EPD5q1uXyFxJpCrLnCc1nHnq3gOa6DZBocAIiI2TaSCA7VCJ1UJDMagCzIkXNsUYfD1daK//LTEQ8xiIbrHtcw==", + "license": "MIT" }, "node_modules/wcwidth": { "version": "1.0.1", "resolved": "https://registry.npmjs.org/wcwidth/-/wcwidth-1.0.1.tgz", "integrity": "sha512-XHPEwS0q6TaxcvG85+8EYkbiCux2XtWG2mkc47Ng2A77BQu9+DqIOJldST4HgPkuea7dvKSj5VgX3P1d4rW8Tg==", + "license": "MIT", "dependencies": { "defaults": "^1.0.3" } @@ -633,12 +691,14 @@ "node_modules/webidl-conversions": { "version": "3.0.1", "resolved": "https://registry.npmjs.org/webidl-conversions/-/webidl-conversions-3.0.1.tgz", - "integrity": "sha512-2JAn3z8AR6rjK8Sm8orRC0h/bcl/DqL7tRPdGZ4I1CjdF+EaMLmYxBHyXuKL849eucPFhvBoxMsflfOb8kxaeQ==" + "integrity": "sha512-2JAn3z8AR6rjK8Sm8orRC0h/bcl/DqL7tRPdGZ4I1CjdF+EaMLmYxBHyXuKL849eucPFhvBoxMsflfOb8kxaeQ==", + "license": "BSD-2-Clause" }, "node_modules/whatwg-url": { "version": "5.0.0", "resolved": "https://registry.npmjs.org/whatwg-url/-/whatwg-url-5.0.0.tgz", "integrity": "sha512-saE57nupxk6v3HY35+jzBwYa0rKSy0XR8JSxZPwgLr7ys0IBzhGviA1/TUGJLmSVqs8pb9AnvICXEuOHLprYTw==", + "license": "MIT", "dependencies": { "tr46": "~0.0.3", "webidl-conversions": "^3.0.0" @@ -648,6 +708,7 @@ "version": "1.3.1", "resolved": "https://registry.npmjs.org/which/-/which-1.3.1.tgz", "integrity": "sha512-HxJdYWq1MTIQbJ3nw0cqssHoTNU267KlrDuGZ1WYlxDStUtKUhOaJmh112/TZmHxxUfuJqPXSOm7tDyas0OSIQ==", + "license": "ISC", "dependencies": { "isexe": "^2.0.0" }, @@ -658,17 +719,20 @@ "node_modules/wordwrap": { "version": "1.0.0", "resolved": "https://registry.npmjs.org/wordwrap/-/wordwrap-1.0.0.tgz", - "integrity": "sha512-gvVzJFlPycKc5dZN4yPkP8w7Dc37BtP1yczEneOb4uq34pXZcvrtRTmWV8W+Ume+XCxKgbjM+nevkyFPMybd4Q==" + "integrity": "sha512-gvVzJFlPycKc5dZN4yPkP8w7Dc37BtP1yczEneOb4uq34pXZcvrtRTmWV8W+Ume+XCxKgbjM+nevkyFPMybd4Q==", + "license": "MIT" }, "node_modules/wrappy": { "version": "1.0.2", "resolved": "https://registry.npmjs.org/wrappy/-/wrappy-1.0.2.tgz", - "integrity": "sha512-l4Sp/DRseor9wL6EvV2+TuQn63dMkPjZ/sp9XkghTEbV9KlPS1xUsZ3u7/IQO4wxtcFB4bgpQPRcR3QCvezPcQ==" + "integrity": "sha512-l4Sp/DRseor9wL6EvV2+TuQn63dMkPjZ/sp9XkghTEbV9KlPS1xUsZ3u7/IQO4wxtcFB4bgpQPRcR3QCvezPcQ==", + "license": "ISC" }, "node_modules/yallist": { "version": "2.1.2", "resolved": "https://registry.npmjs.org/yallist/-/yallist-2.1.2.tgz", - "integrity": "sha512-ncTzHV7NvsQZkYe1DW7cbDLm0YpzHmZF5r/iyP3ZnQtMiJ+pjzisCiMNI+Sj+xQF5pXhSHxSB3uDbsBTzY/c2A==" + "integrity": "sha512-ncTzHV7NvsQZkYe1DW7cbDLm0YpzHmZF5r/iyP3ZnQtMiJ+pjzisCiMNI+Sj+xQF5pXhSHxSB3uDbsBTzY/c2A==", + "license": "ISC" } } }