For two years I treated our internal wiki like a filing cabinet. You put documents in, you remembered roughly where they were, and when you needed something you went digging. The search bar was a polite fiction — it returned a wall of exact-match hits that almost never included the page I actually wanted, especially when I phrased a question the way a person asks rather than the way a document title is written.
"How does a contractor get VPN access?" would surface a dozen pages that happened to contain the words "contractor," "VPN," and "access" in unrelated sentences. None of them was the onboarding runbook. I'd end up messaging the one colleague who always knew, which is its own quiet tax on the team.
The cost of this is not small. McKinsey has estimated that knowledge workers spend roughly 19% of their work week — about an hour and a half a day — just searching for and gathering information. And the interruption isn't free even once you find the answer: Asana's Anatomy of Work research puts the time to refocus after a disruption at around 23 minutes, with people hopping between roughly 35 different apps in a single day. Every failed search is a small context-switch cost that quietly compounds across a team.
So I stopped thinking of the knowledge base as a filing cabinet and started thinking of it as something that should understand questions. That shift — from keyword matching to semantic retrieval — was the first half of the lesson. The second half took me longer, and it's the part nobody writes about: even a retrieval system that understands intent can choke on documents that are simply too fat and too messy for the pipeline that follows it.
The filing-cabinet problem
Keyword search answers the question "which documents contain these words?" That is not the question you asked. You asked "how do I do the thing?" and the words you used don't have to match the words the author used. Authors write "remote network access provisioning for external vendors." You ask "how does a freelancer get on the VPN." Different words, same intent, zero overlap in tokens.
This is why a big, well-maintained wiki can feel useless: the more documents there are, the more keyword noise there is, and the less likely the right page surfaces before you give up and tap a teammate on the shoulder.
There's a related data problem that makes this worse. Research from Komprise has found that somewhere between 60 and 70 percent of enterprise NAS data is untouched for more than 90 days yet still sitting on expensive primary storage. A lot of what we store is cold, but the handful of questions we ask again and again deserve to be answerable in seconds. The bottleneck was never storage. It was retrieval — and, as I'd learn, the shape of the documents themselves.
What "semantic" actually buys you
Semantic retrieval flips the question. Instead of matching strings, it matches meaning. A question and a document are both turned into a representation that captures what they're about, and the system finds the document whose meaning sits closest to the question's meaning — even when they share no words at all.
I'm deliberately not going to describe the machinery. The useful mental model is simple: you stop asking "do these strings overlap?" and start asking "are these about the same thing?"
When we first moved our internal retrieval over, it was better, but not dramatically. Casual, spoken questions — the kind people actually type when they're in a hurry — still missed more often than I liked. Then we did a pass on the corpus itself, and this is where document compression entered the picture in a way I didn't expect to matter. We weren't zipping files to save disk. We were slimming documents at the point before they ever reached retrieval — cutting the boilerplate, the stale headers, the duplicated legal blocks — so that what entered the pipeline was the part that actually carries meaning. The craft, it turns out, is keeping that slimmed document readable. Shrink it carelessly and you don't save anything useful; you just hand the next stage a document that has lost the thread.
A recent step in that area is worth mentioning because it changed how portable the whole approach is. Pre-retrieval compression was adapted to hold up steadily across several mainstream large models, so the slimmed document stays readable and usable regardless of which model ends up consuming it. In practical terms: you can shrink a fat document and it won't quietly turn into gibberish for the model downstream. That decouples the compression decision from whichever model you happen to be using this quarter.
After we tightened both the retrieval and the pre-retrieval compression, colloquial and spoken-style queries started resolving to the right page reliably. In a batch of regression questions we threw at it, covering both casual and formal phrasings of the same ask, every one landed on its target passage. And the end-to-end time from question to answer dropped from several hundred seconds to roughly a dozen.
I want to be careful not to dress up a single number as a promise. "Several hundred seconds" was the bad old tail, not the everyday median, and "a dozen" depends on corpus size and the hardware underneath. But the direction is real, and it's the difference between a tool people put up with and a tool people trust.
Why we resisted it for so long
Admitting the wiki was broken meant admitting we'd been curating a library nobody could browse. There's also a comfort in keyword search: it feels deterministic, even while it's failing you. Semantic retrieval feels like a gamble at first because the results aren't obviously "correct" by string match. And slimming documents feels risky — what if you cut the wrong sentence? It took a week of using it before you notice you've stopped messaging that colleague.
The mindset shift
The change that mattered for me wasn't technical. It was realizing that a knowledge base has three jobs, not one: store things, make them findable in plain language, and keep them in a shape the downstream reader can actually use. A lot of wikis manage only the first. RAG — retrieval-augmented generation, where you retrieve relevant context and ground an answer in your own documents — only works as well as the context you feed it. If the retrieved passage is bloated or broken, the answer inherits the flaw. Compression and retrieval are two sides of the same seam; you can't fix one and ignore the other.
The privacy side mattered to us, and I'll keep it brief: for a company knowledge base, the documents are assets teams are rightly cautious about exposing. Running retrieval where the data never leaves your own network isn't a nice-to-have; for plenty of teams it's the condition under which such a tool gets approved to begin with. Local-first, private deployment is the framing that makes the whole idea permissible. If you're evaluating options, it's worth looking at how a vendor treats data residency by design rather than as a setting — we've collected more on that angle at https://www.uglypear.com/en/products/.
The quiet part nobody mentions
Here's the part I didn't expect. Once the retrieval got good, the team's behavior changed before the tool's metrics did. For a month, people still messaged that colleague out of habit, then verified with the tool afterward. The tool was right every time and they still didn't trust it. Adoption turned out to be a social problem, not a technical one.
What fixed it was visibility. When an answer came back, we showed the source page it came from. People didn't need the answer to be perfect; they needed to see why it was plausible. A citation turned a black box into something they could sanity-check in two seconds.
What I'd tell past me
If you're looking at a wiki nobody opens, don't start by writing more documentation. Start by making the documentation findable in the words people actually use, and by making sure the documents themselves aren't so bloated that the right sentence drowns. Match meaning, not strings. Cover the whole corpus, including the dusty back catalog nobody has touched in a year. Slim documents before they enter the pipeline, but keep them readable. And if the data is sensitive, insist on a setup where it stays inside your own walls.
That's the heart of it. The rest is just the slow work of earning the team's trust back after years of bad search. If you want to go deeper on how retrieval and compression fit together, we've written more at https://www.uglypear.com/en/blog/.
Try it now
- Explore how UglyPear Data approaches private, local-first retrieval: https://www.uglypear.com/en/products/
- Read more field notes and deep dives: https://www.uglypear.com/en/blog/
- Start at the homepage to see the full picture: https://www.uglypear.com/en/
FAQ
Q: Why did my keyword search fail even when the wiki was well maintained?
A: Keyword search answers "which documents contain these words," not "how do I do the thing." When authors and askers use different vocabulary, the right page can sit buried under noise. A bigger wiki just means more noise, so the correct page surfaces later — or not at all.
Q: What does "pre-retrieval compression" actually mean in practice?
A: It means slimming a document — cutting boilerplate, stale headers, and duplicated legal blocks — before it ever reaches retrieval or a context window, so the part that carries meaning is what enters the pipeline. The discipline is keeping the slimmed document readable; cut too aggressively and it becomes broken, not smaller.
Q: How long did it take the team to actually trust the new tool?
A: Longer than the technology needed. For about a month people still messaged the colleague who "knew everything," then quietly verified with the tool. Trust came from visibility — showing the source page behind each answer — more than from any accuracy gain.
Q: Doesn't slimming documents risk cutting something important?
A: It can, which is why readability is the guardrail. The goal is to remove content that carries no answer-bearing signal (duplicated headers, stale boilerplate), not to paraphrase the substance. A slimmed document should still be one a human or a model can follow end to end.