def process_document(document): """Perform post-ingest tasks like analysis and indexing.""" analyze_document(document) index_document(document) index_records(document) if document.collection.casefile: index_collection(document.collection)
def process_document(document): """Perform post-ingest tasks like analysis and indexing.""" analyze_document(document) index.index_document(document) index.index_records(document)