Modern SQLite: Features You Didn't Know It Had

https://slicker.me/sqlite/features.htm

SQLite Features You Didn’t Know It Had: JSON, text search, CTE, STRICT, generated columns, WAL

SQLite Features You Didn’t Know It Had: JSON, text search, CTE, STRICT, generated columns, WAL

SQLite seems very powerful for building FTS (user enters free text, expects high precision/recall results). Still, I feel like it's non-trivial to get good search quality.

I think the naive approach is to tokenize the input and append "*" for prefix matching. I'm not too experienced and this can probably be improved a lot. There are many settings like different tokenizers, stemming, etc. Additionally, a lot can be built on top like weighting, boosting exact matches, etc.

Does anyone know good resources for this to learn and draw inspiration from?