Add tests for ideogram searching. ft_min_word_len must be 2 or less.

This commit is contained in:
Colin Kuskie 2009-08-21 21:29:43 +00:00
parent d9cf707963
commit ea51ba559e
4 changed files with 36 additions and 3 deletions

View file

@ -193,7 +193,7 @@ sub _filterKeywords {
$word =~ s/\p{isPunct}+\z//;
# we add padding to ideographic characters to avoid minimum word length limits on indexing
if ($word =~ /\p{Ideographic}/) {
$word = qq{''$word''};
$word = q{''}.$word.q{''};
}
}