toastdriven/django-haystack — pull request #434 by dannyadair (2011-10-18 08:51:48+00:00)
Title: Lenient lookup: Added "must_exist" parameter to SearchField...

Added "must_exist" parameter to SearchField. If set to False, lookup of a non-existent attribute will lead to an indexed value of None instead of raising an Exception.

I'm defaulting must_exist=True so haystack's old behaviour is preserved.

This would close https://github.com/toastdriven/django-haystack/issues/419