Hello.
It was possible to solve it to the problem of a Japanese retrieval by the
following correction.
(snippet.HyperFlexSearchForm.autogenerated.php)
mask this part
//$searchString_copy_t = strtolower(strtr($searchString_copy_t, $input_t, $output_t));
SELECT cnt.`id`, cnt.`pagetitle`, cnt.`description`, cnt.`content` FROM `modx`.`modx_site_content` AS cnt WHERE cnt.`published`=’1’ AND cnt.`searchable`=’1’ AND cnt.`deleted`=’0’ AND (cnt.`parent`=’98’) AND (( (LOWER(cnt.`pagetitle`) LIKE ’%子%’ OR LOWER(cnt.`description`) LIKE ’%子%’ OR LOWER(cnt.`content`) LIKE ’%子%’) OR (LOWER(cnt.`pagetitle`) LIKE ’%å�%’ OR LOWER(cnt.`description`) LIKE ’%å�%’ OR LOWER(cnt.`content`) LIKE ’%å�%’) )) ORDER BY `editedon` DESC, `createdon` DESC LIMIT 200;
↓change
SELECT cnt.`id`, cnt.`pagetitle`, cnt.`description`, cnt.`content` FROM `modx`.`modx_site_content` AS cnt WHERE cnt.`published`=’1’ AND cnt.`searchable`=’1’ AND cnt.`deleted`=’0’ AND (cnt.`parent`=’98’) AND (( (LOWER(cnt.`pagetitle`) LIKE ’%子%’ OR LOWER(cnt.`description`) LIKE ’%子%’ OR LOWER(cnt.`content`) LIKE ’%子%’) OR (LOWER(cnt.`pagetitle`) LIKE ’%子%’ OR LOWER(cnt.`description`) LIKE ’%子%’ OR LOWER(cnt.`content`) LIKE ’%子%’) )) ORDER BY `editedon` DESC, `createdon` DESC LIMIT 200;
Another one, I think correct SQL to be issued by changing the following
part.
//if ($q1_t != $q2_t) {
if ( !strcasecmp($q1_t,$q1_2) ){
↓change
SELECT cnt.`id`, cnt.`pagetitle`, cnt.`description`, cnt.`content` FROM `modx`.`modx_site_content` AS cnt WHERE cnt.`published`=’1’ AND cnt.`searchable`=’1’ AND cnt.`deleted`=’0’ AND (cnt.`parent`=’98’) AND ( (LOWER(cnt.`pagetitle`) LIKE ’%子%’ OR LOWER(cnt.`description`) LIKE ’%子%’ OR LOWER(cnt.`content`) LIKE ’%子%’) ) ORDER BY `editedon` DESC, `createdon` DESC LIMIT 200;
It came to be able to serch it.
The following problem occurred.
However, when the folder where all Japanese documents are stored is
retrieved, the retrieval does the time-out.
Isn’t there thing something being thought?
Thank you!