Track lessons
- 1How a language model works: parameters and inferenceVideo 3 min
- 2How AI finds text by meaning: embeddings and hybrid searchVideo 3 min
- 3How AI answers from verified sources: RAGVideo 3 min
- 4In-house enterprise AI: VM, GPU node and proxyVideo 2 min
- 5Why one machine is rarely enough: memory and queuesVideo 2 min
- 6Where your data goes: external models vs in-house proxyVideo 3 min
Search understands intent — except when exact codes matter
- Embeddings translate text paragraphs into map coordinates so «crushed pallet» finds «goods damaged in transit».
- Two traps catch pilot teams off guard: exact product codes (AB-17 vs AB-71) and scanned PDFs missing an OCR text pass.
- Production search combines three pieces: meaning map + keyword match (BM25) + strict folder/status metadata.
What this means for you: Ask for hybrid search plus OCR + revision tags — vector similarity alone confuses SKUs and superseded specs.
Digital avatar and synthetic voice of Lorenzo Dalci. All examples and companies are fictional.
Close on the map means similar meaning.
Illustrative projection · fictional clusters Pick everyday business requests and watch where coordinates land — then compare both traps: false neighbours and exact codes.
How text maps to search coordinates
Choose a phrase and watch where the model maps it.
Critical cases: false neighbour and exact code
[ … ]
The query starts at centre: pick a case to see where it lands.
Real embeddings live in hundreds of dimensions; here 2D screen coordinates illustrate domain clustering accurately.
Digital avatar and synthetic voice of Lorenzo Dalci. All examples and companies are fictional.
Decision makerSearch quality is won inside document hygiene · pre-indexing checks, pitfalls and 3 supplier questionsDeep dive collapsed · click to expand
Search quality is won inside document hygiene
Mandatory hygiene before indexing
Hybrid search on day one
How to assess it
Never accept pure vector search for technical, legal or warehouse archives containing part codes, DIN numbers or invoice IDs.
Separate active vs superseded drafts
How to assess it
Tag document status, effective date, site and department in index metadata so old PDFs cannot outrank live procedures.
Audit scanned documents via OCR
How to assess it
Supplier delivery notes and legacy manuals often sit as flat raster PDFs; un-OCRed files stay invisible to every search engine.
What you gain
- Teams locate procedures fast even when using informal everyday terms.
- Eliminates costly part-code mismatches across engineering and warehouse teams.
- Surfaces clear gaps (missing OCR, conflicting revisions) early in pilot setup.
What you manage
- False neighbours pulling instructions for another assembly line or voltage range.
- Zero hits returned silently because scanned PDFs contained image pages only.
- Deleted/renamed documents lingering in vector indices unless delta sync runs cleanly.
Why retrieval stumbles before an answer is ever written
- Before
- Semantic search ranks AB-71 ahead of AB-17
- After
- BM25 flags the exact part number
Illustrative examples
Three supplier questions
- «Does retrieval fuse vector embeddings with BM25 lexical keyword matching?»
- «How are scanned PDFs detected and processed with OCR before chunking?»
- «Can users filter strictly by site, language and Active status prior to ranking?»
Timing, prerequisites and examples
Pilot prep: audit 50 representative files for OCR readability and naming/status conventions.
- List shared folders containing official policies vs raw draft folders.
- Identify core identifier patterns (part numbers, customer IDs, batch lots).
- Define ownership for updating or retiring superseded procedure files.
Industrial maintenance
A technician looks up part AB-17. Semantic embeddings rank AB-71 higher because surrounding descriptions read almost identically; only BM25 flags exact digits.
Logistics & claims
Warehouse scans signed delivery receipts daily without running OCR. Searches for damage notes miss half the archive completely without throwing any error.
Digital avatar and synthetic voice of Lorenzo Dalci. All examples and companies are fictional.
Technical leadChunking, Reciprocal Rank Fusion and metadata pre-filtering · dense+BM25 RRF fusion, chunk granularity, OCR gates and vector privacyDeep dive collapsed · click to expand
Chunking, Reciprocal Rank Fusion and metadata pre-filtering
Chunk boundary discipline
Oversized chunks dilute vector specificity; tiny fragments strip table context and headings. Store document hierarchy headings on every chunk.
Hybrid fusion (Dense + BM25 + RRF)
Merge dense cosine scores with BM25 lexical ranks via Reciprocal Rank Fusion so exact alphanumeric SKUs always anchor top ranks.
Hard pre-filtering on metadata
Apply tenant/ACL/status predicates before ANN index traversal rather than filtering post-topk, avoiding empty final contexts.
Embeddings still reveal source content
Research demonstrates embeddings are nearly invertible back to original phrasing: protect vector indices at the same security tier as raw text files.
Technical sources and verified references (6)
- Reimers & Gurevych (EMNLP 2019) — Sentence-BERT: Sentence Embeddings using Siamese BERT-Networks — Sentence-level vector representations for semantic similarityVerified on 2026-11-25
- Karpukhin et al. (EMNLP 2020) — Dense Passage Retrieval for Open-Domain Question Answering — Dual-encoder dense retrieval for multi-document knowledge basesVerified on 2026-11-25
- Robertson & Zaragoza (2009) — The Probabilistic Relevance Framework: BM25 and Beyond — Standard exact-term lexical ranking baselineVerified on 2026-11-25
- Muennighoff et al. (EACL 2023) — MTEB: Massive Text Embedding Benchmark — Cross-task embedding evaluation benchmarkVerified on 2026-11-25
- Morris et al. (EMNLP 2023) — Text Embeddings Reveal (Almost) As Much As Text — Security finding: dense vectors require strict access controlsVerified on 2026-11-25
- Cormack, Clarke & Büttcher (SIGIR 2009) — Reciprocal Rank Fusion — Rank merging across semantic and lexical retrieversVerified on 2026-11-25
Digital avatar and synthetic voice of Lorenzo Dalci. All examples and companies are fictional.
For learnersTest meaning closeness vs false neighboursHighlighted for your level
Test meaning closeness vs false neighbours
Try every phrase and both critical edge cases in the interactive map above, then verify your choices below.
1 · Open files and spot false neighbours vs exact codes
To doIllustrative exercise Line B maintenance asks: «Replacement tolerance on spindle AB-17, Line B?». Vector-only search retrieves 4 passages — open each card first.
Open the files below to inspect them before choosing:
2 · Why ALL-2021 never shows up in searches
To doIllustrative exercise Engineering complains that legacy annex ALL-2021 stays completely missing across both semantic and exact SKU queries.
GlossaryKey terms in this lesson (7)Highlighted
- Embedding
- Translating the meaning of text into numbers; passages with similar meaning land close together on the map.
- Chunk
- A short passage (a few paragraphs) sliced from a document for indexing and retrieval.
- Vector index
- A searchable database storing the embeddings of every chunk alongside metadata (document ID, revision, department, permissions).
- Indexing
- Reading source documents, splitting them into chunks and computing embeddings; it must be updated whenever a document changes.
- False neighbour
- A chunk that sits close by in meaning but is wrong for the request: wrong site, wrong department or an outdated revision.
- Hybrid search
- Combining meaning-based search (embeddings) with exact keyword or part-code matching (BM25).
- OCR
- Optical Character Recognition for scanned pages and images: without OCR, a scan contains no searchable words.
What you learnt.
- Understood how meaning coordinates find paraphrased text without identical wording.
- Identified false neighbours, part-code ambiguity (AB-17/AB-71) and missing OCR scans.
- Completed all 5 verification checks with clean hybrid-search logic.
Lesson 2 takeaway · Embeddings & Hybrid Search
Educational self-assessment sheet generated locally inside your browser. Zero data sent over the network; not a compliance audit.
Did it click? Put it to the test.
Answers remain inside your browser: missing one brings in a fresh question.














