summaryrefslogtreecommitdiffstats
path: root/python/fatcat_tools/transforms/elasticsearch.py
diff options
context:
space:
mode:
authorBryan Newbold <bnewbold@robocracy.org>2019-05-23 16:34:08 -0700
committerBryan Newbold <bnewbold@robocracy.org>2019-05-23 16:34:08 -0700
commit537db73cce0d0a71fafeeb20423491c0cb75ea7a (patch)
tree5d83b11ae8aedf7a4f54df5ae38f66e13051dc51 /python/fatcat_tools/transforms/elasticsearch.py
parent104f1fd882216dc79bd7515e0b66834a779c1bf7 (diff)
parent9fbab0defca5016c0eb5b851ff73e03efac4fac8 (diff)
downloadfatcat-537db73cce0d0a71fafeeb20423491c0cb75ea7a.tar.gz
fatcat-537db73cce0d0a71fafeeb20423491c0cb75ea7a.zip
Merge branch 'bnewbold-import-tweaks'
Diffstat (limited to 'python/fatcat_tools/transforms/elasticsearch.py')
-rw-r--r--python/fatcat_tools/transforms/elasticsearch.py1
1 files changed, 1 insertions, 0 deletions
diff --git a/python/fatcat_tools/transforms/elasticsearch.py b/python/fatcat_tools/transforms/elasticsearch.py
index f287fe10..8589d364 100644
--- a/python/fatcat_tools/transforms/elasticsearch.py
+++ b/python/fatcat_tools/transforms/elasticsearch.py
@@ -292,6 +292,7 @@ def container_to_elasticsearch(entity, force_bool=True):
if extra.get('ia'):
if extra['ia'].get('sim'):
any_ia_sim = True
+ t['is_superceded'] = bool(extra.get('superceded'))
t['in_doaj'] = bool(in_doaj)
t['in_road'] = bool(in_road)