This doesn't seem to be an option at the moment. Here's a Discussion and an open Issue on Github requesting this functionality.
GitHub
after query some document in collection i only want unique values of one attribute. like: unique brand name in product details with product in one category filter.