diff options
author | Bryan Newbold <bnewbold@robocracy.org> | 2019-09-03 18:30:35 -0700 |
---|---|---|
committer | Bryan Newbold <bnewbold@robocracy.org> | 2019-09-03 18:30:35 -0700 |
commit | dc21a5d4a1b7eb2c9d3d703c73cef8e2bf8e9072 (patch) | |
tree | 460cc80b001b4688fba13e51c099e4db59b98c17 /python/fatcat_tools/transforms | |
parent | b93b739314dae0bd9742e7b1273c632e6b466707 (diff) | |
download | fatcat-dc21a5d4a1b7eb2c9d3d703c73cef8e2bf8e9072.tar.gz fatcat-dc21a5d4a1b7eb2c9d3d703c73cef8e2bf8e9072.zip |
comment clarifying container.ident in ES release transform
Diffstat (limited to 'python/fatcat_tools/transforms')
-rw-r--r-- | python/fatcat_tools/transforms/elasticsearch.py | 2 |
1 files changed, 2 insertions, 0 deletions
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 |