Magento full text search does not work with Live

Magento full text search not working

Follow the steps below

enable full-text search with system->configuration->catalogsearch

and

  app/code/core/Mage/CatalogSearch/Model/resources/Fulltext.php 

change

  $likeCond = '(' . join(' OR ', $like) . ')'; 

to

  $likeCond = '(' . join(' AND', $like) . ')'; 

but still I cannot search for the word fulltext exactly.

+6
source share
1 answer

You also need to change

 $where .= ($where ? ' OR ' : '') . $likeCond; 

to

 $where .= ($where ? ' AND ' : '') . $likeCond; 
+2
source

Source: https://habr.com/ru/post/989120/


All Articles