Keyboard shortcuts

Press or to navigate between chapters

Press S or / to search in the book

Press ? to show this help

Press Esc to hide this help

index

Build or update the search index. Walks repository files, parses them with Tree-sitter (or pulldown-cmark for Markdown), generates embeddings, and stores everything in LanceDB.

Usage

bobbin index [PATH] [OPTIONS]

Examples

bobbin index                           # Full index of current directory
bobbin index --incremental             # Only update changed files
bobbin index --force                   # Force reindex all files
bobbin index --repo myproject          # Tag chunks with a repository name
bobbin index --source /other/repo --repo other  # Index a different directory

Options

FlagShortDescription
--incrementalOnly update changed files
--forceForce reindex all files
--repo <NAME>Repository name for multi-repo indexing (default: “default”)
--source <PATH>Source directory to index files from (defaults to path)