Full-text search
BM25-ranked full-text search powered by SQLite FTS5.string
required
Search query. Supports boolean operators and phrase matching.
number
Similarity threshold (0–1) for “did you mean?” suggestions when the query yields few results.
Query syntax
Trust-ranked search
Search results weighted by trust signals in frontmatter. Pages marked as verified or source-of-truth rank higher.string
required
Search query (same syntax as full-text search).
Semantic search
Vector similarity search using embeddings. Requires a vector search provider configured in.kiwi/config.toml.
string
required
Natural language query.
integer
default:"10"
Maximum number of results to return.
Semantic search requires vector embeddings. Configure an embedder provider (OpenAI, Ollama, Cohere, etc.) in your
.kiwi/config.toml under [search.vector].Metadata query
Query pages by their frontmatter fields using JSON path syntax.string
required
JSON path filter expression (e.g.
$.status=draft).string
JSON path to the field to sort by (e.g.
$.updated).string
default:"asc"
Sort order:
asc or desc.