Re-enrich all records in the index. Returns count of records updated.
()
| 62 | |
| 63 | |
| 64 | def reprocess_all() -> int: |
| 65 | """Re-enrich all records in the index. Returns count of records updated.""" |
| 66 | index = load_index() |
| 67 | count = 0 |
| 68 | for record_id, doc in index.items(): |
| 69 | process_and_save(doc) |
| 70 | count += 1 |
| 71 | return count |
nothing calls this directly
no test coverage detected