Adding Attributes as Facets in Search Results

  1. Login into Magento Admin Panel
  2. Go to Stores → Attributes → Product (under Attribute section)
  3. Edit the attribute that you want to add as a facet in search results
  4. In Storefront Properties → Use In Search Results Layered Navigation → Select Yes use-in-search
    Note: If the website is using Flat Catalog for the products, please set the value of setting Used in Product Listing to Yes for the attributes assigned for Indexing to Klevu (see below screenshot for reference).searchable-attr
  5. Click on Save Attribute button
  6. Resynchronize all data,
      1. Go to Stores → Configuration → Klevu → Search Configuration
      2. Find Data Sync Settings
      3. Choose All Data option for Sync
      4. Click on the Save Config button
      5. Click on the Sync Data button