I spent almost two days on searching the web about this topic, but i don't know why my class doesn't override Mage_CatalogSearch_Model_Resource_Helper_Mysql4 (core/Mage/CatalogSearch/Model/Resource/Helper/Mysql4.php).
My class is
class Company_Module_Model_Override_CatalogSearch_Resource_Helper_Mysql4 extends
Mage_CatalogSearch_Model_Resource_Helper_Mysql4
{
}
the file is located in local/Company/Module/Model/Override/CatalogSearch/Resource/Helper/Mysql4.php
My config file is:
<global>
<models>
<catalogsearch_resource_helper>
<rewrite>
<mysql4>Company_Module_Model_Override_CatalogSearch_Resource_Helper_Mysql4</mysql4>
</rewrite>
</catalogsearch_resource_helper>
</models>
</global>
The module override other modules without problems, so I cannot figure out how to solve... Any idea? Thank you