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

@ -383,7 +383,7 @@ sub search {
for my $term (@terms) {
# we add padding to ideographic characters to avoid minimum word length limits on indexing
if ($term =~ /\p{Ideographic}/) {
$term = qq{''$term''};
$term = q{''}.$term.q{''};
}
$term .= q{*};
next