Support websearch_to_tsvector
in full_text_search
#2075
Closed
rgalanakis
started this conversation in
General
Replies: 2 comments 1 reply
-
I'm open to added support for that. Can you send in a pull request with adapter tests for it? |
Beta Was this translation helpful? Give feedback.
1 reply
-
You're a real mensch! Thanks Jeremy and sorry I wasn't able to get to it. |
Beta Was this translation helpful? Give feedback.
0 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
-
On this line: https://github.com/jeremyevans/sequel/blob/master/lib/sequel/adapters/shared/postgres.rb#L1819
Would be nice to be able to use
:websearch
too (which iswebsearch_to_tsquery
vs.plainto_tsquery
so isn't just adding another option.Also maybe consider using the
to_tsquery
value verbatim if it ends with"to_tsquery"
? That way it'd be proofed against new tsquery routines.In the meantime I know I can pass in my own expression but it's not as clean. Thanks!
Beta Was this translation helpful? Give feedback.
All reactions