This is a cache of https://www.elastic.co/search-labs/blog/category/how-to. It is a snapshot of the page at 2025-09-14T01:05:45.136+0000.
How To - Elasticsearch Labs

How To

August 28, 2025

Using ES|QL COMPLETION + an LLM to write a Chuck Norris fact generator in 5 minutes

Discover how to use the ES|QL COMPLETION command to turn your Elasticsearch data into creative output using an LLM in just a few lines of code.

Using ES|QL COMPLETION + an LLM to write a Chuck Norris fact generator in 5 minutes
Using LLMs to build an Elastic connector fast: A Crawl4AI tutorial

August 25, 2025

Using LLMs to build an Elastic connector fast: A Crawl4AI tutorial

Learn how easy it is to build a custom Elastic connector using LLMs. We'll be creating a Crawl4AI connector for Elastic's Connector Framework.

Elasticsearch made simple: GCP Google Compute Engine

July 15, 2025

Elasticsearch made simple: GCP Google Compute Engine

Learn how to set up an Elasticsearch deployment on a Google Compute Engine VM instance with Kibana for search capabilities.

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.

How to migrate your Ruby app from OpenSearch to Elasticsearch

December 13, 2024

How to migrate your Ruby app from OpenSearch to Elasticsearch

A guide to migrate a Ruby codebase from the OpenSearch client to the Elasticsearch client.

Adding AI summaries to your site with Elastic

September 26, 2024

Adding AI summaries to your site with Elastic

How to add an AI summary box along with the search results to enrich your search experience.

Building advanced visualizations with Kibana and Vega

July 24, 2024

Building advanced visualizations with Kibana and Vega

Have you struggled to build the Kibana visualizations you need using Lens and TSDB? Learn how to create complex visualizations using Kibana and Vega.

Elasticsearch open inference API adds support for OpenAI chat completions

April 15, 2024

Elasticsearch open inference API adds support for OpenAI chat completions

Learn how OpenAI chat completions and Elasticsearch can be used to summarize, translate or perform question & answering on any text.

Chunking large documents via ingest pipelines plus nested vectors equals easy passage search

November 15, 2023

Chunking large documents via ingest pipelines plus nested vectors equals easy passage search

Learn how to chunk large documents using ingest pipelines and nested vectors in Elasticsearch for easy passage search in vector search.

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