New Features & Fixes
- Django 1.8 is supported (see #1175, #1165, #1162, #1137)
- AppConfig is fully supported for Django 1.7+ (#1152)
- During indexing, the process method can raise
haystack.exceptions.SkipDocument
to skip individual records which are not be easily excluded usingindex_queryset
- ElasticSearch: distance queries and compatibility changes with the elasticsearch client library have been fixed
- The new
generic_views
module uses the standard Django classes to replace the olderviews
module SearchQuerySet
’snarrow()
method now acceptsSQ
instances
Deprecations
- Python 2.6 is no longer supported
- Django 1.5 is no longer supported
- The old class-based views which predated Django's CBVs have been deprecated in favor of the new
generic_views
module using the standard Django classes. See #1130. - Several undocumented spatial search methods have been removed:
SearchQuerySet.order_by_distance()
, and theadd_spatial()
andadd_order_by_distance()
methods on SolrSearchQuery or ElasticsearchSearchQuery. The standardorder_by('distance')
and other spatial query methods in the documentation are unaffected. - The old
haystack.utils.method_decorator
has been removed since all supported versions of Django havedjango.utils.decorator.method_decorator
.