Add tests for ideogram searching. ft_min_word_len must be 2 or less.
This commit is contained in:
parent
d9cf707963
commit
ea51ba559e
4 changed files with 36 additions and 3 deletions
|
|
@ -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{''};
|
||||
}
|
||||
}
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue