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, over 4000, 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.
Solved! Go to Solution.
Hi @pavlodidushko,
Welcome to Google Cloud Community!
It looks like you're facing a common challenge with large attribute sets in Google Retail Search. Here's a breakdown of a possible solution, focusing on strategies since there isn't a clear method for "dynamic facets" retrieval in the search API:
Core Problem: You have too many attributes to predefine in FacetSpecs, and you need facet information for filtering.
Possible Solution Strategy: A Combination Approach
The main idea is to avoid retrieving all facet data at once. Instead, retrieve it on-demand based on the user's interactions with the initial search results and filters. Here are some approaches you can consider:
Initial Search:
On-Demand Facet Retrieval:
Filter update:
Key Considerations
You can also read the following documentation for more details:
Was this helpful? If so, please accept this answer as “Solution”. If you need additional assistance, reply here within 2 business days and I’ll be happy to help.
Hi @pavlodidushko,
Welcome to Google Cloud Community!
It looks like you're facing a common challenge with large attribute sets in Google Retail Search. Here's a breakdown of a possible solution, focusing on strategies since there isn't a clear method for "dynamic facets" retrieval in the search API:
Core Problem: You have too many attributes to predefine in FacetSpecs, and you need facet information for filtering.
Possible Solution Strategy: A Combination Approach
The main idea is to avoid retrieving all facet data at once. Instead, retrieve it on-demand based on the user's interactions with the initial search results and filters. Here are some approaches you can consider:
Initial Search:
On-Demand Facet Retrieval:
Filter update:
Key Considerations
You can also read the following documentation for more details:
Was this helpful? If so, please accept this answer as “Solution”. If you need additional assistance, reply here within 2 business days and I’ll be happy to help.
I have been working on vertex ai search for retail for large retail services. I really need an expert' advice. This would be a long story so thank you for your consideration and appreciate it if you can give me an advice as much as possible, as soon as possible.
For ex) if I search 1" pillow block bearing
Thank you for your feedback.
🙏🙏🙏🙏🙏
User | Count |
---|---|
2 | |
2 | |
1 | |
1 | |
1 |