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

Allow matching substrings in free text search? #28

Open
ar-jan opened this issue Nov 16, 2022 · 1 comment
Open

Allow matching substrings in free text search? #28

ar-jan opened this issue Nov 16, 2022 · 1 comment
Labels
enhancement New feature or request postponed Not being worked on, might be revisited

Comments

@ar-jan
Copy link
Contributor

ar-jan commented Nov 16, 2022

The FTS5 trigram tokenizer allows matching substrings in general (rather than only complete tokens or prefix tokens), but it does not match substrings shorter than 3 unicode characters. Supporting short tokens is required (e.g. general structure contains mainly short forms like V DO), so if substring matching is desired a different solution than SQLite FTS is needed.

Prefix tokens are supported by the (default) unicode61 tokenizer, which is used now.

@ar-jan ar-jan added the question Further information is requested label Nov 25, 2022
@ar-jan
Copy link
Contributor Author

ar-jan commented Jan 4, 2023

The FTS search options are sufficient so far. If needed, partial string matching can be revisited.

@ar-jan ar-jan added enhancement New feature or request and removed question Further information is requested labels Jan 4, 2023
@ar-jan ar-jan added the postponed Not being worked on, might be revisited label Feb 22, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request postponed Not being worked on, might be revisited
Projects
None yet
Development

No branches or pull requests

1 participant