You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Is there a way to get all the buckets (also empty ones) in a result? It would be useful in "should" (or) queries to expand the search.
We can get around it doing an extra query but its a bit cumbersome.
Thanks
PS: I tried posting a similar question in the Google Group (as it seems more appropriate for questions), but it did not go through.
The text was updated successfully, but these errors were encountered:
Sorry for the issue posting to the google group. Everyone's first message to the group is moderated, and I must have missed the notification that your message was in the queue. I will try to add more moderators to the group so we can avoid this in the future.
Can you provide an example of what you are asking for? Like what kind of query and facets are you specifying, and which empty buckets you want returned (some facets create buckets dynamically, making this part unclear)?
In this case I will get the "color" aggregation in the result, but it will only contain the "black" bucket with some count value > 0.
I would like to get all the colors with a count = 0 as well.
Hi,
Is there a way to get all the buckets (also empty ones) in a result? It would be useful in "should" (or) queries to expand the search.
We can get around it doing an extra query but its a bit cumbersome.
Thanks
PS: I tried posting a similar question in the Google Group (as it seems more appropriate for questions), but it did not go through.
The text was updated successfully, but these errors were encountered: