-
Notifications
You must be signed in to change notification settings - Fork 4.1k
Implement MVP frontend for Algolia search #20909
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
Conversation
Co-authored-by: github-actions[bot] <41898282+github-actions[bot]@users.noreply.github.com>
Co-authored-by: github-actions[bot] <41898282+github-actions[bot]@users.noreply.github.com>
Uffizzi Ephemeral Environment Deploying☁️ https://app.uffizzi.com/github.com/forem/forem/pull/20909 ⚙️ Updating now by workflow run 8941084185. What is Uffizzi? Learn more! |
* fix: copy to clipboard message * chore: deletion of unused imports
* Add field test for Digest article list design * Add check for cached user
* Include cached user in select * Add tags
end | ||
|
||
add_attribute(:profile_image) { { url: profile_image_90 } } | ||
# add_attribute(:profile_image_90) { profile_image_90 } |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
nit: seeing that other searchable also had this enabled, should this be uncommented?
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I'm a bit thrown off by the inconsistency between profile_image
vs profile_image_90
vs profile_image.url
but I get that perhaps is this clashing with the base search feature. Let's get this merged at the time being.
Yeah @maestromac there are some interface inconsistencies in our use here which should be ironed out if possible. We're now in position to make final quality tweaks before ultimately going live. |
What type of PR is this? (check all applicable)
Description
This should finish a basic implementation of Algolia search on Forem to provide an augmentation to the basic Postgres search for faster and more relevant results in the right cases.
As noted, PG is still the default and appropriate for smaller instances, and we could add other search indexes later.
We will also in the future make use of more Algolia features.
This implementation will likely require some fast follow to tune result relevancy in production, but should provide a basic upgrade.
Related Tickets & Documents