Elasticsearch: Guides and Practical Know-how | Page 6 | mironsoft Blog
Elasticsearch
-
Aug 24, 2025
Without systematic monitoring, slow Magento search requests often go unnoticed until customers complain about sluggish load times. The Elasticsearch or OpenSearch slow log logs exactly the requests that exceed a configured threshold, giving you a basis for targeted rather than guessed performance optimization.
-
Aug 1, 2025
An unsecured Elasticsearch or OpenSearch cluster is directly attackable over the network without authentication and encryption. This article shows how role-based access control, API keys and TLS between nodes work together, and what to watch for specifically when configuring Elastic Security and OpenSearch Security.
-
Jul 24, 2025
On catalogs with several hundred thousand SKUs, the catalogsearch_fulltext indexer quickly becomes an operational bottleneck: full reindex runs take hours, the cron job blocks other jobs, and PHP workers hit their memory limits. This article shows how batch size, partial reindex strategies and the Elasticsearch Bulk API work together to noticeably improve indexer performance on large catalogs.
-
Jul 22, 2025
Featured snippets sit above the classic first organic result and hand users the answer right inside the results page. Understanding which format Google favors for which type of query lets you target position zero deliberately instead of hoping for it.
-
Jul 18, 2025
When the full Elasticsearch query DSL gets assembled directly in application code, search logic ends up scattered across many places in the codebase, and every adjustment to a central query requires changes in multiple spots at once. Search templates solve this by storing a Mustache-based query template once, centrally in Elasticsearch, after which application code only ever passes named parameters without needing to know a single line of query DSL. This moves the actual search logic to where it should technically be managed, and application developers work against a stable, clearly documented interface. How search templates are structured, what advantages this brings for collaboration between search teams and application teams, and what a parametrized product search looks like in practice is what this article covers.
-
Jul 18, 2025
While Elasticsearch offers access control through the commercial X-Pack Security module, OpenSearch has relied on an open source Security Plugin with its own configuration philosophy from the start. Anyone running a Magento search cluster in production needs to understand roles, backend configuration, and audit logging to cleanly separate indexer service users, administrators, and read-only access.
-
Jul 14, 2025
Anyone indexing product data, log entries, or sensor events into Elasticsearch runs into the same question again and again: should the application clean up the raw data before sending it, or should Elasticsearch itself handle normalization before a document actually lands in the index? Ingest pipelines answer that question with a third option. A chain of processors such as grok, script, or enrich processes every document right at write time, parsing unstructured strings, applying custom transformation logic, and enriching fields from external reference data before indexing actually begins. This article shows how these processors work together, where the line to application-side transformation makes sense, and what a real product data normalization pipeline looks like in practice.
-
Jul 4, 2025
Pipeline aggregations do not run over individual documents, they run over the results of other aggregations. That lets trends, moving averages and cumulative sums be computed directly in the query, instead of rebuilding them in application code where they are error-prone. Confuse sibling and parent pipelines, and you get aggregation errors or incorrectly nested results.
-
Jul 2, 2025
When an Elasticsearch or OpenSearch cluster suddenly slows down, aimless trial and error rarely helps. This checklist combines slow log, hot threads API, pending tasks and queue rejections into a systematic diagnostic path that finds the actual cause of a performance problem instead of just treating symptoms.
-
Jun 30, 2025
Classic search accepts a search request and finds matching documents in an index. Some use cases, however, need exactly the opposite direction: a new document arrives, and the application must figure out which of many stored search queries would match it. A typical example is a price alert, where thousands of customers have stored individual search criteria and need to be notified as soon as a new product satisfies exactly those criteria. Elasticsearch provides the percolator query for this, which indexes stored search queries as documents in their own right and efficiently checks, for every new product, which of them match. How this works, how the price alert use case can be implemented concretely, and where the performance limits sit with very many stored queries is what this article covers.