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-10-23 15:28:06 UTC


README

Indexer for Magento CMS Pages

Configuration

As the first step, Go to Magento Admin → Configuration → Typesense → Catalog Categories

Indexers

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