Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

android 使用wcdb 2.1.4 创建icu分词器报错 #1094

Closed
zl15074769846 opened this issue May 13, 2024 · 7 comments
Closed

android 使用wcdb 2.1.4 创建icu分词器报错 #1094

zl15074769846 opened this issue May 13, 2024 · 7 comments

Comments

@zl15074769846
Copy link

The language of WCDB

e.g Java

//注册本数据需要用到的分词器
database.addTokenizer(BuiltinTokenizer.ICU);
//创建虚表
database.createVirtualTable("ddd",DBMgImSearch.INSTANCE);

使用上述代码创建虚表 报错:

com.tencent.wcdb.base.WCDBNormalException: Code: 1; Message: unknown tokenizer: icu; Path: /data/user/0/com.mgtv.dolphinjni/databases/test2222.db; SQL: CREATE VIRTUAL TABLE IF NOT EXISTS ddd USING fts4(tokenize = icu, nick_name TEXT, avatar TEXT); Source: SQLite

The version of WCDB

e.g. v2.1.4

The platform of WCDB

e.g. iOS, macOS or Android

The installation of WCDB

e.g. Cocoapods, Carthage, Maven, AAR Package or Git clone

What's the issue?

Post the outputs or screenshots for errors.

Explain what you want by example or code in English.

@zl15074769846
Copy link
Author

Previously used Android 1.0.8, which used the built-in MMICU of WCDB. Now using 2.1.4, is it compatible and will data loss occur?

@Qiuwen-chen
Copy link
Collaborator

MMICU is not supported in the new version yet. I will consider it in the next version, please wait.

@zl15074769846
Copy link
Author

MMICU is not supported in the new version yet. I will consider it in the next version, please wait.

MMICU is not supported in the new version yet. I will consider it in the next version, please wait.

Urgently needed, I hope the next version can support it

@zl15074769846
Copy link
Author

MMICU is not supported in the new version yet. I will consider it in the next version, please wait.

Can I join the communication group?

@Qiuwen-chen
Copy link
Collaborator

MMICU is not supported in the new version yet. I will consider it in the next version, please wait.

MMICU is not supported in the new version yet. I will consider it in the next version, please wait.

Urgently needed, I hope the next version can support it

OK

@Qiuwen-chen
Copy link
Collaborator

MMICU is not supported in the new version yet. I will consider it in the next version, please wait.

Can I join the communication group?

No such group

@Qiuwen-chen
Copy link
Collaborator

Supported in v2.1.5

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants