I´m trying to update a project from Haystack 1.X to Haystack 2.0 in order to use Elasticsearch backend but i am not confident if it´s running correctly.
How i have integrated Haystack 2.0 Beta / Elasticsearch
Installed / Configured modules by following Haystack Official Documentation:
Migrated Haystack Indexes from 1.XX to 2.0 Version as recommends Haystack Official Documentation:
Issue:
The point is that unfortunately while i´m trying to rebuild indexes raises this Error:
$ python manage.py rebuild_index
Removing all documents from your index because you said so.
Failed to clear Elasticsearch index: Non-OK status code returned (404) containing 'IndexMissingException[[haystack] missing]'.
All documents removed.
Despite of that haystack rebuild indexes. I was trying to know more about this issue but i haven´t found useful information regarding it. Could anyone give me some clues about this exception?
$ django-admin.py test elasticsearch_tests --settings=elasticsearch_settings
/Library/virtualenvs/lmb/lib/python2.6/site-packages/django/db/__init__.py:60: DeprecationWarning: Short names for ENGINE in database configurations are deprecated. Prepend default.ENGINE with 'django.db.backends.'
DeprecationWarning
Creating test database for alias 'default'...
Clearing out Elasticsearch...
.............Clearing out Elasticsearch...
.Clearing out Elasticsearch...
Failed to clear Elasticsearch index: Non-OK status code returned (404) containing 'IndexMissingException[[test_default] missing]'.
.Clearing out Elasticsearch...
.Clearing out Elasticsearch...
.Clearing out Elasticsearch...
.Clearing out Elasticsearch...
.Clearing out Elasticsearch...
.Clearing out Elasticsearch...
......................Clearing out Elasticsearch...
.Clearing out Elasticsearch...
.Clearing out Elasticsearch...
Failed to fetch More Like This from Elasticsearch for document 'core.mockmodel_deferred_foo.1': Non-OK status code returned (500) containing 'ElasticSearchException[document missing]'.
.Clearing out Elasticsearch...
.Clearing out Elasticsearch...
.Reloading data...
Clearing out Elasticsearch...
......................Clearing out Elasticsearch...
.Clearing out Elasticsearch...
.
----------------------------------------------------------------------
Ran 71 tests in 10.702s
OK
Destroying test database for alias 'default'...
To view this discussion on the web visit https://groups.google.com/d/msg/django-haystack/-/YRNBXTpReewJ.
--
You received this message because you are subscribed to the Google Groups "django-haystack" group.
To post to this group, send email to django-...@googlegroups.com.
To unsubscribe from this group, send email to django-haysta...@googlegroups.com.
For more options, visit this group at http://groups.google.com/group/django-haystack?hl=en.
Don't worry about those messages; they're annoying, but AFAICT they don't signal anything bad.
On Fri, Mar 30, 2012 at 4:47 AM, Eloi Cuevas <f15...@gmail.com> wrote:
More about my Haystack & ES Enviroment:
- Python 2.6.1
- Django 1.3.1
To view this discussion on the web visit https://groups.google.com/d/msg/django-haystack/-/YRNBXTpReewJ.
--
You received this message because you are subscribed to the Google Groups "django-haystack" group.
To post to this group, send email to django-haystack@googlegroups.com.
To unsubscribe from this group, send email to django-haystack+unsubscribe@googlegroups.com.