toastdriven/django-haystack — pull request #590 by mattdeboard (2012-06-19 19:27:10+00:00)
Title: Refactor Solr & ES SearchQuery subclasses to use the ``build_params`` fr...

...om ``BaseSearchQuery`` to build the kwargs to be passed to the search engine.

This refactor is made to make extending Haystack simpler. I only ran the Solr tests which invoked a ``run`` call (via ``get_results``), and those passed. I did not run the ElasticSearch tests; however, the ``run`` method for both Lucene-based search engines were identical before, and are identical now. The test I did run -- ``LiveSolrSearchQueryTestCase.test_log_query`` -- passed.