Files
opensearch-pyd/samples
Daniel (dB.) Doubrovkine 54a517ada9 Added bulk samples and explained error handling. (#448)
* Added bulk samples and explained error handling.

Signed-off-by: dblock <dblock@amazon.com>

* The client can serialize an array for you.

Signed-off-by: dblock <dblock@amazon.com>

---------

Signed-off-by: dblock <dblock@amazon.com>
2023-07-25 19:17:28 -07:00
..

OpenSearch Python Samples

Most samples can be run using OpenSearch installed locally with docker.

docker pull opensearchproject/opensearch:latest
docker run -d -p 9200:9200 -p 9600:9600 -e "discovery.type=single-node" opensearchproject/opensearch:latest

Prerequisites

Install poetry.

Run Samples

poetry install
poetry run hello/hello.py