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

Creation of Indexes #38

Open
king-11 opened this issue May 16, 2021 · 0 comments
Open

Creation of Indexes #38

king-11 opened this issue May 16, 2021 · 0 comments
Labels
good first issue Good for newcomers

Comments

@king-11
Copy link
Member

king-11 commented May 16, 2021

There are currently several models in the backend querying on them that have some common search fields, which can be optimized by adding simple and compound indexes to them. The issue came up as an idea from one we encountered in IIT-BHU-InstiApp/lite-hai-backend#81. The attached PR that I made can be taken as a reference even though people might not know about indexes, but the selection of what indexes to make simple and compound both should be justified based on their frequency in search.

Required Skills :

  • Django REST Models
  • Indexes
  • Understanding of queries
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
good first issue Good for newcomers
Projects
None yet
Development

No branches or pull requests

2 participants