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.
Closed
Implemented
FS#653 Wrong word count in full-text search index when unicode is used
UTF-8/Unicode
2005-12-01osamuh
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
<code php>
$words[$w] = $c + (isset($words[$w]) ? $words[$w] : 0);
</code>
should be
<code php>
$words[$w] = $c * $count + (isset($words[$w]) ? $words[$w] : 0);
</code>
2005-12-01u-4
I tested this hack with 20051128version with hack for #563, and got proper number of hit count for both English query and Japanese query.