Skip to content
GitLab
Projects
Groups
Snippets
Help
Loading...
Help
What's new
10
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
Open sidebar
memoriav
M
Memobase 2020
S
services
elastic-services
Search Doc Service
Commits
5e795c0d
Commit
5e795c0d
authored
Jan 19, 2021
by
Jonas Waeber
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
documenttype from elasticsearch.
parent
28d37e25
Pipeline
#20382
passed with stages
in 4 minutes and 52 seconds
Changes
2
Pipelines
1
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
2 additions
and
2 deletions
+2
-2
helm-charts/values.yaml
helm-charts/values.yaml
+1
-1
src/main/kotlin/InstitutionSearchDocBuilder.kt
src/main/kotlin/InstitutionSearchDocBuilder.kt
+1
-1
No files found.
helm-charts/values.yaml
View file @
5e795c0d
...
...
@@ -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
...
...
src/main/kotlin/InstitutionSearchDocBuilder.kt
View file @
5e795c0d
...
...
@@ -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
,
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment