Skip to main content
Query Categorization is a powerful Algolia feature that can be used out of the box with the Magento extension. You can natively use the categories attribute from the product records.
JSON
[
  // ...
  "categories" :{
    level0: [ "Men" ],
    level1: [ "Men /// Tops" ],
    level2: [ "Men /// Tops /// Hoodies & Sweatshirts" ]
  }
  // ...
]
Configure the Query Categorization’s settings with this attribute selecting its hierarchical levels in the Query Categorization > Categories settings section of the index configuration within the Algolia dashboard: Configure Query Categorization settings For more information about enabling and configuring this feature, see Query Categorization.
⌘I