Search
Start reindex
Trigger a Typesense reindex from your existing database with the Python SDK.
POST
/search/reindexUse blnk.search.start_reindex to rebuild the search index.
Call the method
response = blnk.search.start_reindex({
"batch_size": 1000,
})
| Field | Type | Description |
|---|---|---|
batch_size | number | Records processed per batch. Omit the argument to use the Core default. Must be a positive integer when set. |
Poll reindex progress
Use get reindex status to track progress until status is completed.
Response
{
"message": "Reindex operation started",
"progress": {
"status": "in_progress",
"phase": "indexing_transactions",
"total_records": 2145709,
"processed_records": 0,
"started_at": "2026-02-12T12:13:10.448612096Z"
}
}
| Field | Type | Description |
|---|---|---|
message | str | Confirmation that the reindex job started. |
progress | dict | Initial progress snapshot with status, phase, total_records, processed_records, and started_at. |