
Semantic Search for Your Knowledge Base — Test What Gets Found, Fix What Doesn't (2026)
Quick answer: If your chatbot answers from uploaded documents, a semantic search engine is deciding which passages it reads, and that engine has never been tested against your actual customers' phrasing unless you tested it yourself. This guide is the operating manual for that layer: a three-probe diagnostic to learn what kind of search you are running, a retrieval probe set that grades whether the right passage surfaces (a different question from whether the final answer was right), and the content-side fixes that repair most misses without touching a setting. The glossary entry covers what semantic search is and how it works; the knowledge-base guide covers what to write. This page covers the join between them: whether what you wrote can be found.
What changed when your search went semantic
Somewhere between your help center's old search box and your bot's "answer from your docs" feature, the matching rules changed underneath you. Keyword search failed loudly and predictably: no shared words, no results, and everyone learned to guess the magic term. Semantic search fails quietly. It almost always returns something, because there is always a nearest passage; the question is whether the nearest passage is the right one. A customer asking "why was I charged twice?" will get whatever your content sounds most like that — which is the billing FAQ if you have one, and the pricing page if you don't.
That shift moves the operator's job. With keyword search you tuned queries; with semantic search you curate what exists to be found and verify that it gets found. Neither the embedding model nor the vector database underneath it is your dial to turn on most platforms. Your dials are content and testing.
First, find out what you actually have
Platforms rarely document whether their retrieval is pure semantic, keyword, or hybrid, and the label matters less than the behavior. Ten minutes with three probes settles it:
The paraphrase probe. Ask a question your documentation answers, phrased in words the documentation never uses. "How do I stop being charged?" against an article titled "Cancel your subscription." If this works, semantic matching is on. If it only works when you reuse the article's own words, you are effectively running keyword search whatever the marketing says.
The identifier probe. Ask about an exact string: a SKU, an error code, a model number that appears verbatim in your content. Pure semantic search often fumbles this, because codes carry no meaning for an embedding model to match on. If both this probe and the paraphrase probe succeed, you likely have hybrid search, the best case.
The absence probe. Ask a question your content does not answer at all. The healthy behavior is a refusal or a fallback offer; the unhealthy one is a confident answer assembled from the nearest irrelevant passage. This probe tests the seam between retrieval and generation, and a failure here belongs to the hallucination playbook rather than to search.
Run all three in each language you support. Multilingual embedding quality varies by language pair, and a bot that passes every probe in English can fail the paraphrase probe in Portuguese; our multilingual guide explains why per-language testing is non-negotiable, and the same rule drives the per-language NLU checks in our platform reviews.
Build a retrieval probe set
The RAG guide's launch test grades final answers three ways: correct, wrong, or correctly declined. Useful — but when an answer is wrong, it cannot tell you which layer failed. A retrieval probe set isolates the search layer by grading a different event: did the passage that contains the right answer surface at all?
Fifteen to twenty probes is enough to start. Draw them from real phrasings (support tickets, chat logs, your site's search queries — the same demand sources the knowledge-base guide mines) and spread them across four categories: paraphrases that share no words with the source article, near-miss topics where two articles could plausibly answer and only one is right (domestic versus international shipping is the classic), exact identifiers, and one or two absence probes per topic area. If your platform shows citations or sources with each answer (worth enabling everywhere it exists), grading is fast: the cited passage either is or is not the one you would have chosen. Three grades per probe: right passage surfaced, wrong passage surfaced, nothing useful surfaced.
The pattern of failures is the diagnosis. Wrong-passage failures cluster around content problems: two articles overlapping the same topic, or a passage whose heading promises more than its body delivers. Nothing-surfaced failures on paraphrase probes point to vocabulary gaps between how you write and how customers ask. Identifier failures point back to the hybrid-search question above. And absence probes that produce confident answers are not retrieval failures at all; route those to the hallucination playbook.
Fold the probe set into the regression pass from our QA testing protocol and re-run it after every significant content change. Retrieval quality tends to drift as content grows; the probe set is how you notice.
Fix misses from the content side
Most retrieval misses are repaired by editing content, not settings. Four edits cover the bulk of them.
Say it the way customers say it, at least once. Embedding models bridge vocabulary gaps, but they bridge shorter gaps more reliably. If every ticket says "double charged" and your article only ever says "duplicate payment," add the customer's phrasing to the article — in a heading, an opening line, or an FAQ entry within it. You are not keyword-stuffing; you are shortening the semantic distance the model must jump.
One topic per section, and headings that keep their promise. Retrieval operates on chunks, and a section that drifts across three topics produces a chunk that is near many queries and right for few. Opening a section with the question it answers, in question form, hands the embedding model a chunk shaped like the queries it must match — a structure the knowledge-base guide recommends for human readers too, which is a happy alignment.
Give identifiers a home. If customers ask by SKU or error code, make sure each code appears in the article that answers it, ideally with an alias line ("Error 4012, also shown as ERR_UPDATE_FAILED"). On hybrid search this makes the code findable; on pure semantic search it at least anchors the surrounding passage.
Delete the near-duplicates. When two articles half-cover the same topic, retrieval alternates between them and neither wins. Merge them. The probe set's wrong-passage failures will tell you exactly which pairs to merge first — fix the passage, not the answer, and the fix covers every future phrasing of the same question.
What this section deliberately does not cover: the question-first content audit, article structure, and writing for grounding, which belong to the knowledge-base guide, and the retrieval-breadth and grounding settings, which belong to the RAG build guide.
When keyword search is the right tool
Semantic search is the default in modern platforms, not a universal upgrade. If your content is a parts catalog, a status-code reference, or anything customers query by exact string, lexical search is not a legacy to escape but the correct tool, and bolting semantic search onto it can make lookup worse by returning near-matches where only exact matches are acceptable. If your knowledge base is a dozen FAQs, a menu bot answers them with no retrieval layer at all and no retrieval failures either; the arguments in when not to use a chatbot scale down to features. And if you are choosing a platform partly on retrieval quality, the products that expose citations and per-source visibility (Chatbase scored best on citation behavior in our testing; Tidio's Lyro and Botpress's knowledge nodes take different routes there) are easier to operate precisely because they make retrieval gradable. Rankings live in best AI chatbot, scored under our published methodology.
The 30-day habit
Retrieval maintenance compresses into one short loop. Weekly, skim the bot's fallback and unanswered-question logs for queries that should have matched existing content; each one is a free paraphrase probe, discovered by a real customer. Convert the best into permanent probe-set entries. Monthly, re-run the full probe set, apply the content fixes above to whatever regressed, and re-run once more to confirm. The trend to watch is the wrong-passage rate: it creeps up as content accumulates near-duplicates, and it is the earliest warning that your knowledge base needs a merge pass before it needs new articles. Where the fallback-reduction guide watches what the bot failed to answer and the hallucination playbook reads what it answered wrongly, this loop watches the layer in between: what the search served up for the bot to answer from.
Frequently asked questions
Do I need to configure semantic search on my chatbot platform?
Usually there is nothing to configure: platforms with knowledge-base features embed the whole retrieval stack, from embedding model to vector database, with no dials exposed. The work that remains yours is testing (the probe set above) and content. The exception worth hunting for in settings is a hybrid or keyword-boost option, which matters if your customers search by exact codes.
How is this different from testing my chatbot's answers?
Answer testing grades the final output: correct, wrong, or declined. Retrieval testing grades an earlier step: did the passage containing the right answer surface at all? A wrong answer with the right passage retrieved is a generation problem; a wrong answer with the wrong passage retrieved is a search or content problem. Separating the two tells you which fix to reach for, and citation features make the separation cheap to observe.
Why does my bot find some rephrased questions but not others?
Embedding models bridge meaning gaps of different sizes with different reliability. Phrasings close to your article's wording almost always match; idioms, slang, and industry jargon sit farther away and match less reliably, especially outside English. The fix is usually to add the customer's actual phrasing somewhere in the source article, which shortens the distance rather than hoping the model jumps it.
Does semantic search work in languages other than English?
Often, with a gradient: multilingual embedding models can match a question in one language to content in another, but quality varies by model and language pair. Run the paraphrase probe in every language you support before trusting it, and treat language detection and retrieval as separate things to verify; a bot can greet in flawless Spanish and still retrieve poorly from Spanish queries.
Can I just add more articles to fix retrieval misses?
Sometimes that is exactly wrong. If the probe set shows wrong-passage failures, the problem is usually overlapping or drifting content, and adding articles adds overlap. Merge before you write. Add new articles when absence probes and fallback logs show real questions with no covering content — demand-driven growth, per the knowledge-base guide.
Related guides
- Semantic search (glossary) — definition, the keyword/semantic/hybrid taxonomy, and the research behind meaning-based matching
- Vector database (glossary) — the storage and index layer executing every probe in this guide
- Retrieval-augmented generation (glossary) — the architecture that puts retrieval in front of a language model
- Build a chatbot knowledge base — the content work this guide's fixes plug into
- Build a RAG chatbot — routes and the four build-time settings assumed here
- Chatbot QA testing protocol — the regression discipline the probe set should join
- Reduce chatbot hallucinations — where absence-probe failures and confident wrong answers get handled
- Reduce chatbot fallback rate — mining the logs this guide turns into probes
- Best AI chatbot — retrieval-capable platforms, ranked under our published methodology
About this guide
Chatbotscape launched in 2026 as an independent review site for chatbot platforms. This guide is part of our SMB chatbot Academy. It is editorial guidance: the probe categories and content fixes are working practices for retrieval-backed bots, not guarantees, and the advice that keyword search sometimes beats semantic search runs against the AI industry's upgrade narrative deliberately. Platform capability notes are structural; the citation-behavior comparison reflects our published review testing. To flag an issue or share your results, write to editorial@chatbotscape.com.
Methodology
Retrieval mechanics follow the sources cited in our semantic search and vector database glossary entries, checked on the verification date in the frontmatter. Probe-set sizes and cadence numbers are operating heuristics, labeled as such, not measured benchmarks. Platform-specific claims (citation behavior, knowledge-feature design) trace to our published reviews per our methodology.
Last updated
15 July 2026 — Initial publication aligned to methodology v3.12.1. Next scheduled refresh: 15 October 2026.