Rebuilding after making a change?
Closed this issue · 1 comments
trident765 commented
I have a feeling that some changes I make to the code are not being recognized because I need to "rebuild". How do I rebuild everything?
For example, I changed the following line:
https://github.com/libertysoft3/saidit/blob/master/r2/r2/lib/providers/search/solr.py#L128
to say "size=5" instead of "size=10", but I am still getting 10 search results when I use the search function, not 5. I want to try rebuilding to see if that makes a difference.
libertysoft3 commented
- level 1: just restart the reddit-paster service (just restart the python web app)
- level 2: sudo reddit-restart and sudo reddit-flush (restarts rabbitmq consumers as well)
- level 3: rebuild and re-compile the project for certain changes:
- https://github.com/libertysoft3/saidit/wiki/Dev-guide#rebuild-reddit-open-source