Use SQLite's fts11 full-text search functionality for search instead of the LIKE operator. This should result in faster search with goodies like boolean operators or search keyword suppression.
fts1 is obsolete, fts4 or fts5 is better indicated. The fts5 query syntax has gotchas, though, as the minus sign has undesirable special meaning, so we'd need to preprocess the query to force-quote all strings.
Use SQLite's
fts11
full-text search functionality for search instead of theLIKE
operator. This should result in faster search with goodies like boolean operators or search keyword suppression.