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

# Index Location

> Where VecGrep stores its index files

## Default location

```
~/.vecgrep/<sha256-of-absolute-project-path>/
```

Each project gets its own isolated directory based on a SHA-256 hash of the absolute project path.

## Layout

```
~/.vecgrep/<project_hash>/
  lancedb/        # vector embeddings and ANN index (IVF-PQ)
  merkle.json     # mtime/size fingerprints for incremental indexing
  graph.json      # knowledge graph (nodes + edges) — created by index_graph
```

`graph.json` is only present after `index_graph` has been run. All other tools function without it.

## Managing the index

**Check index size and stats:**

```
get_index_status("/path/to/myproject")
```

**Wipe and rebuild the full index (vector + graph):**

```bash theme={null}
rm -rf ~/.vecgrep/<hash>/
```

**Force rebuild via tool parameters:**

```
index_codebase("/path/to/myproject", force=true)
index_graph("/path/to/myproject", force=true)
```
