Replace OpenSearch with Elasticsearch

This commit is contained in:
2022-11-21 07:20:29 +00:00
parent 7702e04286
commit 61f93390d9
8 changed files with 28 additions and 28 deletions

View File

@@ -7,9 +7,9 @@ def get_db():
return DruidBackend()
elif settings.DB_BACKEND == "ELASTICSEARCH":
from core.db.elastic import ElasticSearchBackend
from core.db.elastic import ElasticsearchBackend
return OpensearchBackend()
return ElasticsearchBackend()
elif settings.DB_BACKEND == "MANTICORE":
from core.db.manticore import ManticoreBackend