-
-
Notifications
You must be signed in to change notification settings - Fork 116
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Support tokenize option for FTS #130
Labels
enhancement
New feature or request
Comments
API documentation here: 617e6f0?short_path=e156262#diff-e1562629b8def6da772d9b0903faf703 |
Turns out it works for FTS4 as well: https://www.sqlite.org/fts3.html#tokenizer |
CLI documentation: 57e4eb8?short_path=7240b7c#diff-7240b7c71b1a8194da0c001c64fc8d40 |
This was referenced Sep 20, 2020
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
FTS5 supports things like porter stemming using a
tokenize=
option:https://www.sqlite.org/fts5.html#tokenizers
Something like this in code:
I tried this out just now and it worked exactly as expected.
So...
db[table].enable_fts(...) should accept a 'tokenize=
argument, andsqlite-utils enable-fts ...
should support a--tokenize
option.The text was updated successfully, but these errors were encountered: