Skip to content

Commit

Permalink
Adding comment for documents containing antibodies
Browse files Browse the repository at this point in the history
  • Loading branch information
tjmadonna committed Jul 31, 2024
1 parent 526688e commit f8792a6
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions src/sennet_translation/search-default-config.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -45,6 +45,9 @@ mappings:
path_match: "*.organ_donor_data.data_value"
mapping:
type: keyword

# These fields are problematic with documents containing antibodies.
# Antibodies have "_value" and "_number" fields that are not numeric.
- metadata_value_fields:
match_pattern: "regex"
match: "^(.*_value)$"
Expand Down

0 comments on commit f8792a6

Please sign in to comment.