monogo/magento-typesense-cms-pages

Typesense CMS Pages indexer Magento implementation

1.0.4 2023-08-23 13:06 UTC

This package is auto-updated.

Last update: 2024-04-23 14:28:35 UTC


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'

Credits