> ## Documentation Index
> Fetch the complete documentation index at: https://docs.duckbrain.sh/llms.txt
> Use this file to discover all available pages before exploring further.

# index

> Rebuild the search sidecars from the lake

```bash theme={null}
duckbrain index
```

Rebuilds both **disposable** search sidecars from scratch:

* `search.duckdb` — FTS/BM25 index (title + text, Porter stemming)
* `search.lance` — vector sidecar from the embeddings table (skipped with a hint if `duckbrain embed` hasn't run)

The sidecars are caches, never sources of truth: corrupt or delete them freely — this command recreates them from the lake. New ingests aren't searchable until the next `index` run, so the standard loop ends with it.


## Related topics

- [index](/commands/index.md)
- [sync](/commands/sync.md)
- [doctor](/commands/doctor.md)
- [DuckBrain](/index.md)
- [ingest](/commands/ingest.md)
