Skip to content

GlossaryFloor 2 · The Harnessthe block and its bolted-on plates: what gets added to itFloor 2 · The Harness

vector database

No. 042 · v2026-08FR: base vectorielle

A vector database stores texts by their meaning rather than by their words, so as to retrieve those that resemble your question. Like a shop aisle where neighbouring items serve the same purpose: you find what you need without knowing the exact name.

What it is not

A vector database is not the memory of an AI system, and it is not RAG. It retains nothing of your exchanges by itself: it stores what it is given to store and returns it when queried. RAG is the complete approach, which consists in searching and then giving the model something to read; the vector database is only one means to that end, replaceable by a keyword search, a query on a conventional database or a simple file when the corpus is small. Confusing the two leads to buying a component where a chain had to be designed.

In depth

The principle

The principle rests on a single operation: turning a text into a series of numbers that situates its meaning, then comparing these positions with one another. Two passages that speak of the same thing in different words end up as neighbours, which no exact-word search allows. Querying the database therefore amounts to situating the question in the same way, then returning the closest passages. The database understands nothing: it measures proximities, and it is the model, further down the chain, that will read the passages returned.

What happens beforehand

The quality of a vector database is decided before the search, when the corpus is prepared. How the documents are cut up decides what can be retrieved: passages that are too short lose the context that made them intelligible, too long they drown the useful information in filler. The way texts are situated counts just as much, and changing it obliges you to redo everything, since the old positions are no longer comparable with the new ones. Finally, proximity of meaning ignores logic: a clause and its exception resemble each other, so do a procedure and its repealed version, and nothing in the measurement says which one is authoritative.

The trap

The first trap is to believe that resemblance amounts to relevance. A database always returns something, even when the answer exists nowhere in the corpus, and a model that receives an off-topic passage answers with the same assurance as if it were right. The second is forgetting permissions: indexing a corpus flattens documents which, in their system of origin, were not visible to everyone, and search by meaning does not restore those partitions by itself. The third is upkeep: a corpus that is fed without ever being pruned accumulates contradictory versions, and the system ends up faithfully quoting an obsolete text.

Relations where the neighbours live

Check 3 questions · click your answer

Level 1 · Recognise

You ask how to book your leave, and the system retrieves a page entitled “absence and rest”. How is that possible?

Level 2 · Distinguish

You install a vector database. Does your assistant now remember your exchanges?

Level 2 · Distinguish

A documentation assistant answers off-target on a question whose answer appears in no document. What has happened?

No. 042 · v2026-08 · first written in · editorial responsibility Anthony Capirchio

Lexigraph, "Vector database", v2026-08, https://www.lexigraph.org/en/vector-database/, CC BY 4.0.

Report

What goes with your message

Entry · Vector database
No. 042 · v2026-08 · /en/vector-database

What is this about
0 / 600

It is used to reply to you, and for nothing else. What is recorded