Magento 2 Category layered navigatoin,
In magento category layered navigation content comes from below file
vendor/magento/module-catalog-search/Model/Layer/Filter/Category.php
In this file, inside _getItemsData()
function one line,
$optionsFacetedData = $productCollection->getFacetedData('category');
I want to know what is the use of getFacetedData('category')
in magento.