knot 1.0.0

Codebase Graph + Vector RAG Indexer for Java, TypeScript, JavaScript, Kotlin, Rust, Python, Groovy, C/C++, Build Systems, and HTML/CSS codebases
# knot — example environment configuration
#
# Copy this file to `.env` and fill in your values.
# When a `.env` file is present, its values take precedence over
# any command-line arguments passed to the binary.
#
# Usage:
#   cp .env.example .env
#   $EDITOR .env
#   cargo run --release

# Absolute path to the repository root to be indexed.
KNOT_REPO_PATH=/path/to/your/repo

# --- Qdrant (Vector DB) ---
KNOT_QDRANT_URL=http://localhost:6334
KNOT_QDRANT_COLLECTION=knot_entities

# --- Neo4j (Graph DB) ---
KNOT_NEO4J_URI=bolt://localhost:7687
KNOT_NEO4J_USER=neo4j
KNOT_NEO4J_PASSWORD=knot_secret_password

# --- Optional: custom Tree-sitter query directory ---
# When set, java.scm and typescript.scm from this directory override
# the built-in queries compiled into the binary.
# KNOT_CUSTOM_QUERIES_PATH=/path/to/custom/queries

# --- Embedding model dimension (must match the fastembed model used) ---
# Default: 384 (AllMiniLML6V2)
KNOT_EMBED_DIM=384

# --- Number of entities per processing batch ---
KNOT_BATCH_SIZE=64

# --- Log level (trace | debug | info | warn | error) ---
RUST_LOG=info