PROVIDER - Vector database with hybrid search
Weaviate
Weaviate is an open-source vector database from the Netherlands with hybrid BM25 and vector retrieval, modular vectorisers, and native multi-tenancy for semantic search and SaaS knowledge bases.
4.2pts
Service Overview
Weaviate is an open-source vector database from a Netherlands team with modular design, plugging in vectoriser modules for text and images that generate embeddings on write, plus hybrid retrieval combining BM25 keywords with vectors.
For Backend & Database work its value is tunable retrieval quality, since pure vector search struggles with proper nouns and short queries while Weaviate fuses keyword and vector rankings, and multi-tenancy isolates SaaS-style knowledge bases.
The limits are complexity and resources, since modules and hybrid parameters demand tuning experience, self-hosting is memory hungry, and managed plans bill by resources that large deployments should compare against managed-only alternatives.
Key Strengths
- Hybrid retrieval fuses keyword and vector rankings with configurable weights
- Modular vectorisers generate embeddings during writes
- Native multi-tenancy isolates data for SaaS scenarios
- Open source for self-hosting alongside an official managed cloud
Product Ecosystem
Hybrid retrieval
BM25 and vector results fuse by weight, tuned together with chunking to avoid rankings that match keywords but drift semantically.
Multi-tenancy
Tenant-isolated collections filter at query time, cleaner for SaaS knowledge bases than a tenant metadata field.
Modules and self-hosting
External or local embedding services plug in, with memory and disk IO sizing needed for self-hosting.
Limitations
- Many module and hybrid parameters require tuning experience beyond defaults
- Self-hosting is memory hungry and can exceed expected cost
- Ecosystem and commercial support are smaller than managed-only options
- Vectorisation quality follows the chosen module and model, with Chinese results needing tests
Use Cases
- On-site semantic search (★★★★) - Hybrid retrieval improves proper-noun recall
- Multi-tenant SaaS knowledge bases (★★★★★) - Native tenant isolation
- Teams avoiding operations (★★★) - Use the managed cloud or Pinecone
- Very large pure vector workloads (★★★☆) - Compare managed-only options
Pricing
| Plan | Price | Scope |
|---|---|---|
| Open-source self-hosting | $0 | Free with server and operations cost |
| Cloud sandbox | $0 | Limited trial allowance |
| Cloud paid | Per resource size | Elastic scaling |
Self-hosting is free but memory heavy while cloud plans bill by resources. Cost embedding calls separately, since external embedding APIs can exceed the database cost itself.
FAQ
-
Weaviate or Qdrant? Weaviate for built-in hybrid search and multi-tenancy, Qdrant for lean resource use and filtered search. Both are open source and self-hostable.
-
How to weight hybrid search? Start with equal weights and evaluate recall and ranking on real queries, raising keyword weight for Chinese content.
-
Can it handle image search? Yes through image vectoriser modules, though storage and compute cost need assessment with separate collections from text.
Code Examples
Create a collection, insert objects, and read them back with the Python client
import weaviate
from weaviate.classes.config import Configure, DataType, Property
client = weaviate.connect_to_local()
client.collections.create(
name="Document",
vectorizer_config=Configure.Vectorizer.none(),
properties=[
Property(name="title", data_type=DataType.TEXT),
Property(name="body", data_type=DataType.TEXT),
],
)
docs = client.collections.get("Document")
docs.data.insert({"title": "first", "body": "hello weaviate"}, vector=[0.1, 0.2, 0.3])
for obj in docs.query.fetch_objects(limit=3).objects:
print(obj.uuid, obj.properties)
Configure.Vectorizer.none() means callers supply vectors; with a built-in module such as text2vec-openai you omit vector at insert time.
Hybrid search combining keywords and vectors
from weaviate.classes.query import HybridFusion
docs = client.collections.get("Document")
res = docs.query.hybrid(
query="hello weaviate",
alpha=0.5,
fusion_type=HybridFusion.RELATIVE_SCORE,
limit=5,
return_metadata=["score"],
)
for obj in res.objects:
print(obj.properties["title"], obj.metadata.score)
alpha near 1 leans vector search and near 0 leans BM25 keywords; for Chinese content confirm that the vectorizer module tokenizes and models the language well.
Community & Resources
Communities and official channels
- Official documentation — Authoritative notes on collection schema, vector indexes, and modules.
- GitHub repository — Go engine source with index and memory tuning discussions in issues.
- Stack Overflow: weaviate — Questions on schemas, module integration, and recall.
Learning resources and tools
- Quickstart — The shortest path from launch to first hybrid query.
- Python client — v4 client source and usage samples.
- Weaviate Academy — Vendor courses organized around search and RAG scenarios.
- Docker installation guide — Parameters for local and single-node deployments.