---
id: "weaviate"
type: "component"
kind: "vector-database"
provider: "default"
category: "data"
docs: "https://docs.weaviate.io/weaviate/config-refs/indexing/vector-index"
url: "https://localhost:3000/catalogue/components/weaviate"
---

# Weaviate

Open-source vector database with an HNSW index, cosine distance and built-in BM25 hybrid search.

| | |
|---|---|
| Provider | [default](https://localhost:3000/catalogue?provider=default) |
| Kind | [Vector database](https://localhost:3000/catalogue/kinds/vector-database) |
| Category | Data |
| Official docs | [https://docs.weaviate.io/weaviate/config-refs/indexing/vector-index](https://docs.weaviate.io/weaviate/config-refs/indexing/vector-index) |

## Properties

| property | type | values | required | kind default | this component |
|---|---|---|---|---|---|
| `dimensions` | integer | — | no | — | inherited |
| `distanceFunction` | enum | `cosine`, `dot`, `l2-squared`, `manhattan`, `hamming` | no | "cosine" | inherited |
| `distanceMetric` | enum | `cosine`, `euclidean`, `dot-product` | no | — | **"cosine"** |
| `hybridSearch` | boolean | — | no | false | **true** |
| `indexType` | enum | `flat`, `hnsw`, `ivf`, `disk-ann`, `lsh` | no | — | **"hnsw"** |
| `managed` | boolean | — | no | false | **false** |
| `metadataFiltering` | boolean | — | no | false | **true** |
| `multiTenancy` | boolean | — | no | false | inherited |
| `namespaces` | boolean | — | no | false | **false** |
| `quantization` | enum | `none`, `scalar`, `product`, `binary` | no | "none" | **"none"** |
| `replicas` | integer | — | no | — | **1** |
| `vectorIndexAlgorithm` | enum | `hnsw`, `flat`, `dynamic` | no | "hnsw" | inherited |

Bold values are the ones this component pins.

## Rules that apply · 0

No rule selects this kind or its category.

## Other products of the same kind · 23

- [Alibaba Cloud Milvus](https://localhost:3000/catalogue/components/alibaba-milvus.md) `alibaba-milvus` — alibabacloud
- [Amazon S3 Vectors](https://localhost:3000/catalogue/components/aws-s3-vectors.md) `aws-s3-vectors` — aws
- [Agent Memory](https://localhost:3000/catalogue/components/cloudflare-agent-memory.md) `cloudflare-agent-memory` — cloudflare
- [Cloudflare Vectorize](https://localhost:3000/catalogue/components/cloudflare-vectorize.md) `cloudflare-vectorize` — cloudflare
- [Chroma](https://localhost:3000/catalogue/components/chroma.md) `chroma` — default
- [Deep Lake](https://localhost:3000/catalogue/components/deeplake.md) `deeplake` — default
- [Epsilla](https://localhost:3000/catalogue/components/epsilla.md) `epsilla` — default
- [KDB.AI](https://localhost:3000/catalogue/components/kdb-ai.md) `kdb-ai` — default
- [LanceDB](https://localhost:3000/catalogue/components/lancedb.md) `lancedb` — default
- [Marqo](https://localhost:3000/catalogue/components/marqo.md) `marqo` — default
- [Milvus](https://localhost:3000/catalogue/components/milvus.md) `milvus` — default
- [MyScale](https://localhost:3000/catalogue/components/myscale.md) `myscale` — default
- [pgvector](https://localhost:3000/catalogue/components/pgvector.md) `pgvector` — default
- [pgvectorscale](https://localhost:3000/catalogue/components/pgvectorscale.md) `pgvectorscale` — default
- [Pinecone](https://localhost:3000/catalogue/components/pinecone.md) `pinecone` — default
- [Qdrant](https://localhost:3000/catalogue/components/qdrant.md) `qdrant` — default
- [turbopuffer](https://localhost:3000/catalogue/components/turbopuffer.md) `turbopuffer` — default
- [Vald](https://localhost:3000/catalogue/components/vald.md) `vald` — default
- [Generic vector database](https://localhost:3000/catalogue/components/vector-database.md) `vector-database` — default
- [Vespa Cloud](https://localhost:3000/catalogue/components/vespa-cloud.md) `vespa-cloud` — default
- [Zilliz Cloud](https://localhost:3000/catalogue/components/zilliz-cloud.md) `zilliz-cloud` — default
- [DigitalOcean Vector Databases](https://localhost:3000/catalogue/components/digitalocean-vector-database.md) `digitalocean-vector-database` — digitalocean
- [Vertex AI Vector Search](https://localhost:3000/catalogue/components/google-vertex-ai-vector-search.md) `google-vertex-ai-vector-search` — gcp

## Use it in a design

```yaml
nodes:
  - { id: "weaviate", component: "weaviate" }
```

## Source (`component` YAML, verbatim)

```yaml
# yaml-language-server: $schema=../../schema/component.schema.json
# Weaviate: open-source vector database with built-in hybrid (BM25 plus vector) search.
# "Vector index" and "Distance metrics": HNSW is the default index and cosine the default distance.
# "Collection definition": multi-tenancy is off unless enabled, quantization is not applied unless
# configured, and the replication factor of a new collection is 1.
schemaVersion: "1"
type: "component"
id: "weaviate"
kind: "vector-database"
provider: "default"
docs: "https://docs.weaviate.io/weaviate/config-refs/indexing/vector-index"
defaults:
  indexType: "hnsw"
  distanceMetric: "cosine"
  quantization: "none"
  metadataFiltering: true
  hybridSearch: true
  namespaces: false
  replicas: 1
  managed: false
properties:
  multiTenancy:
    type: "boolean"
    default: false
  vectorIndexAlgorithm:
    type: "enum"
    values: ["hnsw", "flat", "dynamic"]
    default: "hnsw"
  distanceFunction:
    type: "enum"
    values: ["cosine", "dot", "l2-squared", "manhattan", "hamming"]
    default: "cosine"
```

Human page: https://localhost:3000/catalogue/components/weaviate
