Reindex and cancel indexing
Overview
Reindex runs a sync for the library right away, without waiting for the schedule. It doesn't process every file from scratch — only the files that need it:
| File | On reindex |
|---|---|
| New files | Indexed |
| Files whose size or modified time changed | Indexed again |
| Files that previously failed or weren't processed | Tried again |
| Indexed files with the same size and modified time | Not processed |
| Files deleted from the source | Removed from the library |
| Legacy Office files (.doc, .ppt, .xls) and audio and video files | Not processed if unchanged, and stay Index Failed |
Cancel Indexing stops the library's running and queued index tasks.
What you'll learn
- Sync a library right away with Reindex
- Stop a running task with Cancel Indexing
- When to reindex
Estimated time: about 3 minutes, not counting indexing time
Applies to
- DocLake 1.0.0 and later
Before you begin
- Your account is a built-in Admin, or your role has RW permission on the Library page. Roles with RO permission can only view task records — they can't reindex or cancel indexing
When to reindex
- Files on the NAS were just updated and you don't want to wait for the next scheduled sync
- The last sync Failed because the NAS couldn't be reached, and the NAS is back
- Files failed to index because the model service was briefly down, and the model is working again
- The schedule is turned off and you need to sync by hand
When you change the Embedding Model, DocLake reindexes every library automatically, so you don't need to click through each one.
Step 1: Reindex
- Go to the Admin Center, then Data → Library
- Click the library to sync
- Click Reindex
When it starts, the page shows "Reindexing started". While the task runs or waits in the queue, Reindex turns into Cancel Indexing.

Step 2: Follow the progress
- The top of the Documents tab shows "Indexing N documents…" with a percentage, plus the estimated time left when it can be calculated
- The Index Tasks tab lists this task, with Trigger shown as "Manual (your name)"
Step 3: Cancel indexing (if needed)
- On the library page, click Cancel Indexing
- The page shows "Indexing cancelled"
What happens after you cancel:
- Queued tasks become Cancelled right away
- A running task becomes Cancelling first, then Cancelled once it wraps up
- Files that were processed successfully keep their results and can be searched
- Files not yet processed, or only partly processed, are recorded as Cancelled and processed in the next sync
- Sync Schedule isn't affected — the next scheduled sync runs as usual
Troubleshooting
| Message | Likely cause | What to do |
|---|---|---|
An indexing task is already in progress for this library. | A task is already running or queued | Wait for the task to finish, or click Cancel Indexing first |
Unable to connect to <name> (<IP>). Check the connector status. | The NAS can't be reached | Check the NAS and the network, then reindex |
Unable to sign in to <name> (<IP>). Check the connector credentials. | The NAS rejected the username and password | Update the password in Data Source Connector |
Unable to start reindexing. Please try again later. | The request didn't go through | Try again later |
Unable to cancel indexing. Please try again later. | The request didn't go through | Try again later |
| Legacy Office files are still Index Failed after reindexing | The format isn't supported, and unchanged files aren't retried | Save them in the newer format — see What do index task statuses mean, and what to do when indexing fails? |
Next steps
When the task ends, check the results on the Index Tasks tab — see What do index task statuses mean, and what to do when indexing fails?
Related articles
Upload files
Add files to a manual-upload library, upload a new version, or delete documents you no longer need
Index statuses and failures
What the seven index task statuses mean, how Partially Failed differs from Failed, how to read the failure reason in the file processing results, and how to reindex once it's fixed

