- Sponsor
-
Notifications
You must be signed in to change notification settings - Fork 211
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
Dashboard search doesn't always match kwargs #1547
Comments
I think this might be a side effect of Postgres Full Text search. This is the query I'm using: good_job/app/models/concerns/good_job/filterable.rb Lines 37 to 42 in b557525
Maybe |
Right... if pg dictionaries are losing characters b/c these aren't english words, that could do it.... |
yep! I think we should try it. I feel pretty good about the current regression tests, so we can be creative. I think probably the complexity of these arguments can be expanded to cover your needs: good_job/spec/app/models/concerns/good_job/filterable_spec.rb Lines 8 to 23 in b557525
...and then we just gotta find a query that matches them. |
We sprinkle metadata into our job kwargs to enable lookup in the Dashboard, like this:
po_8o9yOwc88sfMQWFmjE8F
finds the job.8o9yOwc88sfMQWFmjE8F
(a substring of the previous arg) finds the jobA-1012679
does NOT find the jobgid://supply-side-platform/Orders::Types::ReservationLineItem/rli_Dd2LpagvXuqaZNAZt4yu
does NOT.rli_Dd2LpagvXuqaZNAZt4yu
(a substring of the previous arg) does NOT.Why can some args (
po_8o9yOwc88sfMQWFmjE8F
) be used for searching and others (A-1012679
) can not be?The text was updated successfully, but these errors were encountered: