monogo / magento-typesense-catalog-categories
Typesense Catalog Categories indexer Magento implementation
Installs: 43
Dependents: 2
Suggesters: 0
Security: 0
Stars: 0
Watchers: 4
Forks: 0
Open Issues: 0
Type:magento2-module
Requires
- php: >=8.1
- monogo/magento-typesense-core: ^1.0
README
Indexer for Magento Catalog Categories
Configuration
As the first step, Go to Magento Admin → Configuration → Typesense → Catalog Categories
Indexers
Initial schema
'name' => $prefix . '_categories' . $suffix,
'fields' => [
['name' => 'entity_id', 'type' => 'int32', 'optional' => false, 'index' => true],
['name' => 'uid', 'type' => 'string', 'optional' => false, 'index' => true],
['name' => 'store_id', 'type' => 'int32', 'optional' => false, 'index' => true],
['name' => 'name', 'type' => 'string', 'optional' => false, 'index' => true],
['name' => 'url', 'type' => 'string', 'optional' => false, 'index' => true],
['name' => 'url_key', 'type' => 'string', 'optional' => false, 'index' => true],
['name' => 'canonical_url', 'type' => 'string', 'optional' => false, 'index' => true],
['name' => 'is_active', 'type' => 'int32', 'optional' => false, 'index' => true, 'facet' => true],
['name' => 'is_anchor', 'type' => 'int32', 'optional' => false, 'index' => true, 'facet' => true],
['name' => 'include_in_menu', 'type' => 'int32', 'optional' => false, 'index' => true, 'facet' => true],
['name' => 'product_count', 'type' => 'int32', 'optional' => false, 'index' => true],
['name' => 'categories_path', 'type' => 'string[]', 'optional' => true, 'index' => true],
['name' => 'position', 'type' => 'int32', 'optional' => false, 'index' => true],
['name' => 'description', 'type' => 'string', 'optional' => true, 'index' => false],
['name' => 'description_stripped', 'type' => 'string', 'optional' => true, 'index' => true],
['name' => 'meta_title', 'type' => 'string', 'optional' => true, 'index' => true],
['name' => 'meta_keywords', 'type' => 'string', 'optional' => true, 'index' => true],
['name' => 'meta_description', 'type' => 'string', 'optional' => true, 'index' => true],
['name' => 'display_mode', 'type' => 'string', 'optional' => true, 'index' => true, 'facet' => true],
['name' => 'landing_page', 'type' => 'string', 'optional' => true, 'index' => false,],
['name' => 'landing_page_stripped', 'type' => 'string', 'optional' => true, 'index' => true,],
['name' => 'parent_categories', 'type' => 'string[]', 'optional' => true, 'index' => true,],
['name' => 'children_categories', 'type' => 'string[]', 'optional' => true, 'index' => true,],
['name' => 'breadcrumbs', 'type' => 'object[]', 'optional' => true, 'index' => false,],
],
'default_sorting_field' => 'entity_id'