I am using the fastsimpleimport module to create my custom import. This has a
setDropdownAttributes() function to automatically create needed attribute values but it does not remove unused values. Those still show up in my advanced search.
How can I search and remove unused attribute values?
I think they are stored in
eav_attribute_option_value but I am not sure how to check if they are used by a product.