Matt Luo
Matt Luo10mo ago

What spoken languages does the searchIndex method support?

I’m particularly interested in languages that do not delimit words by spaces, such as Chinese, Japanese, and Korean.
3 Replies
Michal Srb
Michal Srb10mo ago
This should be better documented at https://docs.convex.dev/text-search, right now it works generally with languages that do separate words by spaces. cc @Sam J for more details.
Matt Luo
Matt LuoOP10mo ago
Thanks Michal. As a workaround, could my app add spaces between the Chinese words, and then apply the searchIndex on that segmented text?
Michal Srb
Michal Srb10mo ago
I was thinking about that too, you could certainly give it a try.

Did you find this page helpful?