Hello,
I am doing a search operation to get some product results with their associated aggregations.
So , here, aggregations are by products of the search result
When I fetch this result, I ask for only 100 aggregations (this is just for our UI requirement)
On UI side, when I click on "next" button, I get 200 aggregations and so on.
Now, my requirement is to filter or search through the aggregations themselves.
For example, if I have 1000 aggregations on the index and If I ask for aggregations with substring "xyz", it should return all of the matching aggregations.
So,
- First, I need to perform search to get products. Because, I want to show them on UI. Along with products, I get their associated aggregations.
- Now, I want to search through ALL aggregations on the index (not just 100 or 200 but search through all of them) based on my search string.
Do we have any solution for this scenario?
Thank you in advance for your answer.