Answer the question
In order to leave comments, you need to log in
Why does Django haystack stop Elasticsearch?
I use django + haystack + elasticsearch. Installed on a production server (Ubuntu 12.04 64 bit). After the reboot, I run ./manage.py update_index - the indexes will update normally. I go to the search, start searching, it also works fine, but after that, if I run the index update command again, elasticsearch stops and an error occurs:
Indexing 14 posts
ERROR:root:Error updating core using default
Traceback (most recent call last):
File " /usr/local/lib/python2.7/dist-packages/haystack/management/commands/update_index.py", line 221, in handle_label
...
I restart elasticsearch, the search works back, but you can't do updates after the server is restarted update can be done again. Who faced?
PS on the locale, of course, everything works :) the libraries are installed exactly the same from requirements.txt
Answer the question
In order to leave comments, you need to log in
The problem was the lack of memory when updating indexes.
Didn't find what you were looking for?
Ask your questionAsk a Question
731 491 924 answers to any question