Google Retail Facet Search: How to get all facets where result count is not empty in search response

Dear Developers,

I am currently working on implementing Google Retail Search in my application. The challenge I am facing is that I have over 200 custom product attributes, making it impractical to add all of them in the FacetSpecs during searching requests. However, I need to retrieve facets value and their count to build a user-friendly filter.

I attempted to use dynamic Facets, but unfortunately, I could not find any specific documentation on how to retrieve dynamic facet data when using Search API. Hence, I am requesting suggestions from experienced developers within the community. Any help provided will be greatly appreciated.

Thank you.

0 3 658
3 REPLIES 3

Thanks for summarizing 

Hello @RayOvO did you find a solution to this. I too am in a same situation.