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

Render search results using only data from elasticsearch #1136

Closed
andrew opened this issue Feb 3, 2017 · 0 comments
Closed

Render search results using only data from elasticsearch #1136

andrew opened this issue Feb 3, 2017 · 0 comments

Comments

@andrew
Copy link
Contributor

andrew commented Feb 3, 2017

Currently we use elastic to get the list of projects to show for a search result but then go to postgres to load the records to display the partial, this adds quite a bit of overhead to the search controller action, given that we have almost all the data we need in elasticsearch already we should be able to skip the db checks and render the partials using data returned in the original search query.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

1 participant