Using Whoosh here.
search_status before reindexing:
Whoosh search model indexing status
Cabinet: 34
Document: 1491
Document file: 1491
Document file page: 17479
Document type: 7
Document version: 1488
Document version page: 17358
Group: 1
Index instance node: 1
Message: 3
Metadata type: 0
Role: 1
Signature capture: 0
Tag: 2
User: 5
search_status after reindexing:
Whoosh search model indexing status
Cabinet: 34
Document: 1491
Document file: 1491
Document file page: 1465
Document type: 7
Document version: 1040
Document version page: 1465
Group: 2
Index instance node: 1
Message: 3
Metadata type: 1
Role: 2
Signature capture: 0
Tag: 2
User: 4