diff --git a/amundsen_common/models/index_map.py b/amundsen_common/models/index_map.py index 79c704b..efeb7c7 100644 --- a/amundsen_common/models/index_map.py +++ b/amundsen_common/models/index_map.py @@ -13,6 +13,16 @@ TABLE_INDEX_MAP = textwrap.dedent( """ { + "settings": { + "analysis": { + "normalizer": { + "column_names_normalizer": { + "type": "custom", + "filter": ["lowercase"] + } + } + } + }, "mappings":{ "table":{ "properties": { @@ -51,6 +61,7 @@ "fields": { "raw": { "type": "keyword" + "normalizer": "column_names_normalizer" } } }, diff --git a/setup.py b/setup.py index 2369b7d..ff8330d 100644 --- a/setup.py +++ b/setup.py @@ -5,7 +5,7 @@ setup( name='amundsen-common', - version='0.5.9', + version='0.5.10', description='Common code library for Amundsen', long_description=open('README.md').read(), long_description_content_type='text/markdown',