---
title: "Three ways to search, one way to verify · QueryLlama"
description: "The exact phrase, the right idea in other words, and the two blended."
url: "https://royalsoftworks.com/products/queryllama/features/three-ways-to-search/"
source: "https://royalsoftworks.com"
format: "markdown"
note: "Markdown rendering of the HTML page at `url`. Same content, same canonical URL."
---

Features · 1 of 3

# Three ways to search, one way to verify.

The exact phrase, the right idea in other words, and the two blended.

Keyword search

## Find the exact phrase, fast.

Classic full-text search over every indexed document chunk, powered by Postgres's native full-text search — no separate search index to keep in sync.

- Postgres full-text search over indexed chunks
- Works the moment a document finishes processing
- In development — targeted for the next build milestone

Semantic search

## Find the right idea, even with the wrong words.

Documents are embedded into 768-dimension vectors and compared by meaning, not just matching text — so a question about 'remote work expenses' can surface a passage that says 'home-office reimbursement' instead.

- 768-dim embeddings via Cloudflare Workers AI (BGE base)
- Stored and queried with pgvector
- In development

Hybrid search

## The best of both, blended automatically.

A reciprocal-rank-fusion blend of keyword and semantic results, so an exact match and a conceptual match both surface without you having to pick a mode.

- Reciprocal rank fusion (RRF) of keyword + semantic result sets
- One query, one ranked list
- In development

[Previous Features: all 3 pages](https://royalsoftworks.com/products/queryllama/features/) [Next Answers, your model, and five roles.](https://royalsoftworks.com/products/queryllama/features/answers-and-roles/)

[All of QueryLlama features](https://royalsoftworks.com/products/queryllama/features/)

<!-- verse:royalsoftworks
     1Jovanu 3:8
     Koji tvori greh od djavola je, jer djavo greši od početka. Zato se javi Sin Božji da raskopa dela djavolja.
     https://www.wordproject.org/bibles/verses/serbian/37_resisting.htm
-->
