In a Django project, I have some mongoengine’s documents to be indexed in elasticsearch.
For this purpose, I was looking for django-haystack which is simple, well-documented and widely used.
Unfortunately, haystack seems very linked to Django’s ORM and I’m encountering some difficulties with Mongoengine (which is very very close to Django’s ORM).
So, does anyone have already played with haystack and mongoengine ? Did it worked as expected ?
If not, do you recommand a vanilla use of pyes or pyelasticsearch ?
Thanks for the time spent on this question.
I used
pyesto get data in and out of elastic search. I added ato_searchmethod to my Documents and used celery and signals to update the index. I havent tried pyelasticsearch but it also looks good.