I have a table like this:
CREATE VIRTUAL TABLE t USING FTS3(hidden, text1, text2)
I would like the user to be able to search for the columns "text1" and "text2", so the query
SELECT docid FROM t WHERE t MATCH ?
And the following queries are possible:
SELECT docid FROM t WHERE t MATCH 'foo' SELECT docid FROM t WHERE t MATCH 'text1:foo OR text2:bar'
Q: how can I exclude the "hidden" column from the search so that the user cannot find rows by the hidden value?
I am going to use a "hidden" column to refer to rows in a secondary table with additional information.
sqlite3 fts3
alex2k8
source share