This is a cache of https://www.elastic.co/search-labs/blog. It is a snapshot of the page at 2025-07-12T00:53:30.715+0000.
Blogs - Elasticsearch Labs

Blogs

Developer insights and practical how-to articles from our experts to inspire and empower your search experience

July 11, 2025

Longer context ≠ Better: Why RAG still matters

Learn why the RAG strategy is still relevant and gives the most efficient and better results.

Longer context ≠ Better: Why RAG still matters
Diversifying search results with Maximum Marginal Relevance

Diversifying search results with Maximum Marginal Relevance

Implementing the Maximum Marginal Relevance (MMR) algorithm with Elasticsearch and Python. This blog includes code examples for vector search reranking.

Semantic text is all that and a bag of (BBQ) chips! With configurable chunking settings and index options

Semantic text is all that and a bag of (BBQ) chips! With configurable chunking settings and index options

Semantic text search is now customizable, with support for customizable chunking settings and index options to customize vector quantization, making semantic_text more powerful for expert use cases.

Elasticsearch string contains substring: Advanced query techniques

July 8, 2025

Elasticsearch string contains substring: Advanced query techniques

Explore techniques for querying Elasticsearch to find documents where a field contains a specific substring.

Unveiling unique patterns: A guide to significant terms aggregation in Elasticsearch

Unveiling unique patterns: A guide to significant terms aggregation in Elasticsearch

Learn how to use the significant terms aggregation to discover insights in your data.

Efficient pagination with collapse and cardinality in Elasticsearch

Efficient pagination with collapse and cardinality in Elasticsearch

Deduplicating product variants in Elasticsearch? Here’s how to determine the correct pagination.

Building an agentic RAG assistant with JavaScript, Mastra and Elasticsearch

July 1, 2025

Building an agentic RAG assistant with JavaScript, Mastra and Elasticsearch

Learn how to build AI agents in the JavaScript ecosystem

Elasticsearch sorting just got up to 900x faster

June 30, 2025

Elasticsearch sorting just got up to 900x faster

Discover how we sped up Elasticsearch sorting with faster float/half_float sorting and latency improvements in integer sorting

Building an MCP server with Elasticsearch for real health data

June 26, 2025

Building an MCP server with Elasticsearch for real health data

Learn learn how to build an MCP server using FastMCP and Elasticsearch to manage and search data.

Ready to build state of the art search experiences?

Sufficiently advanced search isn’t achieved with the efforts of one. Elasticsearch is powered by data scientists, ML ops, engineers, and many more who are just as passionate about search as your are. Let’s connect and work together to build the magical search experience that will get you the results you want.

Try it yourself