Get hands-on experience with 20+ free Google Cloud products and $300 in free credit for new customers.

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 4 1,331
4 REPLIES 4

Thanks for summarizing 

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

Hi, @RayOvO 

Could you please let me know how to resolve this issue?
I am facing the same problem here. 
I have got 4000 facet keys but I didn't find releant way to resolve this issue.

Thank you for your support.