protected function parseTaxonomies($contentType, $taxonomies)
{
foreach ((array) $taxonomies as $taxonomy) {
$taxonomyConfig = $this->config->get('taxonomy/' . $taxonomy);
if (isset($taxonomyConfig['searchweight'])) {
$weight = $taxonomyConfig['searchweight'];
} elseif (isset($taxonomyConfig['behaves_like']) && $taxonomyConfig['behaves_like'] === 'tags') {
$weight = 75;
} else {
$weight = 50;
}
$this->searchableTypes[$contentType][$taxonomy] = ['weight' => $weight];
$this->joins[$contentType][] = $taxonomy;
}
}