Search

Start reindex

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

POST/search/reindex

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

Call the method

ApiResponse<JsonNode> response = blnk.search().startReindex(
    StartReindexRequest.create().batchSize(500)
);
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
messageStringConfirmation that the reindex job started.
progressJsonNodeInitial progress snapshot with status, phase, total_records, processed_records, and started_at.