Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

Is SQLite on Android built with the ICU tokenizer enabled for FTS?

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?

like image 610
Ted Hopp Avatar asked Aug 15 '11 20:08

Ted Hopp


1 Answers

No, only tokenizer=porter

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

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

like image 163
gregm Avatar answered Sep 30 '22 22:09

gregm