summaryrefslogtreecommitdiff
path: root/lib/exe/indexer.php
diff options
context:
space:
mode:
authorAndreas Gohr <andi@splitbrain.org>2005-09-25 19:54:51 +0200
committerAndreas Gohr <andi@splitbrain.org>2005-09-25 19:54:51 +0200
commit93a60ad223af9f649d62d2acbdffd22ce5ad1b97 (patch)
tree16e6bfbea21c90fa3fc625b0d3cc5ee4d14692bd /lib/exe/indexer.php
parent134f4ab222dddaf47588c908d0c2b81a3da2b76b (diff)
downloadrpg-93a60ad223af9f649d62d2acbdffd22ce5ad1b97.tar.gz
rpg-93a60ad223af9f649d62d2acbdffd22ce5ad1b97.tar.bz2
asian language support for the indexer #563
Asian languages do not use spaces to seperate words. The indexer however does a word based lookup. Splitting for example Japanese texts into real words is only possible with complicated natural language processing, something completely out of scope for DokuWiki. This patch solves the problem by treating all asian characters as single words. When an asian word (consisting of multiple characters) is searched it is treated as a phrase search, looking up each charcter by it self first, then checking for the phrase in found documents. darcs-hash:20050925175451-7ad00-933b33b51b5f2fa05e736c18b8db58a5fdbf41ce.gz
Diffstat (limited to 'lib/exe/indexer.php')
0 files changed, 0 insertions, 0 deletions