liberation / django-elasticsearch

Simple wrapper around elasticsearch-py to index/search a django Model.
MIT License
212 stars 73 forks source link

Fix for https://github.com/liberation/django-elasticsearch/issues/35 #36

Closed apollodatasolutions closed 8 years ago

apollodatasolutions commented 8 years ago

Contributing this fix so others don't run into this issue, shouldn't really break anything since it mirrors the behavior of the parent QuerySet. Not fully tested yet, will update once we have more tests run on this.

apollodatasolutions commented 8 years ago

Actually, this seems to fix the .mlt() issue but we had another problem with this with querysets that lazyload on template tag evaluation from .search. So this will require some additional testing.

lauxley commented 8 years ago

closing, see #35.