Skip to article frontmatterSkip to article content
Site not loading correctly?

This may be due to an incorrect BASE_URL configuration. See the MyST Documentation for reference.

Hands on Full-text Search in SQLite3

Things on this page are fragmentary and immature notes/thoughts of the author. Please read with your own judgement!

FTS5 (Full-text Search) in SQLite3

  1. If tokens in the search phrase are separated by either spaces or plus signs, then they are matched in order by tokens in the text. To match tokens orderless, you can separate tokens in the search phrase with the keyword AND.

Loading...

Match

Loading...
Loading...

The Equal Sign

The equal sign (=) is equivalent to the match keyword.

Loading...

The Table-valued function Syntax

Loading...

Order by the Default Rank

Loading...

Order by BM25

Loading...
org.sqlite.SQLiteException: [SQLITE_ERROR] SQL error or missing database (no such table: email)

Highlight

1st param: the name of the virtual table.
2nd param: 0-based column index specifying the column from which to search the keywords.
3rd param: left quoting string.
4th param: right quoting string.

Loading...