Skip to content

Commit

Permalink
Add lowercase_trim normalizer to type.raw field
Browse files Browse the repository at this point in the history
  • Loading branch information
amywieliczka committed Jul 11, 2024
1 parent 8b90e26 commit efbf06e
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion record_indexer/index_templates/record_index_config.py
Original file line number Diff line number Diff line change
Expand Up @@ -68,7 +68,7 @@
"spatial": {"type": "text", "analyzer": "asciifolded_english", "fields": {"raw": {"type": "keyword"}}},
"subject": {"type": "text", "analyzer": "asciifolded_english", "fields": {"raw": {"type": "keyword"}}},
"temporal": {"type": "text", "analyzer": "asciifolded_english", "fields": {"raw": {"type": "keyword"}}},
"type": {"type": "text", "analyzer": "asciifolded_english", "fields": {"raw": {"type": "keyword"}}},
"type": {"type": "text", "analyzer": "asciifolded_english", "fields": {"raw": {"type": "keyword", "normalizer": "lowercase_trim"}}},

"sort_title": {"type": "keyword", "normalizer": "lowercase_trim"},
"facet_decade": {"type": "text", "analyzer": "asciifolded_english", "fields": {"raw": {"type": "keyword"}}},
Expand Down

0 comments on commit efbf06e

Please sign in to comment.