I have 4 vocabularies and the nodes have terms from each of these vocabularies. I enabled only one of these in /en/admin/settings/faceted_search/1. The guided search block still displays all the terms from all vocabularies.

I rebuilt the taxonomy index, run cron, checked the database - nothing. Can someone please explain where are the settings are stored and where the code snippet is, where the guided search block checks for the enabled facets. I'm a developer, I could fix it and commit a patch, but some hints where to look, to save times would be great.

I read something about the 'hierarchy' field and the 'relations' field in the vocabulary table, but I didn't get the idea. If someone could explain the problem, I could implement the solution in code.