From dc21a5d4a1b7eb2c9d3d703c73cef8e2bf8e9072 Mon Sep 17 00:00:00 2001 From: Bryan Newbold Date: Tue, 3 Sep 2019 18:30:35 -0700 Subject: comment clarifying container.ident in ES release transform --- python/fatcat_tools/transforms/elasticsearch.py | 2 ++ 1 file changed, 2 insertions(+) (limited to 'python/fatcat_tools') diff --git a/python/fatcat_tools/transforms/elasticsearch.py b/python/fatcat_tools/transforms/elasticsearch.py index 56c3da8f..303d56a9 100644 --- a/python/fatcat_tools/transforms/elasticsearch.py +++ b/python/fatcat_tools/transforms/elasticsearch.py @@ -105,6 +105,8 @@ def release_to_elasticsearch(entity, force_bool=True): if container: t['publisher'] = container.publisher t['container_name'] = container.name + # this is container.ident, not release.container_id, because there may + # be a redirect involved t['container_id'] = container.ident t['container_issnl'] = container.issnl t['container_type'] = container.container_type -- cgit v1.2.3