Skip to end of metadata
Go to start of metadata

You are viewing an old version of this page. View the current version.

Compare with Current View Page History

« Previous Version 2 Next »

FTS3 and FTS4 are SQLite virtual table modules that allows users to perform full-text searches on a set of documents.

The basic idea is to have a virtual FTS table along a register table.

The virtual table holds the values that are used when searching and sorting as well as an identifier to link the register table.


Facts

  1. Queries perform much faster when indexes are used.
  2. Indexes are ignored when SQLite LIKE operator is used.
  3. Virtual tables require more space compared to regular tables.
  4. It takes more time to insert a record in a virtual table.
  5. Always consider explain query plan to determine whether your queries aren’t going to work slowly.
  6. FTS does not support suffix search, only prefix.


Links

https://www.sqlite.org/fts3.html

https://lab.getbase.com/killer-search-on-android-part-1

http://stackoverflow.com/questions/29815248/full-text-search-example-in-android



  • No labels

0 Comments

You are not logged in. Any changes you make will be marked as anonymous. You may want to Log In if you already have an account.