mirror of
https://github.com/Unstructured-IO/unstructured.git
synced 2025-07-04 07:27:34 +00:00
12 lines
336 B
Python
12 lines
336 B
Python
![]() |
import json
|
||
|
import os
|
||
|
|
||
|
CLUSTER_URL = "http://localhost:9200"
|
||
|
INDEX_NAME = "ingest-test-destination"
|
||
|
USER = os.environ["ELASTIC_USER"]
|
||
|
PASSWORD = os.environ["ELASTIC_PASSWORD"]
|
||
|
MAPPING_PATH = "docs/source/ingest/destination_connectors/data/elasticsearch_elements_mappings.json"
|
||
|
|
||
|
with open(MAPPING_PATH) as f:
|
||
|
mappings = json.load(f)
|