Differences
This shows you the differences between the selected revision and the current version of the page.
searching_index_for_japanese 2010/01/15 00:42 | 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 33: | Line 40: | ||
<code php> | <code php> | ||
if (!defined('YAHOO_API_CODE')) | if (!defined('YAHOO_API_CODE')) | ||
- | define('YAHOO_API_CODE','_F3TRHexg64WGN7BkqBt03OePtRKDon8qrFE6wWnEY.R7OWqPXVkHxJsTokT_Ijfa5w-'); | + | define('YAHOO_API_CODE','_xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx-'); |
/* | /* | ||
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/ |