Search

Start reindex

Trigger a Typesense reindex from your existing database with the Python SDK.

POST/search/reindex

Use blnk.search.start_reindex to rebuild the search index.

Call the method

response = blnk.search.start_reindex({
  "batch_size": 1000,
})
FieldTypeDescription
batch_sizenumberRecords 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"
  }
}
FieldTypeDescription
messagestrConfirmation that the reindex job started.
progressdictInitial progress snapshot with status, phase, total_records, processed_records, and started_at.