From 95209e2a1a6f420edf3aded82fc4e34920390aa8 Mon Sep 17 00:00:00 2001 From: Jon Van Oast Date: Tue, 3 Oct 2023 13:36:49 -0600 Subject: [PATCH] normalize adoptionName --- app/modules/individuals/models.py | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/app/modules/individuals/models.py b/app/modules/individuals/models.py index 5f09911f2..5e1ffc4bf 100644 --- a/app/modules/individuals/models.py +++ b/app/modules/individuals/models.py @@ -199,6 +199,10 @@ def patch_elasticsearch_mappings(cls, mappings): 'type': 'keyword', 'normalizer': 'codex_keyword_normalizer', } + mappings['adoptionName'] = { + 'type': 'keyword', + 'normalizer': 'codex_keyword_normalizer', + } mappings['comments'] = {'type': 'text'} if 'customFields' in mappings: