protected function _isAttributeIndexable(Mage_Eav_Model_Entity_Attribute_Abstract $attribute) { if ($attribute->getIsFilterable() == 0 && $attribute->getIsVisibleInAdvancedSearch() == 0) { return false; } if ($attribute->getFrontendInput() != 'select' && $attribute->getFrontendInput() != 'multiselect') { return false; } return true; }