Permalink
Commits on Dec 6, 2011
  1. Avoid behaviour change by raising Http404 for invalid page numbers

    acdha committed Dec 6, 2011
    An earlier version of this branch would always display the first page in this
    case. For compatibility we now simply return 404.
Commits on Dec 5, 2011
  1. First pass at .values() / .values_list() querysets (see #306)

    acdha committed Dec 5, 2011
    This has several remaining areas for optimization but it already reduces the
    size of querysets considerably in cases where you do not need the full document
    field.
Commits on Dec 4, 2011
  1. facet_counts(): avoid duplicate query if the query has already executed

    acdha committed Dec 4, 2011
    As discussed in #439, it's common for a SearchQuerySet to result in a completely
    duplicate query when .facet_counts() is called after the query has already been
    executed. In this common case, we simply return the facet results from that
    query directly; if for some reason the user wanted to get facet counts before
    running (or customizing) the main query this will behave identically to v1.2.5.
Commits on Dec 2, 2011
  1. Search: avoid an extra query to determine the result count

    acdha committed Dec 2, 2011
    Using the Django Paginator causes an extra query when it attempts to determine
    the total number of results (and thus pages). We'll run the query we need before
    creating the Paginator object so the hit count will already be available, saving
    an extra query and parsing a non-trivial amount of result data for any query
    other than the first page
  2. BaseSearchQuery: retrieve fewer records for count()

    acdha committed Dec 2, 2011
    This avoids retrieving more data than necessary simply to determine
    the record count.
  3. Allow custom kwargs for search queries

    acdha committed Dec 2, 2011
    * BaseSearchQuery can have fields defined on it
    * run() accepts **kwargs which are passed to the backend
Commits on Sep 14, 2011
  1. Bumped to v1.2.5!

    toastdriven committed Sep 14, 2011
  2. Fixed a bug with index inheritance.

    toastdriven committed Sep 14, 2011
    Fields would seem to not obey the MRO while method did. Thanks to ironfroggy for the report!
Commits on Aug 18, 2011
  1. Fixed a bug with Whoosh's edge n-gram support to be consistent with t…

    toastdriven committed Aug 18, 2011
    …he implementation in the other engines.
Commits on Jul 4, 2011
Commits on Jun 7, 2011
  1. Removed outdated warning about padding numeric fields. Thanks to mcha…

    toastdriven committed Jun 7, 2011
    …put for pointing this out!
  2. Added a silent failure option to prevent Haystack from suppressing so…

    toastdriven committed Jun 7, 2011
    …me failures.
    
    This option defaults to ``True`` for compatibility & to prevent cases where lost connections can break reindexes/searches.
Commits on Jun 3, 2011
  1. Fixed the simple backend to not throw an exception when handed an ``S…

    toastdriven committed Jun 3, 2011
    …Q``. Thanks to diegobz for the report!
Commits on May 28, 2011
  1. Bumped to v1.2.4!

    toastdriven committed May 28, 2011
  2. Fixed a bug where the old ``get_queryset`` wouldn't be used during ``…

    toastdriven committed May 28, 2011
    …update_index``. Thanks to Craig de Stigter & others for the report.
Commits on May 20, 2011
  1. Bumped to v1.2.3!

    toastdriven committed May 20, 2011
Commits on May 19, 2011
  1. Bumped to v1.2.2!

    toastdriven committed May 19, 2011
  2. Added multiprocessing support to ``update_index``! Thanks to CMGdigital

    toastdriven committed May 19, 2011
    for funding development of this feature.
  3. Added a ``DecimalField``.

    toastdriven committed May 19, 2011
Commits on May 14, 2011
  1. Bumped to v1.2.1.

    toastdriven committed May 14, 2011
  2. Fixed a backward-incompatible query syntax change Whoosh introduced b…

    toastdriven committed May 14, 2011
    …etween 1.6.1 & 1.6.2 that causes only one model to appear as though it is indexed.
Commits on May 3, 2011
  1. v1.2.0!

    toastdriven committed May 3, 2011
  2. Added ``request`` to the ``FacetedSearchView`` context. Thanks to dan…

    toastdriven committed May 3, 2011
    …nercustommade for the report!