From 6ae2548e03b2e4f54a49d4e42da437b8d1224329 Mon Sep 17 00:00:00 2001 From: Orion Delwaterman Date: Tue, 31 Aug 2021 13:57:59 -0400 Subject: [PATCH] Add missing config (#1466) Signed-off-by: Orion Delwaterman --- databuilder/example/scripts/sample_postgres_loader.py | 1 + 1 file changed, 1 insertion(+) diff --git a/databuilder/example/scripts/sample_postgres_loader.py b/databuilder/example/scripts/sample_postgres_loader.py index 2af99494f8..adaf8b504d 100644 --- a/databuilder/example/scripts/sample_postgres_loader.py +++ b/databuilder/example/scripts/sample_postgres_loader.py @@ -121,6 +121,7 @@ def create_es_publisher_sample_job(elasticsearch_index_alias='table_search_index elasticsearch_new_index_key = 'tables' + str(uuid.uuid4()) job_config = ConfigFactory.from_dict({ + 'extractor.search_data.entity_type': 'table', f'extractor.search_data.extractor.neo4j.{Neo4jExtractor.GRAPH_URL_CONFIG_KEY}': neo4j_endpoint, f'extractor.search_data.extractor.neo4j.{Neo4jExtractor.MODEL_CLASS_CONFIG_KEY}': model_name, f'extractor.search_data.extractor.neo4j.{Neo4jExtractor.NEO4J_AUTH_USER}': neo4j_user,