# axon index

Source: https://usecns.dev/axon-cli-index/

[Start here](https://usecns.dev/manual-axon/)
[CLI commands](https://usecns.dev/commands-axon/)
[Configuration & integration](https://usecns.dev/axon-topics/)

```
axon index [--full] [--incremental] [--lsp] [--json] [<action>]
```

With no action, builds the index. Warm indexes update incrementally by default; `--full` forces full unless `--incremental` is also given. Configured/enabled LSP (including setup-accepted servers) runs on ordinary indexing and forces a full rebuild, even with `--incremental`, to retain semantic coverage. `--lsp` explicitly requests enrichment, overriding `lsp.enabled: false`, and also forces full. No indexing command installs servers. LSP visits all discovered files for each enabled language and all extracted call sites, without the former 200-file/64-call caps; large repositories may take substantially longer. Failures remain visible in status. `--json` emits the build summary instead of human output. Parent and action flags combine by logical OR; incremental still wins over full outside LSP. Resolver-input changes or Go edits can trigger a full fallback. Writes database state.

See [CLI conventions](https://usecns.dev/axon-cli-usage/) for shared configuration and exit behavior, or [browse all commands](https://usecns.dev/commands-axon/).