I am trying to collect the words and built a set from fts4aux table to feed a AutocCompleteTextView. But having issues accessing the virtual table created using fts4aux
I have a virtual table 'ProductVirtual'.
CREATE VIRTUAL TABLE ProductVirtual USING fts4(name, company)
From this i have created a fts4aux table called 'product_terms'.
CREATE VIRTUAL TABLE product_terms USING fts4aux(ProductVirtual)
Here is my query
select term from product_terms
When i run this query against the sqlite db from a db console, i am able to retrieve the result.
But when i use the same query from my android app it throws the following error
I/SqliteDatabaseCpp(26555): sqlite returned: error code = 1, msg = no such module: fts4aux, db=/data/data/com.product/databases/product_device.db
At the same time i am able to query the fts4 virtual table from the android app without problem. So, i am sure fts4 is enabled.
But only problem is using the 'fts4aux' table. How do i overcome this? Do i have to enable 'fts4aux' separately somewhere?
please post your thoughts. thanks!