summaryrefslogtreecommitdiffstats
path: root/python/fatcat_tools/transforms
diff options
context:
space:
mode:
authorBryan Newbold <bnewbold@robocracy.org>2020-01-29 23:26:58 -0800
committerBryan Newbold <bnewbold@robocracy.org>2020-01-29 23:26:58 -0800
commite98f389a53d886b4fa8f0237b90b086999770f78 (patch)
tree21019802437b801cfdd9754f6a1bdc6b565779ad /python/fatcat_tools/transforms
parentbf718fd076476c1a54e80ca88cd02ede606ab6f3 (diff)
downloadfatcat-e98f389a53d886b4fa8f0237b90b086999770f78.tar.gz
fatcat-e98f389a53d886b4fa8f0237b90b086999770f78.zip
elastic schema fixes
Diffstat (limited to 'python/fatcat_tools/transforms')
-rw-r--r--python/fatcat_tools/transforms/elasticsearch.py5
1 files changed, 5 insertions, 0 deletions
diff --git a/python/fatcat_tools/transforms/elasticsearch.py b/python/fatcat_tools/transforms/elasticsearch.py
index f0146d01..42669bbf 100644
--- a/python/fatcat_tools/transforms/elasticsearch.py
+++ b/python/fatcat_tools/transforms/elasticsearch.py
@@ -416,6 +416,11 @@ def _type_of_edit(edit):
def changelog_to_elasticsearch(entity):
+ """
+ Note that this importer requires expanded fill info to work. Calling code
+ may need to re-fetch editgroup from API to get the 'editor' field. Some of
+ the old kafka feed content doesn't includes editor in particular.
+ """
editgroup = entity.editgroup
t = dict(