Plugin: Rename facet categories
Enable the rename-facet-categories plugin on your results page from the Extensions screen in the administration dashboard or add the following results page configuration to enable the plugin.
The following option can be set (multiple times) in the results page configuration to configure the plugin:
plugin.rename-facet-categories.config.<facet_name>.<category_label>: Sets the new label to apply to the facet category.
<facet_name>is the facet containing the category that is to be renamed.
<category_label>is the category that you wish to rename.
The following example will result in Robert being displayed in the People facet in place of Bob; and United Kingdom being displayed in the Country facet instead of UK.
plugin.rename-facet-categories.config.People.Bob=Robert plugin.rename-facet-categories.config.Country.UK=United Kingdom
|This plugin only changes the label for a facet category and will not collapse together categories. For example if your facet already includes a category Robert and you rename Bob to Robert you will end up with two categories called Robert in the facet - one containing the count for items originally labelled Bob and the other for the pre-existing Robert category.|