Available in version 0.13.2 and later.
How it works
Trigger the reindex
Blnk reads all records from your database and indexes them into their respective Typesense collections (transactions, balances, ledgers, identities).
Response
Monitor progress
Check the reindex status. Completion time depends on the size of your data.When Typesense hits memory limits during a reindex, Blnk pauses indexing and retries automatically instead of failing the operation. Poll this endpoint while that happens.When paused, the response includes
Response
paused: true, pause_reason: "typesense_out_of_memory", and paused_at. Reindex resumes when Typesense memory pressure clears.Response (paused)
Available in Blnk Core 0.15.2 and later. Tune retry timing with
backpressure_retry_interval and cap Typesense memory with TYPESENSE_MEMORY_USED_MAX_PERCENTAGE on your Typesense container.See Data store configuration.Error handling
Structured errors are available from Blnk Core 0.15.0 and later.
409 Conflict with error_detail.code set to SRCH_REINDEX_IN_PROGRESS.
409 Conflict
For the full error catalogue, see API error codes.