Search

Get reindex status

Poll the progress of a Typesense reindex with the Java SDK.

GET/search/reindex

Use blnk.search().getReindexStatus for this operation.

Call the method

ApiResponse<JsonNode> response = blnk.search().getReindexStatus();

This method takes no arguments.

Track reindex progress

Poll until response.data().get("status").asText() is completed. Compare processed_records to total_records to estimate remaining work.

Response

{
  "status": "in_progress",
  "phase": "indexing_transactions",
  "total_records": 2145709,
  "processed_records": 2145709,
  "started_at": "2026-02-12T12:13:10.448612096Z"
}
FieldTypeDescription
statusStringCurrent state, in_progress or completed.
phaseStringCurrent phase, for example indexing_transactions, or done when complete.
total_recordsNumberTotal number of records to index.
processed_recordsNumberNumber of records processed so far.
started_atStringTimestamp when the reindex began.
completed_atStringTimestamp when the reindex finished. Only present once status is completed.
errorsJsonNodeJSON array of error messages. Only present when an error occurs.