# Bible Graph — Multi-Mode Knowledge Graph Search

> Canonical URL: https://localhost/search/
> Markdown URL: https://localhost/search.md
> Remote MCP Endpoint: https://localhost/MCP (tool: `search_knowledge_graph`)
> REST API Endpoint: `GET https://localhost/api/graph-rag?q={query}&mode={auto|hybrid|rag|fts|semantic|rerank}`

## Supported Search Modes

- `auto`: Automatically selects lexical, semantic, or Graph RAG synthesis based on query structure.
- `hybrid`: Reciprocal Rank Fusion (RRF) combining SQLite FTS5 BM25 and 256d EmbeddingGemma vector similarity.
- `rag`: Full Graph RAG synthesis expanding 1-hop knowledge graph neighborhoods around top matches.
- `fts`: Exact and prefix lexical matching across 8 Bible translations and entity catalogs.
- `semantic`: Dense vector similarity across concepts, theology, lexicon, and scripture.
- `rerank`: Cross-encoder style token overlap & structural boost reranking.
