wiki.techinc.nl/maintenance/sqlite/archives/searchindex-fts3.sql
Fomafix 202f695f67 Update weblinks in comments from HTTP to HTTPS
Use HTTPS instead of HTTP where the HTTP link is a redirect to the HTTPS link.

Also update some defect links.

Change-Id: Ic3a5eac910d098ed5c2a21e9f47c9b6ee06b2643
2016-11-07 15:24:46 +01:00

18 lines
596 B
SQL

-- Patch that introduces fulltext search capabilities to SQLite schema
-- Requires that SQLite must be compiled with FTS3 module (comes with core amalgamation).
-- See https://sqlite.org/fts3.html for details of syntax.
-- Will fail if FTS3 is not present,
DROP TABLE IF EXISTS /*_*/searchindex;
CREATE VIRTUAL TABLE /*_*/searchindex USING FTS3(
-- Key to page_id
-- Disabled, instead we use the built-in rowid column
-- si_page INTEGER NOT NULL,
-- Munged version of title
si_title,
-- Munged version of body text
si_text
);
INSERT INTO /*_*/updatelog (ul_key) VALUES ('fts3');