KB

Kofi Bartlett

Author's articles

Displaying fields in an Elasticsearch index

May 26, 2025

Displaying fields in an Elasticsearch index

Exploring techniques for displaying fields in an Elasticsearch index.

How to optimize Elasticsearch disk space and usage

May 16, 2025

How to optimize Elasticsearch disk space and usage

Learn how to prevent and handle cases when the Elasticsearch disk is too full (overutilization) and when the disk capacity is underutilized to optimize cluster costs.

How to configure the number of replicas in an Elasticsearch index

May 14, 2025

How to configure the number of replicas in an Elasticsearch index

Learn how to configure the number_of_replicas in an Elasticsearch index to improve search performance and provide resilience to node failure.

Excluding Elasticsearch fields from indexing

May 12, 2025

Excluding Elasticsearch fields from indexing

Learn how to configure Elasticsearch to exclude fields, the main reasons for excluding fields from indexing, and best practices to follow.

Deleting a field from a document in Elasticsearch

May 9, 2025

Deleting a field from a document in Elasticsearch

Learn how to delete fields from Elasticsearch documents using the Update API, scripts, or reindexing for single and bulk removals.

Understanding Elasticsearch scoring and the Explain API

May 5, 2025

Understanding Elasticsearch scoring and the Explain API

Learn about Elasticsearch scoring mechanisms and the practical scoring function to audit search relevance and improve document ranking with the Explain API.

Index templating in Elasticsearch: How to use composable templates

May 2, 2025

Index templating in Elasticsearch: How to use composable templates

Explore how to create composable and component index templates in Elasticsearch to ensure consistent mappings and automate index configuration.

Elasticsearch search by two fields

April 30, 2025

Elasticsearch search by two fields

Explore techniques for searching by two fields, including multi-match queries, bool queries, and query-time field boosting.

Elasticsearch heap size usage and JVM garbage collection

April 22, 2025

Elasticsearch heap size usage and JVM garbage collection

Exploring Elasticsearch heap size usage and JVM garbage collection, including best practices and how to resolve issues when heap memory usage is too high or when JVM performance is not optimal.

How to increase primary shard count in Elasticsearch

April 17, 2025

How to increase primary shard count in Elasticsearch

Learn how to increase primary shard count in Elasticsearch using the split and reindex APIs for optimal shard scaling.

How to migrate data between different versions of Elasticsearch & between clusters

April 14, 2025

How to migrate data between different versions of Elasticsearch & between clusters

Exploring methods for transferring data between Elasticsearch versions and clusters.

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 you are. Let’s connect and work together to build the magical search experience that will get you the results you want.

Try it yourself