Skip to content
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

FTS4 Full Text Search for sqflite (sqlite) #116

Open
vectorlit opened this issue Mar 20, 2019 · 0 comments
Open

FTS4 Full Text Search for sqflite (sqlite) #116

vectorlit opened this issue Mar 20, 2019 · 0 comments

Comments

@vectorlit
Copy link

Both Android and iOS have native support for the FTS4 virtual table module extensions. Currently there is no way in jaguar to enable these.

Documentation on the feature is here for FTS4: https://sqlite.org/fts3.html

In other popular abstracted mobile ORMs, such as Entity Framework for mono/xamarin, this support is generally accompanied with code annotation support for COLLATE NOCASE. Without caseless collation, the FTS MATCH feature is generally not useful.

Documentation on collation methods are here, but specifically pertinent to this request is https://sqlite.org/datatype3.html#collation_sequence_examples

My suggestion is for adding the following for sqflite ORM only:

  1. Add support for table creation statements to allow for the "VIRTUAL [...] USING FTS4" flags
  2. Add support for comparison operator 'MATCH' when FTS4 is enabled on a table.
  3. Annotations support for fields to have COLLATE NOCASE option
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant