Integrations
/
Magento 2
Apr 29, 2025
Query Categorization
Configure Algolia Query Categorization for Magento
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.
Copy
1
2
3
4
5
6
7
8
9
[
// ...
"categories" :{
level0: [ "Men" ],
level1: [ "Men /// Tops" ],
level2: [ "Men /// Tops /// Hoodies & Sweatshirts" ]
}
// ...
]
Setup 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:
For further information on enabling and configuring this feature, see Query Categorization.
Did you find this page helpful?