因为sqlite FTS的默认标记化是“simple”,我可以将其更改为“porter”。但是我必须支持非美国语言,比如中文,它不能仅通过空格或点进行分割。因此,我想自定义标记器。有人能给我一些建议吗?
How to regist Tokenizer in Sqlite.
SELECT fts3_tokenizer(<tokenizer-name>, <sqlite3_tokenizer_module ptr>);
cause sqlite is system lib in Android , i don't know if i can regist.
- Is there a common tokenizer for all language? for my app must i18n. just support Chinese is not useful.