toastdriven/django-haystack — pull request #961 by trikosuave (2014-02-27 16:16:27+00:00)
Title: Added support for random ordering with elasticsearch backend.

order_by('?') will randomize the order when using elasticsearch. order_by('?#'), replacing # with an integer, will send a seed to elasticsearch to be used for random number generation.