aleph.ingest.manager

DocumentManager

class aleph.ingest.manager.DocumentManager

Imports

  • <UNKNOWN>

Summary

Handle the process of ingesting documents.

This includes creating and flushing records, setting document state and dispatching child ingestors as needed.

__init__(self, config, archive)
after(self, result)
before(self, result)
get_cache(self, key)
handle_child(self, parent, file_path)
ingest_document(self, document)

Ingest a database-backed document.

First retrieve its data and then call the actual ingestor.

set_cache(self, key, value)