Skip to content

Search modes

AI Search supports three search modes: vector, keyword, and hybrid. By default, new instances use vector search only. You can enable keyword or hybrid search when creating or updating an instance.

Vector search converts your query into a vector embedding and finds chunks with similar meaning, even when the exact words differ. It knows that "deployment guide" and "how to ship my app" mean similar things. However, it can lose specifics. In a query like "ERR_CONNECTION_REFUSED timeout," vector search captures the broad concept of connection failures but might not surface the page that contains that exact error string.

Keyword search matches chunks that contain your query terms exactly using BM25 full-text search. When you search "ERR_CONNECTION_REFUSED timeout," BM25 finds documents that actually contain "ERR_CONNECTION_REFUSED" as a term. However, it may miss a page about "troubleshooting network connections" that describes the same problem. Refer to Keyword search for setup.

Hybrid search runs vector and keyword search in parallel and merges the results using a fusion method. Vector search understands intent, keyword search matches specific terms. Together, a query like "ERR_CONNECTION_REFUSED timeout" finds the exact error page and related troubleshooting content. Refer to Hybrid search for setup.

Hybrid search