public function updateElasticMappings($mappings)
    {
        $mappings['BoostTerms'] = ['type' => 'keyword'];

        $mappings['Categories'] = ['type' => 'keyword'];
        $mappings['Keywords'] = ['type' => 'text'];
        $mappings['Tags'] = ['type' => 'keyword'];

        if ($this->owner instanceof \SiteTree) {
            // store the SS_URL for consistency
            $mappings['SS_URL'] = ['type' => 'text'];
        }
    }