-
Notifications
You must be signed in to change notification settings - Fork 372
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
LIKE / ILIKE search #3
Comments
This hasn't been important in the last five years so I'll close it. |
Reopening since someone has asked for it in #356 |
looking for a way to find users where their email ends with '@example.com' |
Without pg_search, you could do with with something like See https://www.postgresql.org/docs/current/functions-matching.html#FUNCTIONS-LIKE |
Any reason/problem why this has not been integrated in pg_search for the past decade ? Although it is possible to write raw SQL, being able to use LIKE/ILIKE through pg_search would be cleaner. I'd be happy to work on a pull request if @nertzy will consider it. |
I would consider it. There are a lot of moving parts involved with implementing a pg_search feature, such as how they work with each other with weighting, etc., so it might be difficult, but it's definitely worth a shot. |
We could make a trivial search that uses SQL LIKE and ILIKE. It ought to be database-agnostic.
The text was updated successfully, but these errors were encountered: