sqlite - android sql how to handle large Query 200000 lines database? -



sqlite - android sql how to handle large Query 200000 lines database? -

i utilize code give suggestions user when typing. 1 query takes lot of time. there way speed up?

string cnql = "select distinct sinhala jgd sinhala '"+gg+"%' limit 0,4"; cursor cg=cn.rawquery(cnql, null);

you can create virtual table total text searching on android provides quick way retrieve matching strings. however, require set , maintain separate fts virtual table , populate strings want search. focus total text search, not back upwards 'starts with' type of operator, although can gg + "*" search words prefixed search query.

android sqlite

Comments

Popular posts from this blog

xslt - DocBook 5 to PDF transform failing with error: "fo:flow" is missing child elements. Required content model: marker* -

mediawiki - How do I insert tables inside infoboxes on Wikia pages? -

Local Service User Logged into Windows -