drupal search api facets taxonomy term include parents

What i was actually trying to do only required configuring the facet, one very simple option.

But there’s more powerful approaches!

How can I show parent and child terms in facet search filter block for a taxonomy field having simple hierarchial select as widget type - Drupal Answers

Taxonomy Parents Index | Drupal.org