Search Module + Products - attributes indexation

Have a question or a suggestion about a 3rd party addon module or plugin?
Let us know here.
Post Reply
waldemar_r
Forum Members
Forum Members
Posts: 20
Joined: Fri Mar 05, 2010 2:34 pm

Search Module + Products - attributes indexation

Post by waldemar_r »

Hello,

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);
      }
    }
How can I make CMSMS to index numbers and products attributes?
Post Reply

Return to “Modules/Add-Ons”