I have a country taxonomy field. The top level is continents then below that countries:
- I'm using search API (with solr backend) to index.
- Views to display the results.
- Views exposed filters to search.
How can I set-up the search, so a search on a parent term (e.g. Asia) displays all it's children (China, Thailand etc.)?
I think the relevant solution if you're not using Search API is described in this page:
I think you have to add a contextual filter which sets the rules for taxonomy, however this doesn't seem to be an option in Search API. There are also no contrib modules which solve this problem.
Has anyone tackled this before?