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

Search index to be automatically rebuilt whenever documents.py is changed #50

Open
ranajaydas opened this issue Mar 11, 2020 · 0 comments

Comments

@ranajaydas
Copy link
Contributor

Problem:
The Heroku app recently showed Server 500 errors upon any search, because I changed documents.py during the hackathon (this file decides how to index the acts and is closely linked to elasticsearch). Every time this file is updated, we should rebuild the index by running python manage.py search_index --rebuild.

Solution:
The search_index must be somehow rebuilt, either on a regular basis or upon every deploy. Exact solution to be evaluated.

@ranajaydas ranajaydas created this issue from a note in Otvoreni akti (To do) Mar 11, 2020
@ranajaydas ranajaydas moved this from To do to Future ideas in Otvoreni akti May 25, 2020
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
Otvoreni akti
  
Future ideas
Development

No branches or pull requests

1 participant