mirror of
https://github.com/simonw/sqlite-utils.git
synced 2026-07-24 18:04:32 +02:00
sqlite-utils populate-fts --tokenize= option, closes #130
This commit is contained in:
parent
617e6f070c
commit
57e4eb8e55
4 changed files with 35 additions and 11 deletions
|
|
@ -676,6 +676,10 @@ A better solution here is to use database triggers. You can set up database trig
|
|||
|
||||
$ sqlite-utils enable-fts mydb.db documents title summary --create-triggers
|
||||
|
||||
To set a custom FTS tokenizer, e.g. to enable Porter stemming, use ``--tokenize=``::
|
||||
|
||||
$ sqlite-utils populate-fts mydb.db documents title summary --tokenize=porter
|
||||
|
||||
To remove the FTS tables and triggers you created, use ``disable-fts``::
|
||||
|
||||
$ sqlite-utils disable-fts mydb.db documents
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue