A limitation of Sqlite3's full text search doesn't allow ORs with MATCHes. Workaround?
问题 Sqlite3's full text search facility - FTS3 - allows to use MATCH operator for fast full-text search: SELECT ItemId FROM docs WHERE docs.text MATCH 'linux' However, it does not support OR operator anywhere in an SQL query where there's a MATCH (source: 1, 2): SELECT ItemId FROM docs WHERE docs.text MATCH 'linux' OR column=value error: unable to use function MATCH in the requested context (Not to be confused with OR operator in the FTS3 query itself, i.e. SELECT ItemId FROM docs WHERE docs.text