-
-
Notifications
You must be signed in to change notification settings - Fork 3.7k
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Fix autocompletion on sqlite FTS backend
* Fix incorrect signatures for `SQLiteAutocompleteQueryCompiler` * Syntax for an autocomplete search should have the `*` outside of quotes - `"foo"*` rather than `"foo*"` * Query compiler was hardcoded to search on the 'title' and 'body' fields of the FTS table, rather than 'autocomplete' Full support for searching on specified fields is still lacking - the 'title' and 'body' fields are special cased, and other column names will return a SQL error.
- Loading branch information
Showing
3 changed files
with
14 additions
and
36 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters