Weaviate: A Vector Database With Built-In Vectorisation

Weaviate: A Vector Database With Built-In Vectorisation

Weaviate is a vector database that will do the embedding for you, which is either a convenience or an unwanted dependency depending on your setup.

Vectorisation modules

The distinguishing feature. Weaviate can call an embedding model itself, through modules for Ollama, OpenAI, Cohere, Hugging Face and others, so you insert text and it stores the vector.

That removes a step compared with Qdrant, where you embed before inserting. Whether that is good depends on taste: it is less code, and it couples your database to your embedding pipeline and makes the database a client of a model service.

For self-hosting, pairing it with a local Ollama keeps everything on your hardware, which our running LLMs locally guide covers.

Weaviate combines vector similarity and BM25 keyword scoring in one query with a tunable weighting.

This matters in practice more than benchmark recall numbers do. Pure vector search is poor at exact matches: product codes, names, error strings. Hybrid search handles both, and it is the main functional argument for Weaviate over a pure vector store.

The API

GraphQL alongside REST, which is unusual in this category. Expressive for nested filtered queries, and another thing to learn if you do not already use GraphQL.

Objects live in collections with a schema, including cross-references between collections, so it models relationships in a way flatter vector stores do not.

Choosing

Weaviate for hybrid search and built-in vectorisation. Qdrant for a lighter single binary with excellent filtering. Milvus for very large scale. OpenSearch or pgvector if you already run them.

Operational notes

docker compose up -d
curl http://localhost:8080/v1/meta

Go binaries with persistent volumes, deployable via our Compose guide.

Operational caution

Enable authentication. The default development configuration is anonymous, and a vector store usually contains a searchable copy of your documents.

Module configuration is per-collection and effectively fixed once data is loaded: changing the vectoriser means re-importing. Decide before you load a million objects.

License

Weaviate is released under the BSD 3-Clause License.