Based on the hint of checking the log, the following modification was made to enable Japanese partial match search.
// --- where to replace ---
// original 1 line
// $search = 'MATCH (Z1.title, Z1.content) AGAINST ('.db_input($query). $mode.')')';''
// ↓ Replace with this
// 1) Remove + * % from query string
$term = preg_replace('/[+*%]/u', '', $query);
// 2) Escaping ' to '\' with addslashes
$esc = addslashes($term); $esc
// 3) Create a conditional expression for LIKE partial match
$search = “(Z1.title
LIKE ‘%{$esc}%’ OR Z1.content
LIKE ‘%{$esc}%’)”; $search = “(Z1.title
LIKE ‘%{$esc}%’)”; $search = “Z1.
Thank you very much.