cancel
Showing results for 
Search instead for 
Did you mean: 
Read only

Searching by category shows all product

Former Member
0 Likes
382

Hello, I have a problem and I don´t know how resolve it. I do a searching by category (categoryPageController) and he shows all product from all categories

Thanks for your help See you soon

Accepted Solutions (1)

Accepted Solutions (1)

Former Member
0 Likes

Validate in your SOLR console what is happening when you pass the category code. I assume your request is going to all categories page and it is returning all the products. Validate your indexed properties in your active index and check if category code and name are indexed.

Former Member
0 Likes

Thanks so much, I set to true the facet property from SolrindexedProperty (to the property allCategories) because I had a warning in my console, and all it's ok

[FacetSearchQueryFacetsPopulator] Search query contains value for facet but facet was not added [field: allCategories]

Answers (0)