toastdriven/django-haystack — pull request #886 by HonzaKral (2013-10-22 17:23:37+00:00)
Title: Use Filtered queries more efficiently for elasticsearch

This patch implements cleaner logic to build a query for elasticsearch and switches to terms filter for model filtering which should speed things up.