Based on this question, I've obtained an "Indexed Node: Taxonomy Name" field in my view.
How can I group the results by parent terms? When I group by the term field (Format > Settings > Grouping field Nr.1), no parent terms are displayed.
Drupal Answers is a question and answer site for Drupal developers and administrators. It only takes a minute to sign up.Sign up to join this community
You can also add the parent term to the index.
So if you have field_category as your term field you will be able to index field_product_category:parent.
Note that you may have to use the "Add related fields" section at the bottom of the fields admin page for your index to add the parent term relation before you can add the parent term tid or term name etc.
Then in your view also add the parent term name field and exclude it from display and then group by it.