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
Full text search in python #753
Labels
documentation
Improvements or additions to documentation
Comments
You would perform a full text search using the client.table("movies").select("*").text_search("title", "'The Aveng'").execute() or if you want to manually use a filter you can do client.table("movies").select("*").filter("title", "fts", "'The Aveng'").execute() Do note the single quote around |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Hi!
I am wondering if there is a way to do the full text search as described here? https://supabase.com/docs/guides/database/full-text-search?language=js&example-view=sql
Note I am fine on creating the fts column in the table I am searching, just when I am trying to do the actual search.
Note I am trying to use this:
initial_query = initial_query.filter('fts', 'plfts', keyword_query)
Where the keyword_query is either one word or a few strung together by |
If I attempt the same query in the sql in supabase itself it works, but it doesnt work if I try and use .filter and I am not sure what else to use (eg textsearch does not exist on it).
How can I get this to work?
I have considered:
Unsure how to get this to work
Thanks in advance!
The text was updated successfully, but these errors were encountered: