Azure (Microsoft) logo

Skill

documentdb-vector-search

implement vector search in Azure DocumentDB

Covers Azure Database Data Modeling Search

Description

Vector search best practices for Azure DocumentDB using `cosmosSearch` — choosing between DiskANN / HNSW / IVF, creating indexes, tuning `lBuild` / `lSearch` / `maxDegree`, Product Quantization (up to 16,000 dims), half-precision (fp16) indexing, and normalizing embeddings for cosine similarity. Use when building RAG / semantic-search applications, creating a vector index, tuning recall/latency, or reducing vector-index memory footprint.

SKILL.md

Vector Search — Azure DocumentDB (cosmosSearch)

Azure DocumentDB's native vector index type is cosmosSearch. Pick the sub-type by scale:

Index sub-typeScale sweet spotTier
vector-diskann (recommended)Up to 500k+ vectorsM30+
vector-hnswUp to ~50k vectorsM30+
vector-ivfUnder ~10k vectorsM10+

Similarity options: COS (cosine), L2 (Euclidean), IP (inner product).

Rules

© 2026 YourAI.tools. Every skill from an identity-verified publisher.

Independent catalog. Not affiliated with, endorsed by, or sponsored by Anthropic or any listed publisher. All trademarks belong to their respective owners.