Skip to content
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

Improve the overall of perceived performance in the search requests #193

Open
brunoocasali opened this issue Sep 28, 2022 · 0 comments
Open
Labels
enhancement New feature or request

Comments

@brunoocasali
Copy link
Member

Description
Based on the discussion of #120

Our internal search handling is:

  • make search request to meili asking for all the fields
  • mapping only the "primary fields" or just the "id" if there is no extra config.
  • make a SELECT in the database to load the AR records.

If we only require the needed fields, we will be able to reduce the memory, CPU overload and time needed to process the requests, improving the search time experience we offer in this gem.

It is also important to note, that we must ensure the other features are still working.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request
Projects
None yet
Development

Successfully merging a pull request may close this issue.

2 participants