Skip to content

Releases: django-haystack/django-haystack

Django 1.10 support

28 Oct 20:41
Compare
Choose a tag to compare
v2.5.1

v2.5.1

v2.3.2

19 Apr 14:15
Compare
Choose a tag to compare
v2.3.2 maintenance update

v2.4.1

19 Apr 14:15
Compare
Choose a tag to compare
v2.4.1

v2.4.0

05 Jun 16:41
Compare
Choose a tag to compare

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 using index_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 older views module
  • SearchQuerySet’s narrow() method now accepts SQ 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 the add_spatial() and add_order_by_distance() methods on SolrSearchQuery or ElasticsearchSearchQuery. The standard order_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 have django.utils.decorator.method_decorator.

v2.2.0

03 Aug 22:54
Compare
Choose a tag to compare
  • #951: Complete refactoring of the test suite (thanks @honzakral!) which makes it easier to use and faster
  • #407: Fixed doc: query is context variable and not in request
  • #413: Fixed warning when models() is called with an unregistered model
  • #775: Avoid unnecessary db query on index update
  • #795: Improve error message for duplicate index classes
  • #840, #807: Incorrect Clean input behaviour for Elasticsearch engine
  • 30afd1f Fixed a missed raw_input call on Python 3
  • #847: Fixed an update_index bug when using multiple connections
  • 1cfb6c6 Pass using to index_queryset for update
  • 4956486 Fixed simple backend for Django 1.6, _fields was removed.
  • 3ef5644 Fixed autocomplete() method with spaces in query
  • #575 & #838: fixed an incompatibility with Whoosh 2.5>
  • ab145f3 Fixed ValueError exception when SILENTLY_FAIL=True
  • #886: Use Filtered queries more efficiently for elasticsearch
  • #899: Use HTML5
  • #885: Use elasticsearch-py instead of pyelasticsearch
  • #775, #718: Fix bounding box calculation for spatial queries
  • 6d3daa6 Whoosh: allow multiple order_by() fields
  • f7d4fad Simplified mappings for ElasticSearch fields
  • #888: run() kwargs are passed directly to search backend, fixing values_list and making subclassing easier (Solr, ElasticSearch)
  • Solr backend: correct usage of pysolr delete (#943)
  • Small docs fix for spatial search example code (#946)
  • Fix logging call in SQS post_process_results (see #648)
  • ElasticSearch: avoid KeyError for empty spelling suggestions (thanks @skoczen)
  • RelatedSearchQuerySet: move class globals to instance properties, avoiding conflicts with multiple instances
  • Update ElasticSearch for 1.0+ syntax 0043fac

Closes #1029