Build AI search into your applications
The Elasticsearch Relevance Engine™ (ESRE) is designed to power artificial intelligence-based search applications. Use ESRE to apply semantic search with superior relevance out of the box (without domain adaptation), integrate with external large language models (LLMs), implement hybrid search, and use third-party or your own transformer models.
See how easy it is to get started with setting up the Elasticsearch Relevance Engine.See quick start video
Learn everything about Elastic’s new retrieval model that delivers high relevance, even on specialized domains in a zero-shot setting.Read tech blog
Use private, internal data as context with the capabilities of generative AI models to provide up-to-date, reliable responses to user inquiries.Watch video
"I’m thrilled about the benefits we can bring to customers through our investments to harness Elasticsearch within RelativityOne. We're experimenting with ESRE right now and are excited about its potential to deliver powerful, AI-augmented search results to our customers."
Chris Brown, Chief Product Officer, Relativity
Start building vector search
Use a single API to import an embedding model, generate embeddings, and write search queries at scale using approximate nearest neighbor search.
docker run -it --rm elastic/eland \
--cloud-id $CLOUD_ID \
-u <username> -p <password> \
--hub-model-id sentence-transformers/msmarco-MiniLM-L-12-v3 \
--task-type text_embedding \
Frequently asked questions
What is Elasticsearch Relevance Engine?
Elasticsearch Relevance Engine is a set of features that help developers build AI search applications and includes:
- Industry leading advanced relevance ranking features, including traditional keyword search with BM25, a foundation of relevant, hybrid search for all domains.
- Full vector database capabilities – including the ability to create embeddings, in addition to storage and retrieval of vectors.
- Elastic Learned Sparse Encoder – our new machine learning model for semantic search across a range of domains Hybrid ranking (RRF) for pairing vector and textual search capabilities for optimal search relevance across a variety of domains.
- Support to integrate 3rd-party transformer models such as OpenAI GPT-3 and 4 via APIs
- A full suite of data ingestion tools such as database connectors, 3rd-party data integrations, web crawler, and APIs to create custom connectors
- Developer tools to build search applications across all types of data: text, images, time-series, geo, multimedia, and more.
What can I build with Elasticsearch Relevance Engine?
Elasticsearch is a leading search technology for websites (like ecommerce product and discovery) and internal information (such as customer success knowledge bases and enterprise search). With ESRE, we're providing a toolkit to build AI powered search experiences. Enable users to express their queries in natural language, in the form of a question or a description of the kind of information they seek. Combine this natural language capability with Generative AI to further enhance these models’ abilities with context from your own, private or proprietary data.
Are Elasticsearch and Elasticsearch Relevance Engine the same thing?
Yes, capabilities included with Elasticsearch Relevance Engine are designed and integrated at the _search api within Elasticsearch. Developers can use the Elastic API or familiar tools, such as Kibana, to interact with capabilities that make up Elasticsearch Relevance Engine together with Elasticsearch for a seamless experience..
What is Elastic Learned Sparse Encoder?
Elastic Learned Sparse Encoder is a model built by Elastic for high relevance semantic search across a variety of domains. Currently, an English-only machine learning model, it captures the relationships between meanings and words for information retrieval. Interested in benchmark tests with our new retrieval model? Read this blog to learn more.
What is a transformer, and is Elastic Learned Sparse Encoder a transformer model?
A transformer is a deep neural network architecture which serves as the basis for LLMs. Transformers consist of various components and can be composed of encoders, decoders and many “deep” neural network layers with many millions (or even billions) of parameters. They are typically trained on very large corpora of text like data on the Internet, and can be fine-tuned to perform a variety of NLP tasks. Our new retrieval model uses a transformer architecture but consists only of an encoder designed specifically for semantic search across a wide variety of domains.
How do I get started with Elasticsearch Relevance Engine? Do I need to purchase Elasticsearch Relevance Engine separately?
All of Elasticsearch Relevance Engine’s capabilities come with Elastic Enterprise Search Platinum and Enterprise plans, as part of the 8.8 release. You can easily get started with embeddings and vector search, and try out the retrieval model model. Check out a demo of Elastic Learned Sparse Encoder's capabilities. If you have an Elasticsearch license, Elasticsearch Relevance Engine is included as part of your purchase.
ALL EYES ON AI
Subscribe for AI updates
Stay informed on all things related to AI. Sign up to receive exclusive news, Elastic® product updates, AI trends, hands-on demos, and more.
Straight from the source
LLMs, NLP, ChatGPT, RRF, BM25, ESRE, vectors, transformers, embeddings — there’s a lot to keep up with in the world of AI. Hear from Elastic product and engineering leadership and development teams about this fast-moving AI landscape so you can build better AI-powered search applications.