Customer story

Etsy: From five retrieval engines to one platform

As Etsy’s search requirements grew, it expanded its Solr-based architecture to include five retrieval engines. Each improved results when introduced, but maintaining and coordinating them made further improvements harder. Etsy consolidated retrieval and ranking onto Vespa, bringing search teams together around a shared platform.

  • Simpler data updates: Partial updates reduced the need for brittle full-reindexing pipelines when introducing new fields, embeddings, and model-generated content.
  • Integrated retrieval and ranking: Multi-phase ranking helped align early candidate selection with downstream models, reducing the need to move candidate features between systems.
  • Shared infrastructure and expertise: Search teams consolidated around one retrieval platform, with shared pipelines and evaluation capabilities.

Etsy’s experience illustrates the opportunity to simplify an architecture that has accumulated separate retrieval engines, ranking services, and update pipelines as its AI requirements have grown.

Resources

Technical resources for Solr users

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

  • Vespa guide for Solr users

    A walkthrough of Vespa from a Solr user’s perspective: schemas, writes, lexical and vector search, faceting, and plugin points, with what to expect when you migrate.

    Read the guide
  • Lucene-based benchmark

    Solr 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 Solr users. Results were measured on Elasticsearch, not Solr.

    Read the benchmark
  • Vespa terminology for OpenSearch users

    Map familiar Solr concepts, such as configsets, collections, and docValues, to Vespa’s application packages, schemas, attributes, and content nodes. See where the architectures overlap and differ.

    Explore the guide

Comparison

Vespa vs. Solr: 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. Solr assembles similar capabilities from query parsers, function queries, rerank queries, modules, and external services, each configured on its own.

Capability
Vespa
Solr
Retrieval methods
BM25 keyword search, approximate vector search, hybrid search, and structured filters in one query.
BM25 keyword search, dense vector search, hybrid search, and structured filters. Vector search runs a separate HNSW graph in every Lucene segment, so query latency rises as segments accumulate between merges.
Hyrbrid relevance
Lexical, vector, and application signals combined in one ranking expression you define.
Keyword and vector results are fused after retrieval, by summed boolean query scores or reciprocal rank fusion, not ranked together with your business signals. BM25 and vector scores sit on different scales, so your team hand-tunes the weights and retunes them as data changes.
Custom scoring
Rank expressions compiled and evaluated natively over text, vector, tensor, and document features.
Function queries cover simple boosts. Anything more needs custom Java plugins, which your team must build, deploy to every node, and keep working through each Solr upgrade.
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.
One rerank stage, limited to the top N documents on each shard. Relevant documents outside that window never reach your model, and nothing reranks the merged results across shards.
Learning to rank
Built in: feature logging, and XGBoost, LightGBM, and ONNX models in any ranking phase.
No embedding inference in the engine. The text-to-vector module sends your documents and queries to external services, such as OpenAI or Cohere, adding network latency, per-call cost, and a dependency outside your cluster. Otherwise, your team runs a separate embedding pipeline.
Tensors and multi-vector
Native tensor fields and tensor math in ranking. Late interaction such as ColBERT is defined in the rank profile.
No tensor type, so personalization and multi-signal ranking must be flattened into separate fields and functions. Late-interaction scoring arrived only in 10.1, as a field type for reranking.
Partial updates
Attribute fields are updated in place and available to filtering and ranking immediately.
Atomic updates rewrite the whole document, so frequently changing fields, such as prices or popularity, add constant reindexing load. In-place updates cover only narrow numeric fields, and no change is searchable until a commit opens a new searcher, which also resets caches.
Scale
Data redistributes automatically as nodes are added or removed, with no shard count to plan.
Shard count is fixed when a collection is created. Growing means splitting shards and moving replicas by hand, so an undersized shard plan becomes a re-sharding project later.
Relevance configuration
Versioned rank profiles in the application package, selected per query.

Ranking logic is scattered across request parameters, request handler defaults in solrconfig.xml, and separate learning-to-rank feature and model stores, which makes changes harder to version, test, and roll back.

Solr capabilities are as of version 10.1. Some depend on modules that must be enabled separately.

Architecture

Where the architectures differ

Solr supports vector search, hybrid scoring, and learned reranking. The differences lie in how ranking stages, model execution, updates, and data distribution are implemented.

  • Ranking and model execution

    Solr: Solr supports initial retrieval followed by reranking, including model execution through its learning-to-rank module. More complex model architectures may require additional integrations or custom components.

    Vespa: Vespa provides programmable first- and second-phase ranking on content nodes, followed by optional global-phase ranking over merged candidates. ONNX, XGBoost, and LightGBM support lets engineers place models in the ranking pipeline based on computational cost and candidate budget.

  • Feature computation and integration

    Solr: Solr can combine lexical relevance, vector similarity, and business signals through queries, functions, and learning-to-rank features. Requirements beyond those mechanisms may introduce custom plugins or separate services.

    Vespa: Vespa’s ranking expressions and tensor operations let engineers define features, combine query and document signals, and execute models within the search application. This can reduce data movement and the number of components required for custom ranking.

  • Update cost and search visibility

    Solr: Solr supports atomic field updates, but most require document reindexing. In-place updates avoid this for a restricted set of eligible fields. Newly indexed content becomes searchable when a searcher is opened, commonly through a soft commit.

    Vespa: Vespa supports partial updates without reindexing the entire document and makes changes searchable without periodic soft commits. This matters when embeddings, availability, prices, or other ranking signals change frequently.

  • Data distribution and scaling

    Solr: SolrCloud provides shard splitting, replica placement, and replica movement. Teams manage shard topology and decide when to split shards or redistribute replicas as capacity requirements change.

    Vespa: Vespa automatically distributes and redistributes data as content nodes are added or removed. This reduces manual partition management, although capacity planning, resource sizing, and workload tuning remain necessary.

Choosing a platform

Is Vespa the right Solr alternative?

  • When Solr fits

    You need mature keyword search with faceting and a broad plugin ecosystem, your data is mostly static or append-only, and your relevance needs are met by function queries 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 a Solr 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 Solr differ most.
How does Vespa’s hybrid search differ from Solr’s?
Both combine BM25 and vector search. Solr combines keyword and vector queries through boolean queries, boosts, and reranking, or merges separate result lists with reciprocal rank fusion. Vespa lets you write one ranking expression that combines lexical and vector relevance with any document or query signal and your own models.
Can Solr do learning to rank?
Yes, through its learning-to-rank module, which reranks the top documents on each shard with linear, tree-ensemble, or neural network models trained outside Solr. 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?
Most Solr updates reindex the whole document; in-place updates are limited to certain numeric fields, and changes appear after a commit opens a new searcher. Vespa updates attribute fields in place, and they are available for ranking immediately.
Does your Elasticsearch benchmark apply to Solr?
Both are built on Apache Lucene, so the architectural findings are relevant, but we measured Elasticsearch, not Solr. Results should be confirmed on your own workload.
How should we evaluate a move from Solr to Vespa?
Evaluate Vespa against your own data and queries. Measure relevance, latency under concurrent reads and writes, update visibility, and infrastructure requirements.

Why consider Vespa as a Solr alternative?

Etsy, Perplexity, Spotify, and Yahoo run Vespa in production for AI search, recommendations, and retrieval-augmented generation (RAG). If ranking complexity, separate reranking services, or costly reindexing are holding back your Solr 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.