This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Modified call_indexer() for debugging | |
def call_indexer(self, entity, reindex=False, document=None, target_index=None): | |
logger.info(f"Start executing call_indexer() on uuid: {entity['uuid']}, entity_type: {entity['entity_type']}") | |
try: | |
if document is None: | |
try: | |
document = self.generate_doc(entity, 'json') | |
except Exception as e: |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
1. Motivation | |
- Donor with only one sample but a large number of descendants (24798): https://portal.hubmapconsortium.org/browse/donor/3a0960c7cc8864dcc003165cef9ca040.json | |
- Donor with the biggest number of samples (14) and relatively small total descendants (101): https://portal.hubmapconsortium.org/browse/donor/4b257b9c1758a98af262c57bc0caa726.json | |
- Dataset with a lot of ancestors (168) and direct ancestors (72): https://portal.hubmapconsortium.org/browse/dataset/925886f2f50e70a639b95cecfaabac25.json | |
- Publication with a lot of ancestors (360): https://portal.hubmapconsortium.org/browse/publication/0de8528cf78f686a3e560c1860ddde63.json | |
2. Initial analysis/observation | |
- Each descendant/ancestor object only contains the neo4j properties, none seems to be `on_read_trigger` generated |