-
Notifications
You must be signed in to change notification settings - Fork 2
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
* refactor: rename config_handler * fix: add es6 mapping repo * refactor: factor out ES6mappingRepo * fix: fix es6 prefix * style: after black
- Loading branch information
1 parent
5b93207
commit 9470926
Showing
9 changed files
with
407 additions
and
1,488 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,17 +1,6 @@ | ||
# from elasticsearch import Elasticsearch # pyre-ignore | ||
from karp.search_infrastructure.elasticsearch6.es_mapping_repo import ( | ||
Es6MappingRepository, | ||
) | ||
|
||
# from karp.application import ctx | ||
# from karp.infrastructure.elasticsearch6.es6_search_service import Es6SearchService | ||
|
||
|
||
# def init_es(host): | ||
# print("Setting up ES with host={}".format(host)) | ||
# es = Elasticsearch( | ||
# hosts=host, | ||
# sniff_on_start=True, | ||
# sniff_on_connection_fail=True, | ||
# sniffer_timeout=60, | ||
# sniff_timeout=10, | ||
# ) | ||
# search_service = Es6SearchService(es) | ||
# ctx.search_service = search_service | ||
__all__ = ["Es6MappingRepository"] |
Oops, something went wrong.