Page Menu
Home
WickedGov Phorge
Search
Configure Global Search
Log In
Files
F4119082
searchindex-fts3.sql
No One
Temporary
Actions
View File
Edit File
Delete File
View Transforms
Subscribe
Flag For Later
Award Token
Size
596 B
Referenced Files
None
Subscribers
None
searchindex-fts3.sql
View Options
-- 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'
);
File Metadata
Details
Attached
Mime Type
text/plain
Expires
Wed, Aug 19, 03:08 (2 w, 1 d ago)
Storage Engine
local-disk
Storage Format
Raw Data
Storage Handle
11/04/c65b25213740229eeadacec2ae16
Default Alt Text
searchindex-fts3.sql (596 B)
Attached To
Mode
rMWPROD MediaWiki Production
Attached
Detach File
Event Timeline
Log In to Comment