This is a static dump of issues in the old "Flyspray" bugtracker for DokuWiki. Bugs and feature requests are now tracked at the
issue tracker at Github
FS#653 Wrong word count in full-text search index when unicode is used
In full-text search, the word count for the word with unicode characters is wrong (usually 1 regardless the frequency of the word).
In idx_getPageWords function (inc/indexer.php), the line
$words[$w] = $c + (isset($words[$w]) ? $words[$w] : 0);
$words[$w] = $c * $count + (isset($words[$w]) ? $words[$w] : 0);
I tested this hack with 20051128version with hack for #563, and got proper number of hit count for both English query and Japanese query.