Search
The search compares the question with every passage and keeps the closest. “Closest” can mean sharing words, sharing meaning, or a mix of both.
Two rankings, one list
Four ways to search
| Search | Right page in the first 10 | Right report in the first 5 |
|---|---|---|
| Keywords only | 15 in 100 | 42 in 100 |
| Meaning only | 47 in 100 | 86 in 100 |
| Both, equal weight | 42 in 100 | 78 in 100 |
| Both, keywords at 0.1 | 47 in 100 | 85 in 100 |
Two questions, three searches
The first three pages each search returned. The right page is marked.
Using only the information within the balance sheet, how much total assets did Costco have at the end of FY2021? Answer in USD millions.| Search | First three pages | The right page |
|---|---|---|
| Keywords |
| Not in the first 20 |
| Meaning |
| Ranked 1 |
| Both, keywords at 0.1 |
| Ranked 1 |
As of FY2023Q1, why did Pepsico raise full year guidance for FY2023?| Search | First three pages | The right page |
|---|---|---|
| Keywords |
| Ranked 2 |
| Meaning |
| Not in the first 20 |
| Both, keywords at 0.1 |
| Not in the first 20 |
From the run of 2 October 2026: 150 questions, 84 reports, passages of 256 tokens with the report's name.
What meaning bought over keywords
15 → 47
Searching by keywords alone found the right page for 15 questions in 100. Searching by meaning found it for 47.
FinanceBench: 150 questions over 84 annual reports, right page in the first 10 results, bge-small embedder. One run.
Keywords still find what meaning misses, as the second question shows. Long questions in plain language match too many words to rank well; exact terms such as a product code or an invoice number are where they help.
One question to ask your team
Does our search use keywords, meaning, or both, and who chose the weight?
For engineers
The settings behind the lesson.
- Hybrid search: a BM25 ranking and a vector ranking of 20 candidates each, merged by reciprocal rank fusion (k 60). The BM25 weight scales its share; 0.1 is the app's default.
- On BEIR's FiQA, nDCG@10 rose as the BM25 weight fell: 0.351 at 1.0, 0.383 at 0.1. hybrid@0.1 stays within 0.005 of vector search alone.
- This run (passages with the report name): page hit@10 bm25 0.147, vector 0.473, hybrid@1.0 0.420, hybrid@0.1 0.473. Without the names, bm25 reached 0.160.
- The saved results show page ids as the run recorded them; two of PepsiCo's three are passages from the same page.