Does BLOB data types in SQLite supports FULL-text search?

半腔热情 提交于 2019-12-11 05:45:27

问题


I am developing an Application using PHP and SQLite. And I create a my table's column with BLOB data types. I want to know that does BLOB data types in SQLite supports FULL-text search?


回答1:


As I understand the documentation, the type specified is parsed, but ignored:

a datatype name may be optionally specified for each column. This is pure syntactic sugar, the supplied typenames are not used by FTS or the SQLite core for any purpose.

This suggests that all columns in the table are created as TEXT or TEXT-like columns.

(As I understand, you are supposed to move columns eligible for full-text search to a separate virtual FTSx table, and just reference them through their FTSDx rowid).



来源:https://stackoverflow.com/questions/9854487/does-blob-data-types-in-sqlite-supports-full-text-search

易学教程内所有资源均来自网络或用户发布的内容,如有违反法律规定的内容欢迎反馈
该文章没有解决你所遇到的问题?点击提问,说说你的问题,让更多的人一起探讨吧!