David Potter bc791d53f4
feat: add opensearch source and destination connector (#2349)
Adds OpenSearch as a source and destination.

Since OpenSearch is a fork of Elasticsearch, these connectors rely
heavily on inheriting the Elasticsearch connectors whenever possible.

- Adds OpenSearch source connector to be able to ingest documents from
OpenSearch.
- Adds OpenSearch destination connector to be able to ingest documents
from any supported source, embed them and write the embeddings /
documents into OpenSearch.
- Defines an example unstructured elements schema for users to be able
to setup their unstructured OpenSearch indexes easily.

---------

Co-authored-by: potter-potter <david.potter@gmail.com>
2024-01-17 04:31:49 +00:00

14 lines
376 B
YAML

services:
opensearch:
image: opensearchproject/opensearch:2.11.1
container_name: opensearch-test
ports:
- 9200:9200
- 9600:9600
environment:
- discovery.type=single-node
healthcheck:
test: curl --fail https://localhost:9200/_cat/health -ku 'admin:admin' >/dev/null || exit 1
interval: 10s
timeout: 30s
retries: 3