aleph.index.records

aleph.index.records.clear_records(document_id)

Delete all records associated with the given document.

aleph.index.records.generate_records(document)

Generate index records, based on document rows or pages.