Skip to content

Latest commit

 

History

History
17 lines (12 loc) · 523 Bytes

README.md

File metadata and controls

17 lines (12 loc) · 523 Bytes

OpenSearch Python Example

This example uses the opensearch-py library to connect to OpenSearch, add a document, and read it out again.

Installing Dependencies

pip install opensearch-py

Running The Example

Note: You can find the connection details in the "Overview" tab in the Aiven Console.

./main.py --url https://<user>:<password>@<host>:<port>

The document can be customized with the index name and doc type from the user input.