Customer story

Already using OpenSearch and Elasticsearch within its content stack, Thomson Reuters Labs evaluated both alongside Vespa for a new legal search application covering more than two million active U.S. statutes. The team selected Vespa for its ability to bring complex search logic into a single application.

Vespa consolidated chunking, embedding, enrichment, and ranking within the search platform, reducing separate services and making experiments easier to implement and evaluate. Integrated learning-to-rank gave scientists and engineers control over custom features, feature logging for training, and model inference within the same framework.

The application moved from proof of concept to production, serving customers and reducing the need to rebuild successful research in a separate production stack.

Resources

Technical resources for OpenSearch users

These are the resources OpenSearch teams find most useful when evaluating Vespa. Below them, we compare the two platforms capability by capability.

  • Etsy: Engineering the move to Vespa

    Hear how Etsy Engineering consolidated five retrieval engines onto Vespa, with practical lessons on partial updates, ranking, evaluation, and migration.

    Watch the presentation
  • Lucene-based benchmark

    OpenSearch and Elasticsearch are both built on Apache Lucene. Our benchmark compares Vespa with Elasticsearch across vector, lexical, and hybrid search, including concurrent updates, so its architectural findings are relevant to OpenSearch users. Results were measured on Elasticsearch, not OpenSearch.

    Read the benchmark
  • Vespa terminology for OpenSearch users

    Map familiar OpenSearch concepts to Vespa’s application packages, schemas, content nodes, and query processing. See where the architectures overlap and differ.

    Explore the guide

Analyst evaluation

Independent evaluation: GigaOm Radar for Vector Databases

Vespa is named a Leader and an Outperformer in the GigaOm Radar for Vector Databases, which evaluates 17 platforms, including OpenSearch.

comparison

Vespa vs. OpenSearch: compare capabilities

Vespa runs retrieval, ranking, model inference, and real-time updates as one system, so a single ranking expression can combine lexical, vector, and business signals with your own models. OpenSearch assembles the same capabilities from separate queries, plugins, pipelines, and ML nodes, each configured on its own.

Capability
Vespa
OpenSearch
Retrieval methods
BM25 keyword search, approximate vector search, hybrid search, and structured filters in one query.
BM25 keyword search, k-NN vector search (Lucene and FAISS engines), hybrid search, and structured filters. Vector indexes are built per Lucene segment, so query latency rises as segments accumulate between merges.
Hybrid relevance
Lexical, vector, and application signals combined in one ranking expression you define.
Keyword and vector scores are merged by formula after retrieval, so they are not ranked together with your other signals. Your team picks a normalization method and retunes the weights as data changes.
Custom scoring
Rank expressions compiled and evaluated natively over text, vector, tensor, and document features.
function_score offers a few built-in boosts, such as a field value or distance to a point. Anything beyond them needs Painless scripts embedded in each query, which are flexible but make queries much more expensive across many documents.
Multi-phase ranking
First phase scores every retrieved candidate on each content node, second phase reranks the best per node, global phase reranks the merged results. Candidate counts are set per stage.
Expensive models run only on a small per-shard rescore window or after results are merged, so relevant documents outside that window never reach your model. Each stage (query scoring, rescore, and search pipeline processors) is configured and debugged separately.
Learning to rank
Built in: feature logging, and XGBoost, LightGBM, and ONNX models in any ranking phase.
Models rerank only the top documents in each shard’s rescore window, through the Learning to Rank plugin. XGBoost and RankLib models are supported; ONNX models are not.
Model inference
Embedders and ONNX models run inside the platform, as part of indexing and ranking.
Models run through ML Commons, usually on dedicated ML nodes, or in external services such as SageMaker or Bedrock. Data nodes can run models too, but inference remains a separate workload to deploy, secure, and monitor, not part of ranking.
Tensors and multi-vector
Native tensor fields and tensor math in ranking. Late interaction such as ColBERT is defined in the rank profile.
No general tensor type, so personalization and multi-signal ranking must be flattened into separate fields and scripts. Late-interaction reranking (added in 3.3) runs as a Painless script, which gets expensive on large candidate sets.
Partial updates
Attribute fields are updated in place and available to filtering and ranking immediately.
Every update rewrites the whole document, so frequently changing fields, such as prices or popularity, add continuous reindexing load. Changes become searchable after a refresh (1 second by default).
Scaling
Data redistributes automatically as nodes are added or removed, with no shard count to plan.
Shard counts must be planned before launch: the primary shard count is fixed when an index is created, and changing it requires a split (with the index read-only), a shrink, or a reindex. Shards rebalance across nodes automatically.
Relevance configuration
Versioned rank profiles in the application package, selected per query.
Ranking logic is spread across Query DSL in each request, search pipelines, and stored learning-to-rank feature sets, which makes changes harder to version, test, and roll back.

OpenSearch capabilities are as of version 3.x. Some depend on plugins or differ in Amazon OpenSearch Service.

architecture

Where the architectures differ

For teams moving from OpenSearch to Vespa, these differences show up in production: fewer systems to run, faster experiments with new ranking ideas, and results that reflect the latest data.

  • Multi-phase ranking in one platform

    Vespa: One rank profile defines every phase, from scoring each match on the content nodes to reranking the merged results, and models can run in any phase.

    OpenSearch: Custom scoring, learning to rank, and reranking use separate mechanisms (Painless scripts, a rescore window, and search pipeline processors), each configured on its own.

  • Hybrid search in a single ranking expression

    Vespa: Lexical and vector relevance combine in the same ranking expression as freshness, popularity, user context, and your own models.

    OpenSearch: Keyword and vector sub-queries are scored separately, then a search pipeline normalizes and merges them. The normalization method you choose shapes the final ranking.

  • Live data without reindexing

    Vespa: Attribute fields update in place, so a price, stock level, or popularity change is available for filtering and ranking as soon as it is written.

    OpenSearch: Lucene’s immutable segments mean every update rewrites the whole document, and changes become searchable only after the next refresh. For catalogs and feeds that change constantly, this affects both indexing cost and result freshness.

  • Inference that scales with retrieval

    Vespa: Embedders and ONNX models run within the platform, during indexing and ranking, so retrieval and inference scale together.

    OpenSearch: Models run through ML Commons, usually on dedicated ML nodes, or in external services reached through connectors. Either way, inference is a separate workload to deploy, secure, and monitor.

Choosing a platform

Is Vespa the right OpenSearch alternative?

  • When OpenSearch fits

    You need keyword or vector search alongside log analytics, want Elasticsearch-style APIs under Apache 2.0, and your relevance needs are met by hybrid scoring and a reranker.

  • When Vespa fits

    Relevance is part of your product’s advantage. Ranking combines many signals and your own models, data changes constantly, and you want ranking, inference, and serving in one platform.

FAQ

Frequently asked questions

Need more than a quick answer?

If these FAQs don't answer your question, there are several ways to continue:

Learn the fundamentals with our free online training at learn.vespa.ai.

Experience Vespa yourself with a free Vespa Cloud trial.

Watch the Getting Started with Vespa AI Search YouTube video

Contact our team to discuss your application or migration project.
What should I look for in an OpenSearch alternative?
Look at how the platform combines lexical and vector relevance, whether ranking can use your own models in every phase, how quickly updates reach search results, and where model inference runs. These are the areas where Vespa and OpenSearch differ most.
How does Vespa’s hybrid search differ from OpenSearch’s?
Both combine BM25 and vector search. OpenSearch normalizes and merges the scores of separate sub-queries in a search pipeline. Vespa lets you write one ranking expression that combines lexical and vector relevance with any document or query signal and your own models.
Can OpenSearch do learning to rank?
Yes, through the Learning to Rank plugin, which runs XGBoost or RankLib models in a rescore window. In Vespa, feature logging and GBDT and ONNX models are part of the ranking framework and can run in any phase.
How do updates differ?
OpenSearch reindexes the whole document on every update, and changes appear after a refresh. Vespa updates attribute fields in place, and they are available to ranking immediately.
Does your Elasticsearch benchmark apply to OpenSearch?
Both are built on Apache Lucene, so the architectural findings are relevant, but we measured Elasticsearch, not OpenSearch. Results should be confirmed on your own workload.
Does Vespa run on AWS?
Yes. Vespa Cloud runs on AWS, and Vespa Cloud Enclave runs inside your own AWS account.

Why consider Vespa as an OpenSearch alternative?

Perplexity, Spotify, and Yahoo run Vespa in production for AI search, recommendations, and retrieval-augmented generation (RAG). If relevance, hybrid ranking, separate reranking pipelines, or slow partial updates are holding back your OpenSearch application, tell us what you are working on, and we will show you how other teams have solved it.

Resources

Continue exploring

Explore related eBooks, technical deep dives, webinars, and guides to learn more about this topic.