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

Optimize search #19

Open
cecilia-donnelly opened this issue Jul 31, 2015 · 3 comments
Open

Optimize search #19

cecilia-donnelly opened this issue Jul 31, 2015 · 3 comments

Comments

@cecilia-donnelly
Copy link

Currently, the app pulls all the records from the database on document.ready() (with a GET), and then searches among those. This is fine with our tiny sample set, but it will be very slow once we're working with real data. I'm not sure what the right way to do this is. We probably want to use some server-side sorting and filtering, instead of doing it all in the client.

@cecilia-donnelly
Copy link
Author

Pinging: @nttaylor, @kfogel, @slifty.

@slifty
Copy link

slifty commented Aug 2, 2015

This will require the addition of a search endpoint to the API -- I'd like to avoid adding that type of endpoint for this round simply because we should first get alignment on the existing endpoints across the openhmis discussion list.

@cecilia-donnelly
Copy link
Author

@slifty thanks for the response! @kfogel indicated that this wasn't urgent for this round, but I'm glad to know what we'll need to do.

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

2 participants