Logo
Explore Help
Register Sign In
yujunjun/haystack
1
0
Fork 0
You've already forked haystack
mirror of https://github.com/deepset-ai/haystack.git synced 2025-07-27 02:40:41 +00:00
Code Issues Packages Projects Releases Wiki Activity
haystack/rest_api/elasticsearch_client.py

8 lines
293 B
Python
Raw Normal View History

Modularize API components (#55) This PR makes the REST API module more cohesive and maintainable by splitting into separate modules for controllers, routes, config, and the FastAPI app.
2020-04-15 14:04:30 +02:00
from elasticsearch import Elasticsearch
Move out REST API from PyPI package (#160)
2020-06-22 12:07:12 +02:00
from rest_api.config import DB_HOST, DB_USER, DB_PW, DB_PORT, ES_CONN_SCHEME
Modularize API components (#55) This PR makes the REST API module more cohesive and maintainable by splitting into separate modules for controllers, routes, config, and the FastAPI app.
2020-04-15 14:04:30 +02:00
elasticsearch_client = Elasticsearch(
Add custom port to ElasticsearchDocumentStore and remove outdated tag_fields arg (#129)
2020-06-02 17:59:40 +02:00
hosts=[{"host": DB_HOST, "port": DB_PORT}], http_auth=(DB_USER, DB_PW), scheme=ES_CONN_SCHEME, ca_certs=False, verify_certs=False
Modularize API components (#55) This PR makes the REST API module more cohesive and maintainable by splitting into separate modules for controllers, routes, config, and the FastAPI app.
2020-04-15 14:04:30 +02:00
)
Reference in New Issue Copy Permalink
Powered by Gitea Version: 1.23.5 Page: 8330ms Template: 82ms
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