Sqlite FTS using OR between match operators
When I execute the following query in sqlite engine (android or sqlitebrowser) it throws an exception that says unable to use function MATCH in the requested context
.
select
a.Body1,
b.Body2
from
tbl1_fts as a,
tbl2_fts as b
where
a.ID = b.ParentID and
(
a.Body1 match('value') or
b.Body2 match('value')
)
-Large tables have fts .
-Used operator And
between two matches (instead of OR
).
How can I fix this or change the query to find rows with the above condition?
+3
source to share