Logo
Explore Help
Register Sign In
yujunjun/unstructured
1
0
Fork 0
You've already forked unstructured
mirror of https://github.com/Unstructured-IO/unstructured.git synced 2025-07-04 15:42:16 +00:00
Code Issues Packages Projects Releases Wiki Activity
unstructured/scripts/opensearch-test-helpers/destination_connector/create-opensearch-instance.sh

14 lines
354 B
Bash
Raw Permalink Normal View History

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-16 20:31:49 -08:00
#!/usr/bin/env bash
set -e
SCRIPT_DIR=$(dirname "$(dirname "$(realpath "$0")")")
# Create the Opensearch cluster
docker compose version
docker compose -f "$SCRIPT_DIR"/common/docker-compose.yaml up --wait
docker compose -f "$SCRIPT_DIR"/common/docker-compose.yaml ps
echo "Cluster is live."
python "$SCRIPT_DIR"/destination_connector/create_index.py
Reference in New Issue Copy Permalink
Powered by Gitea Version: 1.23.5 Page: 78ms Template: 2ms
English
Bahasa Indonesia Deutsch English Español Français Gaeilge Italiano Latviešu Magyar nyelv Nederlands Polski Português de Portugal Português do Brasil Suomi Svenska Türkçe Čeština Ελληνικά Български Русский Українська فارسی മലയാളം 日本語 简体中文 繁體中文(台灣) 繁體中文(香港) 한국어
Licenses API