01 / The problem
When you need it
“Keyword search misses relevant records when people use different words, and pure vector search misses exact codes, names and SKUs.”
What we need from you
~30 days to first result One-off Hands-on team involvement
AnswerWell
Scan a code or click a card.Click a card to open the app.Tap a card to open the app.
Data & machine learning · Custom build
Semantic search development is the design of structured search that finds answers by meaning as well as by keyword. We build and evaluate embedding models over well-known public datasets, anonymized third-party provider data, Kaggle and Hugging Face corpora, then fuse them with BM25 in a hybrid retrieval stack tuned on your data.
Scope, timing and fees are agreed for your project before work starts. Service documentation (Wiki)
01 / The problem
“Keyword search misses relevant records when people use different words, and pure vector search misses exact codes, names and SKUs.”
~30 days to first result One-off Hands-on team involvement
02 / Deliverables
03 / Process
We inventory your data and any external sets, check licenses and anonymization, and build a judged query set from real searches.
We compare BM25, dense and hybrid retrieval across candidate embedding models and tune fusion weights on held-out queries.
We ship the index behind an API, add relevance regression tests and re-run the evaluation whenever data or models change.
04 / Deep dive
Retrieval runs in two layers. A sparse layer, BM25, scores documents by weighted term overlap through an inverted index, so exact tokens such as SKUs, legal citations and brand names match reliably. A dense layer encodes queries and documents with a bi-encoder embedding model and finds nearest neighbors with an approximate index such as HNSW. Each layer fails where the other works: BM25 misses paraphrases, while vectors blur rare identifiers. We run both and merge the ranked lists with reciprocal rank fusion or a weighted score, optionally followed by a cross-encoder reranker on the top 50 to 100 candidates.
Model choice is an empirical question. We shortlist open models from Hugging Face and hosted embedding APIs by language coverage, context length, vector size and license, then compare them on your own queries, because public leaderboards such as MTEB and BEIR average across tasks that may not resemble yours. Where a gap remains, we fine-tune with contrastive learning on query and document pairs. Vector size can be reduced with Matryoshka-style truncation or quantization to cut memory and latency.
Evaluation uses a judged query set, typically a few hundred real queries with graded relevance labels. We report nDCG@10 for ranking quality, recall@k for whether the right document reaches the reranker, and MRR for navigational queries, split by query type so that exact-match and conceptual searches are visible separately. The BM25-only baseline is always reported next to dense and hybrid results, and the same set becomes a regression test whenever data or models change.
Dataset governance comes before modeling. Every corpus, whether a well-known public dataset, a Kaggle or Hugging Face set, or anonymized third-party provider data, is logged with source, license, collection date, anonymization method and version. We deduplicate, remove personal data and keep evaluation queries out of training data to prevent leakage. Sets whose license excludes commercial use are not used, and your private content stays within your project.
| Method | Strong at | Weak at | Role in the stack |
|---|---|---|---|
| BM25 (sparse) | Exact terms, codes, names | Paraphrases, synonyms | First-stage retrieval |
| Dense embeddings | Meaning, multilingual queries | Rare identifiers | First-stage retrieval |
| Hybrid with RRF | Both query types | Needs tuning and tests | Production default |
| Cross-encoder rerank | Fine ordering of top hits | Slow on large sets | Second stage, top 50-100 |
05 / FAQ
Hybrid search runs a keyword ranker (BM25) and a vector retriever (dense embeddings) in parallel and merges their results, usually with reciprocal rank fusion. BM25 is precise on exact terms such as part numbers and names. Embeddings match meaning when the wording differs. Combining them often beats either alone, and we measure that on your own queries with nDCG and recall@k rather than assuming it.
We combine well-known public benchmarks and datasets from Kaggle and Hugging Face, anonymized data from third-party providers, and your own content. Every source is recorded with its license and provenance, and sets whose license excludes commercial use are not used. Your private data is used only inside your project, for evaluation, fine-tuning and indexing.
Usually not at first. Strong open embedding models from Hugging Face often perform well out of the box, so we benchmark them against a BM25 baseline before training anything. We fine-tune with contrastive learning on query and document pairs only when the evaluation shows a gap worth the cost, for example specialist vocabulary, a low-resource language or unusual document structure.
Recommended stack
Services from other practices that serve the same business goals. Combine them in one project brief.
AI agents & automation · Custom build
RAG & GraphRAG AssistantsShared goal: Convert more visitors · Automate with AI
Search the official docs of every major search and AI provider
Run crawl-scale analyses that a chat AI has no compute time for
Rate every image and video on your site with viewer-appeal models