Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
The example rank extension provided at http://www.sqlite.org/fts3.html#appendix_a
C
branch: master

Fetching latest commit…

Cannot retrieve the latest commit at this time

Failed to load latest commit information.
.gitignore
Makefile
README.md
fts4-rank.c
test-fts4.sql
test-matchinfo.sql
test-rank-weighted-columns.sql

README.md

Loadable Extensions in SQLite

There is a wonderful example of a rank extension provided in the sqlite3 documentation for full-text search. However, the example requires building an extension which is not explicitly detailed in the example. This repository is for the sole purpose of building the un-adulterated* example from the docs.

git clone http://github.com/coolaj86/sqlite3-fts4-rank.git
cd sqlite3-fts4-rank
make linux # or darwin (OSX) or win32 (Visual Studio)

sqlite3 --init test-fts4.sql ':memory:'

Note: *There were a few typos / errors in the example function. They have been corrected to behave as documented.

See Also

Something went wrong with that request. Please try again.