The short answer
Combine retrieval methods only when the result improves the questions you care about.
Understand what keyword and vector retrieval contribute, why their scores differ, and how to test a combined ranking on your own questions.Test exact names as well as descriptions
Invoice AX-417 is easy to describe with an exact identifier. "The meeting where we changed the launch scope" may use none of the words in the relevant note. Test both kinds of question when choosing a search method.
In general search design, hybrid search combines signals such as lexical matching and semantic similarity. The diagram above shows the query ranking path: reciprocal-rank fusion followed by source-linked graph reranking and source checks. Hybrid search helps select evidence. You still need to check whether that evidence is correct and current.
Do not compare unlike scores directly
A lexical score and a vector-similarity score can have different ranges and meanings. Adding them without understanding their scale can let one dominate for accidental reasons.
Elastic's hybrid-search documentation describes combining full-text and vector retrieval. Its RRF reference describes merging ranked result lists. These examples describe Elasticsearch’s implementation. Gigabrain uses a separate retrieval pipeline.
See what rank fusion is doing
For an illustrative two-list calculation, suppose passage A is first in keyword results and tenth in semantic results. Passage B is fourth in both. A reciprocal-rank method assigns contributions based on positions rather than treating the raw scores as interchangeable.
Illustrative reciprocal-rank contribution:
score(document) = sum(1 / (constant + rank_in_each_list))
Before choosing parameters, record:
- Which methods supplied the candidate lists
- How many candidates each method returned
- Which scope filters applied to both
- Whether duplicated passages count only onceThe example explains the mechanism. It does not select a parameter value for your corpus or establish that fused ranking beats either list.
Test the cases that can worsen
| Case | What to inspect |
|---|---|
| Exact identifiers | Does an approximate match displace the exact record? |
| Paraphrases | Does semantic retrieval recover a relevant passage? |
| Similar project names | Do scope filters preserve project identity? |
| Changed facts | Does relevance hide an obsolete source? |
| Missing answer | Can the system return a clear evidence gap? |
A top-ranked passage can be highly relevant and still be outdated. Ranking and source authority need separate treatment.
Compare against a simple baseline
Use the same source collection and query set for each method. Record the top results, source versions and relevance judgments. Measure query groups separately. An aggregate improvement can conceal worse identifier lookup.
If a combined system retrieves more relevant material but sends too much duplicate context, inspect the final evidence-selection step. The agent still needs a manageable set of supporting passages for the task.
What the Gigabrain demonstration tested
Gigabrain combines local semantic embeddings and lexical search through rank fusion, with graph reranking and source checks on retrieved passages. The earlier component demonstration tests lexical recovery mode only. The four-mode experiment below separately measures the local memory service.
Use the evaluation kit to choose questions to test with your own sources. Then review integration status and packages if a ready local knowledge system fits your workflow.
Compare four modes on the same fictional sources
We ran lexical search, hybrid search without graph effects, graph reranking and graph expansion through the same local memory service. Each configuration used the same questions, sources and limit of eight hits.
The source set includes Project Alder, its access review and a separate schedule. It also contains ambiguous person aliases and distracting project records.
Open the complete query results beside the source files. Compare the returned sources and the retrieval contributions for the question you care about.
The summary separates source recall, source precision, citation checks and abstention. These measures do not establish generated-answer quality. Developers inspected these fictional cases during earlier work. This rerun supplies regression evidence rather than blind validation.
Read the improvement beside the failure
In the development corpus, six questions had labelled supporting sources. One question had no supporting source. The table averages source-level precision and recall across the six answerable questions.
| Mode | Mean source recall | Mean source precision | Unsupported-query abstention |
|---|---|---|---|
| lexical | 61.1% | 12.5% | 0/1 |
| hybrid | 77.8% | 16.7% | 0/1 |
| graph_rerank | 77.8% | 16.7% | 0/1 |
| graph_expand | 100.0% | 28.6% | 0/1 |
Expansion recovered all labelled sources in this small set, but most returned sources were still irrelevant to the labels. Every mode returned passages for the unsupported question. Verified citations therefore did not establish that an answer was available.
These figures describe one previously inspected fictional corpus and an eight-hit limit. They do not establish accuracy across customer data or a generated answer.
Separate graph reranking from expansion
Reranking changes the order of candidates already under consideration. Expansion follows relationships and can add a source absent from the initial results.
In the connected-source demonstration, the path leads from Alder to the access review and then to the schedule. Each edge names supporting text. The relationship remains an authored interpretation.
The current local memory service exposes these graph modes. Older query commands and individual integrations can use different paths. Check the interface named in the experiment before applying its results elsewhere.
Download the reproduction instructions. Use the evaluation guide to create questions from your own work.
Use retrieval in a recurring brief
Before a weekly review, choose one project and its notes. Search for the project name and its open decisions. Check the returned passages, then draft the review from supported facts. Record unresolved questions separately.
Project: ____
Question: ____
Source passage: ____
Current or replaced: ____
Next task: ____The Loop Pack includes the prepared automations. Choose their tools, permissions and schedule during setup. Explore the Loop Pack.
Method note: Gigabrain Labs prepared this article with AI assistance. Linked records define the measured scope. Fictional exercises remain separate from executed results.


