AI GLOSSARY · LOCAL AND OPEN MODELS

Milvus

Markdown version

Definition

Milvus is an open-source vector database: software that stores embeddings (lists of numbers that capture meaning) with metadata and finds the closest matches to a query. It runs from a laptop to large clusters.

Also called: Milvus vector database, Milvus DB, Milvus database, Milvus Lite, Zilliz Milvus.

In plain language

Milvus is a database designed for searching by meaning instead of by exact words. You give it vectors, which are lists of numbers that stand for a piece of text, an image or a sound, and later ask for the stored items most similar to a new one. An AI app can use it to fetch relevant material before answering. It is a store and search engine, not an AI model. The results depend on the quality of the embeddings you give it. Larger setups need a cluster of servers to run and maintain, which carries cost and operating work.

Technical definition

Milvus stores vectors alongside structured metadata and retrieves the nearest entities to a query vector. Its documentation lists in-memory and on-disk index types, including HNSW, IVF, FLAT (brute-force), SCANN and DiskANN, plus quantization-based variants. It ships in three deployment forms: Milvus Lite, a lightweight Python library for prototyping; Milvus Standalone, a single-machine server in one Docker image; and Milvus Distributed, a cloud-native design for Kubernetes clusters. The README says it is written in Go and C++, licensed under Apache 2.0, with Zilliz as its major contributor.

Worked examples in this catalogue

Catalogue examples point at a skill, guide or coding tool listed on this site, with what to run and what you see. An example marked illustrative describes the item from its own documentation; it was not executed for this page. Platform Scores are our assessment under a published method, not a safety guarantee.

  1. Guide · Illustrative, not executed

    What Is RAG? Retrieval-Augmented Generation Explained

    What you see
    The guide walks through indexing and querying, then a worked chunking example in which a sentence stored alone loses the company and quarter it belongs to.
    Why it exercises the concept
    A vector database such as Milvus holds the indexed chunks. The guide shows the indexing and query phases that use it.
  2. Skill by Skill Almanac · Illustrative, not executed

    rag-chunking-planner 56/100 · Provisional, not yet measuredScored · Method v0.2 · How we score

    What you see
    Your documents split by three chunking strategies, with defects and offline recall reported for each, so chunk settings are chosen with numbers.
    Why it exercises the concept
    Whatever you insert into a Milvus collection comes from chunking. The skill measures that step before the database exists.
  3. Skill by Skill Almanac · Illustrative, not executed

    library-docs-lookup 52/100 · Provisional, not yet measuredScored · Method v0.2 · How we score

    What you see
    An answer to a library question drawn from the installed package's own files, with file and line cited.
    Why it exercises the concept
    It is retrieval for a coding agent that reads installed files directly instead of a vector index, so it shows the retrieve-then-answer idea without a database.

How it shows up when you use agents

Milvus sits behind an application, not in front of you. A support bot, a documentation search or an agent's memory feature may query it for stored passages and place them in the prompt. This is the retrieval step of retrieval-augmented generation. A coding agent may reach it through an MCP server that wraps a query tool.

Milvus is a vector database, so it depends on embeddings created elsewhere. If the embedding model for queries differs from the one used to load data, matches are poor. Its documentation lists several index types, such as HNSW and FLAT (brute-force); approximate indexes generally trade some recall for speed, so one can miss a true nearest neighbour. When semantic search results look off, test with a small set of known questions and check which passages came back before changing the prompt.

Choose the deployment to match the job. The documentation presents Lite for prototyping, Standalone for one machine and Distributed for Kubernetes clusters. Next step: read What is RAG, then measure your chunking with the RAG chunking planner before loading a collection.

Common confusions

  • Milvus versus Zilliz. Milvus is the open-source project. Zilliz is the company the README names as its major contributor.
  • Milvus versus an embedding model. Milvus stores and searches vectors. A separate model turns text into vectors.
  • Vector database versus ordinary database. An ordinary database matches exact values. A vector database ranks stored items by closeness to a query vector, as IBM describes it.
  • Myth. Adding a vector database stops a model from guessing. It supplies text to ground on, but the retriever can miss the right passage and the model can still misread it.

Terms that mention Milvus

1 terms mention this one

More in Local and open models

Next steps

  1. What Is RAG? Retrieval-Augmented Generation Explained The long-form guide.
  2. rag-chunking-planner A skill that exercises it.
  3. Embedding Related term.
  4. Retrieval-augmented generation (RAG) Related term.
  5. All glossary terms A to Z and by family.

Sources

Definitions are written by Skill Almanac from these sources. An independent review of the sources and examples is in progress. Wikipedia is never the only source.

Review record

Independent review in progress

Drafted by claude-sonnet-5-5. An independent review of its sources and examples is in progress.

This entry is still in review, so it is not listed in search engines yet.

Change log (3)
  • : First version.
  • : Verifier pass: applied verifier corrections to sourcing and wording.
  • : Corrected explicit MCP-server anchor; link-only verification does not assert complete content approval.