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
With "join": false option, facet will produce desired result. When join is disabled, facet will apply to the nested documents instead of the joined root document. See #2606 for more details.
Yes, this should be documented, and maybe "join":false should be the default when join option is omitted. I assume more users expect nested facets work on nested docs instead of joined root docs.
The general query form that exhibits this behavior is:
Please see the curl recreation example here:
https://gist.github.com/btiernay/6378567
The text was updated successfully, but these errors were encountered: