-
-
Notifications
You must be signed in to change notification settings - Fork 58
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
Avoid algolia index number limitation in dev #677
Comments
Please assign me |
I will find out the solution |
@bhagyashree980 this is an advanced task that requires Algolia knowledge and Nest backend experience. I was hoping @nitinawari could tackle that. |
Ok assign plz |
I have analyzed the indices in Algolia and identified |
Sounds fair, we're on the same page. |
Any updates on this? It's something we want to address rather sooner than later. |
i really sorry for late update , now PR is open for review |
Is your feature request related to a problem? Please describe.
We're facing algolia index limit (20 instances) problem. For development environment we want to control what exactly is indexed
Describe the solution you'd like
Implement enable/disable index functionality for dev environment.
Add a custom
register
decorator toapps.common.index
that behaves like originalalgoliasearch_django.decorators.register
decorator for enabled index models and does nothing for models we don't want to index locally. It should skip indexing for local (development) environment only. Make sure a model is identified by app/model name pair to avoid confusion if same name models exist in different apps.Create a list of excluded models (all other models are indexed by default). Make sure there is a way to override the list using .env variable (a list of comma separated values with app/models name items to override).
The text was updated successfully, but these errors were encountered: