Differences

This shows you the differences between the selected revision and the current version of the page.

searching_index_for_japanese 2010/01/15 01:08 searching_index_for_japanese 2020/02/06 11:04 current
Line 21: Line 21:
// Split Japanese words by using Yahoo Web API if there are Japanese chars. // Split Japanese words by using Yahoo Web API if there are Japanese chars.
$text = split_japanese_words($text); $text = split_japanese_words($text);
 +</code>
 +
 +
 +One character of Japanese Kanji may be meaningful. So change FORUM_SEARCH_MIN_WORD to 1 at line 20 in search_idx.php
 +<code php>
 +if (!defined('FORUM_SEARCH_MIN_WORD'))
 + define('FORUM_SEARCH_MIN_WORD', 1);
</code> </code>
Line 76: Line 83:
===== Modification of SQL ===== ===== Modification of SQL =====
See also this post in the forum. See also this post in the forum.
-  *http://punbb.informer.com/forums/post/119577/+  *https://punbb.informer.com/forums/post/119577/

Personal Tools