smile / module-elasticsuite-cms-search

smile/module-elasticsuite-cms-search

Smile Elasticsuite - Cms Pages Search Module for Smile Elasticsuite.

  • Fanny DECLERCK
  • Aurélien FOUCRET
  • Romain RUAUD
magento2-module Compatibility: 2.4.7-2.4.9 Code Quality: Fail Tests: N/A Security: Pass OSL-3.0

ElasticSuite CMS Pages Search

This module is a plugin for ElasticSuite.

It allows to index CMS Pages into the search engine and display them into the autocomplete results, and also on the search result page.

⚠️ Magento versions compatibility :

Which version should I use ?

Magento Version Module Version
Magento 2.0.x Opensource (CE) / Commerce (EE) 2.0.x latest release : composer require smile/module-elasticsuite-cms-search ~2.0.0
Magento 2.1.x Opensource (CE) / Commerce (EE) 2.1.x latest release : composer require smile/module-elasticsuite-cms-search ~2.1.0
Magento 2.2.x Opensource (CE) / Commerce (EE) 2.1.x latest release : composer require smile/module-elasticsuite-cms-search ~2.1.0

Requirements

The module requires :

How to use

  1. Install the module via Composer :

composer require smile/module-elasticsuite-cms-search

  1. Enable it

bin/magento module:enable Smile_ElasticsuiteCms

  1. Install the module and rebuild the DI cache

bin/magento setup:upgrade

  1. Process a full reindex of the CMS Page search index

bin/magento index:reindex elasticsuite_cms_page_fulltext

How to configure

Stores > Configuration > Elasticsuite > CMS settings > Settings

  • Max result : Maximum number of results to display in result block.

Stores > Configuration > Elasticsuite > Autocomplete > Cms page Autocomplete

  • Max size : Maximum number of cms pages to display in autocomplete results.

Fields indexed

Field Type
page_id Integer
title Varchar
page_layout Varchar
meta_keywords Text
meta_description Text
identifier Integer
content_heading Text
content Text
creation_time DateTime
update_time DateTime
is_active Integer
sort_order Integer
layout_update_xml Text
custom_theme Integer
custom_root_template Integer
custom_layout_update Text
custom_theme_from DateTime
custom_theme_to DateTime
meta_title Text
is_searchable Integer
store_id Integer

Index example :

{
    "_index" : "magento2_fr_cms_page_20181024_064926",
    "_type" : "page",
    "_id" : "5",
    "_score" : 1.0,
    "_source" : {
      "page_id" : "5",
      "title" : "About us",
      "page_layout" : "1column",
      "meta_keywords" : "",
      "meta_description" : "",
      "identifier" : "about-us",
      "content_heading" : "About us",
      "content" : "<div class=\"about-info cms-content\">\n      <p class=\"cms-content-important\">With more than 230 stores spanning 43 states and growing, Luma is a nationally recognized active wear manufacturer and retailer. We’re passionate about active lifestyles – and it goes way beyond apparel.</p>\n\n >\n",
      "creation_time" : "2017-03-21 16:59:21",
      "update_time" : "2018-10-24 06:45:28",
      "is_active" : "1",
      "sort_order" : "0",
      "layout_update_xml" : "",
      "custom_theme" : null,
      "custom_root_template" : null,
      "custom_layout_update_xml" : "",
      "custom_theme_from" : null,
      "custom_theme_to" : null,
      "meta_title" : "",
      "is_searchable" : "1",
      "store_id" : "0"
    }
}

No changelog yet

The vendor hasn't published a changelog. Tagged releases appear in the Versions tab.

Versions
Version Stability QA Status Compatibility Released
2.12.0 stable Fail Magento 2.4.7-2.4.9 Details 2026-06-03 08:23:11
2.11.4 stable Not tested Not yet tested Details 2026-01-20 17:21:41
2.10.3 stable Not tested Not yet tested Details 2026-01-20 17:21:31
2.11.3 stable Not tested Not yet tested Details 2025-04-25 12:37:33
2.11.2 stable Not tested Not yet tested Details 2024-06-05 14:24:10
2.10.2 stable Not tested Not yet tested Details 2024-06-05 14:23:51
2.11.1 stable Not tested Not yet tested Details 2024-06-05 08:59:48
2.10.1 stable Not tested Not yet tested Details 2024-06-05 08:59:29
2.2.9 stable Not tested Not yet tested Details 2024-06-05 08:58:21
2.11.0 stable Not tested Not yet tested Details 2024-06-05 08:22:44
2.10.0 stable Not tested Not yet tested Details 2024-06-05 08:22:17
2.2.8 stable Not tested Not yet tested Details 2020-08-19 13:30:20
2.2.7 stable Not tested Not yet tested Details 2020-03-20 16:39:10
2.2.6 stable Not tested Not yet tested Details 2019-12-10 12:04:21
2.2.5 stable Not tested Not yet tested Details 2019-10-18 08:41:36
2.1.5 stable Not tested Not yet tested Details 2019-10-18 08:32:43
2.2.4 stable Not tested Not yet tested Details 2019-08-08 15:15:45
2.2.3 stable Not tested Not yet tested Details 2019-03-05 14:01:18
2.2.2 stable Not tested Not yet tested Details 2019-03-05 14:00:44
2.2.1 stable Not tested Not yet tested Details 2018-11-12 09:46:41
2.2.0 stable Not tested Not yet tested Details 2018-09-12 09:53:18
2.1.4 stable Not tested Not yet tested Details 2018-04-17 09:41:33
2.1.3 stable Not tested Not yet tested Details 2018-03-21 15:55:28
2.1.2 stable Not tested Not yet tested Details 2017-12-18 10:13:40
2.1.1 stable Not tested Not yet tested Details 2017-07-26 12:57:03
2.1.0 stable Not tested Not yet tested Details 2017-06-09 13:43:15
2.0 stable Not tested Not yet tested Details 2017-06-09 13:05:17

Requires 7

Package Constraint
magento/framework >=103.0.6
magento/magento-composer-installer *
magento/module-backend >=102.0.6
magento/module-catalog >=104.0.6
magento/module-catalog-search >=102.0.6
magento/module-store >=101.1.6
smile/elasticsuite ~2.12.0

Requires-dev 1

Package Constraint
smile/magento2-smilelab-quality-suite ^1.0.4

Compatibility

Each Magento release line is installed on its supported PHP versions, then the module is built (DI compilation + static-content deploy) and its unit and integration suites are run. The matrix shows the lines and PHP versions the module is confirmed to install and run on. Code-quality results further down (phpstan, phpcs, …) are reported separately and never affect compatibility.

Compatibility matrix (Magento × PHP)
Magento PHP 8.2 PHP 8.3 PHP 8.4 PHP 8.5
2.4.7 Pass Pass
2.4.8 Pass Pass
2.4.9 Pass Pass

Code Quality

Advisory checks against the module's source. Static analysis runs once across the whole module; PHPStan re-runs per Magento + PHP version because resolvable symbols differ between releases. These NEVER affect the Compatibility badge. A phpcs finding can't make a module incompatible.

Static analysis

Coding standards (phpcs), mess detection (phpmd), copy-pasted code (cpd), PHP cross-version compatibility, composer.json validity. Each runs once for the whole module.

Static analysis results
Tool Status Findings Summary
PHPCS Fail 62 9 errors, 53 warnings (ruleset: Magento2) — 41 auto-fixable with phpcbf
PHPMD Warning 3 3 rule violations (MissingImport:2, UnusedPrivateMethod:1)
Cpd Pass 0
Composer validate Info 6 valid; 6 advisory notes (composer validate --strict)

PHPStan

Type-checks the module's PHP against a real Magento install at the configured gate level. Re-runs per Magento and PHP version because resolvable symbols differ between releases.

PHPStan results by Magento and PHP version
Magento PHP 8.2 PHP 8.3 PHP 8.4 PHP 8.5
2.4.7 964 964
2.4.8 964 964
2.4.9 956 956

Tests

Unit and integration suites, run for each applicable Magento and PHP version. A test failure speaks to the module's behaviour, not its compatibility with a Magento line, so it is reported here separately and never reddens the compatibility matrix.

Unit tests

Unit tests results by Magento and PHP version
Magento PHP 8.2 PHP 8.3 PHP 8.4 PHP 8.5
2.4.7 N/A N/A
2.4.8 N/A N/A
2.4.9 N/A N/A

Integration tests

Integration tests results by Magento and PHP version
Magento PHP 8.2 PHP 8.3 PHP 8.4 PHP 8.5
2.4.7 N/A N/A
2.4.8 N/A N/A
2.4.9 N/A N/A

Security

Security checks run directly against the module: an audit of its declared dependencies for known vulnerabilities (composer audit) and a scan of its source for malware and web-shell signatures. Each runs once. A malware detection fails the version outright.

Security results
Tool Status Findings Summary
Composer audit N/A 0 no resolvable dependency tree to audit — Your requirements could not be resolved to an installable set of packages. Problem 1
Malware scan Pass 0
License
OSL-3.0
Homepage
https://github.com/Smile-SA/module-elasticsuite-cms-search
Authors

More from smile

View vendor
Make it pay

Turn an existing module into recurring revenue.

If you already maintain a Magento 2 module on GitHub or GitLab, listing it on Packagento takes about five minutes. We mirror your tags, handle distribution signing, and route paid licenses through Stripe Connect, so you can keep shipping the way you already do.