Hello to everyone out there. I am not quite unders...
# community-help
n
Hello to everyone out there. I am not quite understanding how to use the
facet_return_parent
field. I have a document with a nested object....
Copy code
[
                            'facet' => true,
                            'name' => 'category.id',
                            'type' => 'int32',
                        ],
                        [
                            'name' => 'category.name',
                            'type' => 'string',
                        ],
                        [
                            'name' => 'category.slug',
                            'type' => 'string',
                        ]
How can I make it return the category name and slug when returning facet by
category.id
?