From caa588612b91181950697756eace8fda270fd092 Mon Sep 17 00:00:00 2001 From: Bryan Newbold Date: Thu, 30 Jan 2020 01:03:08 -0800 Subject: add upper-case work-around from kibana map join --- python/fatcat_tools/transforms/elasticsearch.py | 1 + 1 file changed, 1 insertion(+) (limited to 'python/fatcat_tools/transforms') diff --git a/python/fatcat_tools/transforms/elasticsearch.py b/python/fatcat_tools/transforms/elasticsearch.py index 9aa3cece..ded239d3 100644 --- a/python/fatcat_tools/transforms/elasticsearch.py +++ b/python/fatcat_tools/transforms/elasticsearch.py @@ -157,6 +157,7 @@ def release_to_elasticsearch(entity, force_bool=True): is_oa = True if c_extra.get('country'): t['country'] = c_extra['country'] + t['country_upper'] = c_extra['country'].upper() # fall back to release-level container metadata if container not linked or # missing context -- cgit v1.2.3