I prepared a Products catalog using Products module. When I search a keyword that exists in Product name, it appears in search results. But when I search for some product's attribute ex. 15001 search result is empty.
I noticed that search indexation class omits numbers during indexation process. Numbers are omitted in search process, why?
Code: Select all
// strip off anything 3 chars or less
if( !function_exists('__search_stemphrase_filter') )
{
function __search_stemphrase_filter($a)
{
return strlen($a) >= 3 && !is_numeric($a);
}
}