smile/module-elasticsuite-cms-search
Composer 安装命令:
composer require smile/module-elasticsuite-cms-search
包简介
Smile Elasticsuite - Cms Pages Search Module for Smile Elasticsuite.
README 文档
README
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 |
| ... | ... |
| Magento 2.4.x < 2.4.6 Opensource (CE) / Commerce (EE) | 2.10.x latest release : composer require smile/module-elasticsuite-cms-search ~2.10.0 |
| Magento 2.4.x >= 2.4.6 && < 2.4.9 Opensource (CE) / Commerce (EE) | 2.11.x latest release : composer require smile/module-elasticsuite-cms-search ~2.11.0 |
| Magento 2.4.x > 2.4.9 Opensource (CE) / Commerce (EE) | 2.12.x latest release : composer require smile/module-elasticsuite-cms-search ~2.12.0 |
Requirements
The module requires :
How to use
- Install the module via Composer :
composer require smile/module-elasticsuite-cms-search
- Enable it
bin/magento module:enable Smile_ElasticsuiteCms
- Install the module and rebuild the DI cache
bin/magento setup:upgrade
- 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"
}
}
smile/module-elasticsuite-cms-search 适用场景与选型建议
smile/module-elasticsuite-cms-search 是一款 基于 PHP 开发的 Composer 扩展包,目前已累计 967.88k 次下载、GitHub Stars 达 25, 最近一次更新时间为 2016 年 06 月 06 日, 在 PHP 生态内属于活跃度较高的组件。
它主要适用于以下技术方向: 「search」 「cms」 「elasticsearch」 「core」 「magento」 「setup」 等业务场景。在实际项目中,围绕这些方向常见需要落地的问题包括:接口对接、性能调优、并发安全、与既有框架(Laravel / ThinkPHP / Yii / Webman 等)的兼容适配,以及生产环境的日志埋点与稳定性保障。
我们在过去多个企业项目中使用过 smile/module-elasticsuite-cms-search 或与其功能相近的方案,如果你在选型或落地过程中遇到问题,例如 版本兼容、二次改造、私有化封装、与内部系统对接、生产 BUG 排查,欢迎联系我们协助评估。
基于 smile/module-elasticsuite-cms-search 在你已有业务上做功能扩展、字段裁剪、UI 适配、与内部账号 / 权限 / 日志系统的深度对接。
线上偶发问题、内存泄漏、慢查询、并发异常等排查修复;针对高流量场景做缓存、队列、索引层面的调优。
承接完整的项目从需求 → 设计 → 开发 → 上线 → 长期运维;也可按月提供技术保姆服务。
与 smile/module-elasticsuite-cms-search 相关的其它包
同方向 / 同关键字的高下载量 PHP Composer 包推荐,方便对比选型:
A Laravel package to retrieve data from Google Search Console
GraphQL authentication for your headless Craft CMS applications.
Set Links with a specific language parameter
Indexed Search Autocomplete - Extends the TYPO3 Core Extension Indexed_Search searchform with an autocomplete feature.
Supercharged text field validation.
Abstraction Layer to index and search entities
统计信息
- 总下载量: 967.88k
- 月度下载量: 0
- 日度下载量: 0
- 收藏数: 25
- 点击次数: 20
- 依赖项目数: 1
- 推荐数: 0
其他信息
- 授权协议: OSL-3.0
- 更新时间: 2016-06-06