An organization uses Oracle AI Vector Search in Oracle Database 23ai to store embeddings for a LangChain RAG application. They need to perform similarity search with high recall and low latency for a large dataset (10M vectors). Which index configuration should they choose?
HNSW provides high recall and low latency, suitable for large datasets.
Why this answer
HNSW (Hierarchical Navigable Small World) indexes provide high recall and low latency for approximate nearest neighbor search, especially on large datasets. IVF (Inverted File) is also an option but typically requires more tuning and may have lower recall at high speed. HNSW is generally preferred for production workloads.