Skip to content
Discussion options

You must be logged in to vote

Hi @StewartLynch, it would be best if you can share the query you are constructing, as well as the search text that is entered when this error occurs.

Most likely this is due to the search text fed to an FTS5 function being invalid FTS syntax. We don't currently provide a builder for FTS and so it's very easy to provide text that is invalid syntax. We discuss this in episode 339 at 7:13 (direct link). The fix is to just do a light amount of escaping of the search text to make it valid FTS syntax, and some day in the future we may provide a better builder for FTS5.

Replies: 1 comment 1 reply

Comment options

You must be logged in to vote
1 reply
@StewartLynch
Comment options

Answer selected by StewartLynch
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet
2 participants