Skip to content

Commit

Permalink
ES index written must match reader side (#31)
Browse files Browse the repository at this point in the history
* ES index written must match reader side

Change this line https://github.com/lyft/amundsendatabuilder/blob/v1.0.11/example/scripts/sample_data_loader.py#L177 to match the current hardcoded value in the search service at 
https://github.com/lyft/amundsensearchlibrary/blob/v1.0.0_4/search_service/config.py#L23. This means it’s backwards compatible with existing search service Docker containers etc.

* Bump package version to 1.0.12
  • Loading branch information
jornh authored and Hans Adriaans committed Jun 30, 2022
1 parent 5d3cac1 commit 9581b33
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion databuilder/example/scripts/sample_data_loader.py
Original file line number Diff line number Diff line change
Expand Up @@ -174,7 +174,7 @@ def create_es_publisher_sample_job():
# related to mapping type from /databuilder/publisher/elasticsearch_publisher.py#L38
elasticsearch_new_index_key_type = 'table'
# alias for Elasticsearch used in amundsensearchlibrary/search_service/config.py as an index
elasticsearch_index_alias = 'tables_alias'
elasticsearch_index_alias = 'table_search_index'

job_config = ConfigFactory.from_dict({
'extractor.search_data.extractor.neo4j.{}'.format(Neo4jExtractor.GRAPH_URL_CONFIG_KEY): neo4j_endpoint,
Expand Down
2 changes: 1 addition & 1 deletion databuilder/setup.py
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
from setuptools import setup, find_packages


__version__ = '1.0.11'
__version__ = '1.0.12'


setup(
Expand Down

0 comments on commit 9581b33

Please sign in to comment.