Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
15 changes: 15 additions & 0 deletions config/es_indices_ins.yml
Original file line number Diff line number Diff line change
Expand Up @@ -816,6 +816,16 @@ Indices:
fields:
sort:
type: integer
dataset_storage_distribution:
type: keyword
fields:
sort:
type: keyword
normalizer: lowercase
search:
type: text
analyzer: ngram_analyzer
search_analyzer: keyword_analyzer
dataset_title:
type: keyword
fields:
Expand Down Expand Up @@ -1061,6 +1071,10 @@ Indices:
WHEN '' THEN NULL
ELSE d.dataset_minimum_age_at_baseline
END AS dataset_minimum_age_at_baseline,
CASE d.dataset_storage_distribution
WHEN '' THEN NULL
ELSE d.dataset_storage_distribution
END AS dataset_storage_distribution,
d.dataset_title AS dataset_title,
apoc.text.regreplace(apoc.text.clean(d.dataset_title), '[^\\p{Alpha}0-9]', '') AS dataset_title_sort, // clean() applies lowercase
d.dataset_uuid AS dataset_uuid,
Expand Down Expand Up @@ -1107,6 +1121,7 @@ Indices:
RETURN
dataset_maximum_age_at_baseline,
dataset_minimum_age_at_baseline,
dataset_storage_distribution,
dataset_title,
dataset_title_sort,
dataset_uuid,
Expand Down
2 changes: 1 addition & 1 deletion config/props-ins.yml
Original file line number Diff line number Diff line change
Expand Up @@ -23,7 +23,7 @@ Properties:
TBD: String

id_fields:
dataset: dataset_source_id
dataset: dataset_uuid
file: file_id
grant: grant_id
program: program_id
Expand Down
Loading