Maintained with ☕️ by
IcePanel logo

Amazon DocumentDB now supports vector search with HNSW index

Share

Services

[Amazon DocumentDB](https://aws.amazon.com/documentdb/) (with MongoDB compatibility) now supports vector search with Hierarchical Navigable Small World (HNSW) index. HNSW index lets you execute vector similarity searches with low latency and produce highly relevant results. Vectors are numerical representations of unstructured data, such as text, created from machine learning (ML) models that help capture the semantic meaning of the underlying data. Vector search for Amazon DocumentDB can store vectors from Amazon Bedrock, Amazon SageMaker, and more. With vector search for Amazon DocumentDB, you can simply set up, operate, and scale databases for your ML, including [generative AI](https://aws.amazon.com/generative-ai/) enabled applications. You no longer have to spend time managing separate vector infrastructure, writing code to connect with another service, and duplicating data from your source database. The vector search capability together with large language models (LLMs) enable you to search the database based on meaning, unlocking a wide range of use cases, including semantic search, product recommendations, personalization, and chatbots. Vector search for Amazon DocumentDB is available on DocumentDB 5.0 instance-based clusters in all [regions](https://docs.aws.amazon.com/documentdb/latest/developerguide/regions-and-azs.html) where Amazon DocumentDB is available. You can get started by launching an Amazon DocumentDB cluster directly from the [AWS Console](https://console.aws.amazon.com/console/home) or the [AWS CLI](https://awscli.amazonaws.com/v2/documentation/api/latest/reference/docdb/index.html). Learn more about vector search on our [features page](https://aws.amazon.com/documentdb/features/) and [developer guide](https://docs.aws.amazon.com/documentdb/latest/developerguide/vector-search.html).