mvenghaus/m2-module-elasticsuite-debug

Very poorly programmed debug output of Elasticsearch requests in frontend ;)

Installs: 32

Dependents: 0

Suggesters: 0

Security: 0

Stars: 0

Watchers: 1

Forks: 0

Open Issues: 0

pkg:composer/mvenghaus/m2-module-elasticsuite-debug

1.0.1 2024-03-25 05:35 UTC

This package is auto-updated.

Last update: 2025-09-25 09:05:08 UTC


README

Very poorly programmed debug output of Elasticsearch requests in frontend .. but it works ;)

It shows the final Elasticsearch request in a modal with a copy button.

Installation

composer require --dev mvenghaus/m2-module-elasticsuite-debug

Usage

/** @var \Smile\ElasticsuiteCore\Search\RequestInterface $request */
\Mvenghaus\ElasticsuiteDebug\ElasticsuiteDebug::debugRequest($request);
/** @var \Smile\ElasticsuiteCatalog\Model\ResourceModel\Product\Fulltext\Collection $productCollection */
\Mvenghaus\ElasticsuiteDebug\ElasticsuiteDebug::debugCollection($productCollection);