Commit 5e795c0d authored by Jonas Waeber's avatar Jonas Waeber

documenttype from elasticsearch.

parent 28d37e25
Pipeline #20382 passed with stages
in 4 minutes and 52 seconds
......@@ -7,7 +7,7 @@ deploymentName: search-doc-service
kafkaConfigs: prod-kafka-bootstrap-servers
elasticConfigs: prod-elastic-configs
elasticIndex: documents
elasticIndex: documents-v17
outputTopic: search-doc-output-documents
inputTopic: search-doc-input-documents
reportingTopic: postprocessing-reporting
......
......@@ -96,7 +96,7 @@ class InstitutionSearchDocBuilder(
type = type,
name = name,
description = description,
documentType = listOf(FacetContainer.placeholder("PLACEHOLDER")),
documentType = recordSetIds.flatMap { elasticSearchWrapper.getDocumentTypesFromRecords(it, "recordSet.facet") },
keyVisualLink = institution[KEYS.wikidataImage].let { if (it != null) it as String else "NoKeyVisualLinkDefined" },
canton = cantons,
city = municipalities,
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment