Modern RAG, Part 3: Vector Search Finds Meaning, Not Just Words

Modern RAG, Part 3: Vector Search Finds Meaning, Not Just Words
July 20, 2026
The third part of our series about modern Retrieval-Augmented Generation systems.

In the previous post I explained why keyword search and BM25 are still important. They are strong when the query contains exact terms like error codes, part numbers, or machine names.

But exact matching is not enough when users and documents use different phrasing. That is exactly where vector search becomes useful – and that is one of the reasons why it has become so important in RAG systems.

Vector search works differently from keyword search. Instead of matching exact words, it tries to match meaning.

The system uses an embedding model to convert text into a vector.

For example, the query:

query = "machine stops after gripper replacement" 

is converted into something like:

query_vector = [0.21, 0.54, 0.10, ...] 

Documents are also converted into vectors.

The system then compares the query vector with the document vectors and finds the most similar ones.

A common method for comparing vectors is cosine similarity. The idea is to measure the angle between two vectors. If two vectors point in a similar direction, the texts are considered semantically similar.

This allows the system to find documents that do not use the exact same words, but still talk about something similar.

For example, imagine these two documents:

Document 1: 
The machine stops with servo alarm F217 after the gripper module was replaced. 

Document 2: 
After replacing the handling unit, recalibrate the servo end positions. 

Keyword search might miss Document 2 if the query contains “gripper” but the document uses “handling unit”. Vector search might still find it because the meaning is similar.

That is very useful.

It helps when documents use synonyms, different terminology, abbreviations, or slightly different phrasing. In real-world enterprise knowledge bases, this happens all the time.

The same thing can be described differently in a service ticket, a manual, a meeting note, and a product specification. Vector search helps connect these pieces.

But it also has a weakness.

It can sometimes be too fuzzy. It understands similarity, but technical systems often require exactness.

Zum Beispiel:

F217 
F271 
F127 

These look similar as text. They could all be understood as servo alarm codes. But they may describe completely different problems.

The same applies to:

machine variant A 
machine variant B 

software version 2.1 
software version 2.2 

part number 700-1842 
part number 700-1843 

In technical queries, small differences can completely change the answer.

That is why vector search alone is not sufficient. It is excellent for semantic recall. It finds related concepts and similar meanings. But it should not be the only retrieval method when exact identifiers matter.

The practical solution is not keyword search or vector search. The practical solution is usually both. That leads us to hybrid search.

In summary: Vector search is powerful because it can find meaning, not just words. It helps when the query says “gripper” but the document says “handling unit”. But this flexibility also carries a risk. In technical systems, similar does not always mean correct. In the next post, I will explain why vector search alone can fail in real-world RAG systems.

Share:

Richard is a member of the SABO core team, where he combines deep technical expertise with a focus on clean design and best practices. As a Senior Machine Learning Engineer and Software Architect, he works on intelligent systems such as conversational assistants and AI-driven industrial solutions. His work bridges modern software architecture with real-world machine learning applications, often involving MLOps and scalable infrastructure. In his free time, he enjoys learning new languages and exploring how they shape the way we think and communicate.

Article collaborators

SABO Newsletter icon

SABO NEWSLETTER

Thank you! Your submission has been received!
Oops! Something went wrong while submitting the form.

About SABO Mobile IT

We focus on developing specialized software for our customers in the automotive, supplier, medical and high-tech industries in Germany and other European countries. We connect systems, data and users and generate added value for our customers with products that are intuitive to use.
Learn more about sabo