February 23, 2025
OpenSearch and Elasticsearch Vector Search: An Introduction

OpenSearch and Elasticsearch Vector Search: An Introduction

Explaining how vector search work, benefits and use cases with Elasticsearch and OpenSearch.

Search engines like Elasticsearch, OpenSearch, and Solr have forever supported term-based searches where you’d use an inverted index to find documents with a given word or phrase easily. This is often referred to as “keyword search.”

Keyword search is great but it comes with a lot of shortcomings, from ranking challenges to not capturing semantic context and supporting synonyms in search, for example.

Lately, significant advancements have been made that bring vector search to Elasticsearch and OpenSearch. Now built into the Lucene engine itself, which is the core of those engines, vector search capabilities can bring more power to the table when it comes to search.

In this article we will explore not only the differences, but also the surprising similarities, between keyword and vector search and learn how combining them can lead to superior results.