vix.ing · top · new · best · stats · spec

Vector Search with OpenAI Embeddings: Lucene Is All You Need

2023/08/29 by Jimmy Lin, Ronak Pradeep, Lin, Jimmy +5 · 2 voices · 2 citations
Computer Science · #Advanced Text Analysis Techniques #Time Series Analysis and Forecasting #cs.IR

paper · pdf · doi:10.48550/arxiv.2308.14963

openalex publication_date 2023/08/29 · openalex created_date 2025/10/10 · openalex updated_date 2026/07/28

Abstract

We provide a reproducible, end-to-end demonstration of vector search with OpenAI embeddings using Lucene on the popular MS MARCO passage ranking test collection. The main goal of our work is to challenge the prevailing narrative that a dedicated vector store is necessary to take advantage of recent advances in deep neural networks as applied to search. Quite the contrary, we show that hierarchical navigable small-world network (HNSW) indexes in Lucene are adequate to provide vector search capabilities in a standard bi-encoder architecture. This suggests that, from a simple cost-benefit analysis, there does not appear to be a compelling reason to introduce a dedicated vector store into a modern "AI stack" for search, since such applications have already received substantial investments in existing, widely deployed infrastructure.

Cited by

Discussions

Related