monogo / magento-typesense-cms-pages
Typesense CMS Pages indexer Magento implementation
Package info
github.com/MonogoPolska/magento-typesense-cms-pages
Type:magento2-module
pkg:composer/monogo/magento-typesense-cms-pages
1.0.4
2023-08-23 13:06 UTC
Requires
- php: >=8.1
- monogo/magento-typesense-core: ^1.0
README
Indexer for Magento CMS Pages
Configuration
As the first step, Go to Magento Admin → Configuration → Typesense → Catalog Categories
Indexers
| Indexer | Description |
|---|---|
bin/magento indexer:reindex typesense_cms_pages |
Typesense CMS Pages indexer. To enable this, configure Stores → Configuration →Typesense → CMS Pages |
Initial schema
'name' => $prefix . '_cms_pages' . $suffix,
'fields' => [
['name' => 'page_id', 'type' => 'int32', 'optional' => false, 'index' => true],
['name' => 'identifier', 'type' => 'string', 'optional' => false, 'index' => true],
['name' => 'title', 'type' => 'string', 'optional' => false, 'index' => true],
['name' => 'meta_keywords', 'type' => 'string', 'optional' => true, 'index' => false],
['name' => 'meta_description', 'type' => 'string', 'optional' => true, 'index' => false],
['name' => 'meta_title', 'type' => 'string', 'optional' => true, 'index' => false],
['name' => 'page_layout', 'type' => 'string', 'optional' => true, 'index' => false],
['name' => 'content_heading', 'type' => 'string', 'optional' => true, 'index' => true],
['name' => 'content', 'type' => 'string', 'optional' => true, 'index' => false],
['name' => 'content_stripped', 'type' => 'string', 'optional' => true, 'index' => true],
['name' => 'url', 'type' => 'string', 'optional' => false, 'index' => true],
],
'default_sorting_field' => 'page_id'