I am using v1.5.10 and there is problem of Multiple Keyword search not working. Especially in adding new product.
Say for ex. If i have a product named “Test Product”. When i search with the keyword test it works fine. If i use test p or test product, when it comes to multiple words it doesn’t work.
$this->db->group_start();
// tried this
$str = str_replace(" ","|", $match);
$this->db->where("ip_products.product_name rlike '$str'");
$this->db->or_like('ip_products.product_sku', $match);
$this->db->or_like('ip_products.product_name', $match);
$this->db->or_like('ip_products.product_description', $match);
$this->db->group_end();
// then this
$this->db->group_start();
$this->db->like('ip_products.product_name', $match);
$this->db->or_where('ip_products.product_sku', $match);
$this->db->or_where('ip_products.product_description', $match);
$this->db->group_end();
// then this too
$str = str_replace(" ","|", $match);
$str = explode(" ", $match);
$this->db->where("ip_products.product_name rlike '$str'");
Nothing worked for me.