是的SQLite在Android上建成启用了FTS的ICU分词?分词、是的、SQLite、Android

2023-09-06 09:16:03 作者:〆海浔、深蓝

就像标题所说:我们可以使用 ...使用FTS3(标记生成器ICU th_TH,...)。如果能,有没有人知道什么是区域设置支载,以及是否因平台不同而变化?

Like the title says: can we use ...USING fts3(tokenizer icu th_TH, ...). If we can, does anyone know what locales are suported, and whether it varies by platform version?

推荐答案

没有,只有标记者=门房

No, only tokenizer=porter

在我指定标记生成器= ICU,我得到android.database.sqlite.SQLiteException:未知标记者:ICU

When I specify tokenizer=icu, I get "android.database.sqlite.SQLiteException: unknown tokenizer: icu"

此外,此链路暗示如果机器人没有默认编译它在,它不会被 可用的 http://sqlite.phxsoftware.com/forums/t/2349.aspx

Also, this link hints that if Android didn't compile it in by default, it will not be available http://sqlite.phxsoftware.com/forums/t/2349.aspx