[Python-modules-commits] [django-haystack] 01/10: Import django-haystack_2.5.dev2.orig.tar.gz

Michael Fladischer fladi at moszumanska.debian.org
Sun Aug 21 10:41:53 UTC 2016


This is an automated email from the git hooks/post-receive script.

fladi pushed a commit to branch master
in repository django-haystack.

commit 6bc813b8b5fcf657071c672442dfa019a58f04d2
Author: Michael Fladischer <FladischerMichael at fladi.at>
Date:   Sun Aug 21 10:09:19 2016 +0200

    Import django-haystack_2.5.dev2.orig.tar.gz
---
 AUTHORS                                            |    9 +
 PKG-INFO                                           |   22 +-
 README.rst                                         |   20 +-
 django_haystack.egg-info/PKG-INFO                  |   22 +-
 django_haystack.egg-info/SOURCES.txt               |  145 +
 django_haystack.egg-info/requires.txt              |    3 +-
 docs/backend_support.rst                           |    2 +-
 docs/build/.buildinfo                              |    4 +
 docs/build/.doctrees/admin.doctree                 |  Bin 0 -> 6819 bytes
 docs/build/.doctrees/architecture_overview.doctree |  Bin 0 -> 14617 bytes
 docs/build/.doctrees/autocomplete.doctree          |  Bin 0 -> 24292 bytes
 docs/build/.doctrees/backend_support.doctree       |  Bin 0 -> 36327 bytes
 docs/build/.doctrees/best_practices.doctree        |  Bin 0 -> 43798 bytes
 docs/build/.doctrees/boost.doctree                 |  Bin 0 -> 17613 bytes
 docs/build/.doctrees/changelog.doctree             |  Bin 0 -> 885123 bytes
 docs/build/.doctrees/contributing.doctree          |  Bin 0 -> 30899 bytes
 docs/build/.doctrees/creating_new_backends.doctree |  Bin 0 -> 7749 bytes
 docs/build/.doctrees/debugging.doctree             |  Bin 0 -> 25810 bytes
 docs/build/.doctrees/environment.pickle            |  Bin 0 -> 200379 bytes
 docs/build/.doctrees/faceting.doctree              |  Bin 0 -> 45945 bytes
 docs/build/.doctrees/faq.doctree                   |  Bin 0 -> 22334 bytes
 docs/build/.doctrees/glossary.doctree              |  Bin 0 -> 17476 bytes
 docs/build/.doctrees/highlighting.doctree          |  Bin 0 -> 15371 bytes
 docs/build/.doctrees/index.doctree                 |  Bin 0 -> 17099 bytes
 docs/build/.doctrees/inputtypes.doctree            |  Bin 0 -> 29067 bytes
 .../.doctrees/installing_search_engines.doctree    |  Bin 0 -> 35435 bytes
 docs/build/.doctrees/management_commands.doctree   |  Bin 0 -> 27602 bytes
 docs/build/.doctrees/migration_from_1_to_2.doctree |  Bin 0 -> 45159 bytes
 docs/build/.doctrees/multiple_index.doctree        |  Bin 0 -> 29818 bytes
 docs/build/.doctrees/other_apps.doctree            |  Bin 0 -> 19690 bytes
 docs/build/.doctrees/python3.doctree               |  Bin 0 -> 9836 bytes
 .../.doctrees/rich_content_extraction.doctree      |  Bin 0 -> 11782 bytes
 docs/build/.doctrees/running_tests.doctree         |  Bin 0 -> 13167 bytes
 docs/build/.doctrees/searchbackend_api.doctree     |  Bin 0 -> 32108 bytes
 docs/build/.doctrees/searchfield_api.doctree       |  Bin 0 -> 57599 bytes
 docs/build/.doctrees/searchindex_api.doctree       |  Bin 0 -> 111639 bytes
 docs/build/.doctrees/searchquery_api.doctree       |  Bin 0 -> 80456 bytes
 docs/build/.doctrees/searchqueryset_api.doctree    |  Bin 0 -> 178006 bytes
 docs/build/.doctrees/searchresult_api.doctree      |  Bin 0 -> 18458 bytes
 docs/build/.doctrees/settings.doctree              |  Bin 0 -> 51741 bytes
 docs/build/.doctrees/signal_processors.doctree     |  Bin 0 -> 25018 bytes
 docs/build/.doctrees/spatial.doctree               |  Bin 0 -> 69553 bytes
 docs/build/.doctrees/templatetags.doctree          |  Bin 0 -> 10403 bytes
 docs/build/.doctrees/toc.doctree                   |  Bin 0 -> 4799 bytes
 docs/build/.doctrees/tutorial.doctree              |  Bin 0 -> 61389 bytes
 docs/build/.doctrees/utils.doctree                 |  Bin 0 -> 5599 bytes
 docs/build/.doctrees/views_and_forms.doctree       |  Bin 0 -> 72743 bytes
 docs/build/.doctrees/who_uses.doctree              |  Bin 0 -> 47146 bytes
 docs/build/_sources/admin.txt                      |   47 +
 docs/build/_sources/architecture_overview.txt      |   66 +
 docs/build/_sources/autocomplete.txt               |  220 +
 .../_sources/backend_support.txt}                  |    2 +-
 docs/build/_sources/best_practices.txt             |  263 ++
 docs/build/_sources/boost.txt                      |  123 +
 docs/build/_sources/changelog.txt                  | 4575 +++++++++++++++++++
 docs/build/_sources/contributing.txt               |  132 +
 docs/build/_sources/creating_new_backends.txt      |   34 +
 docs/build/_sources/debugging.txt                  |  107 +
 docs/{faceting.rst => build/_sources/faceting.txt} |    0
 docs/build/_sources/faq.txt                        |  117 +
 docs/build/_sources/glossary.txt                   |   76 +
 docs/build/_sources/highlighting.txt               |   77 +
 docs/{index.rst => build/_sources/index.txt}       |   18 +-
 docs/build/_sources/inputtypes.txt                 |  177 +
 .../_sources/installing_search_engines.txt}        |   12 +-
 docs/build/_sources/management_commands.txt        |  201 +
 docs/build/_sources/migration_from_1_to_2.txt      |  285 ++
 .../_sources/multiple_index.txt}                   |    0
 docs/build/_sources/other_apps.txt                 |   98 +
 docs/build/_sources/python3.txt                    |   47 +
 docs/build/_sources/rich_content_extraction.txt    |   68 +
 .../_sources/running_tests.txt}                    |    0
 docs/build/_sources/searchbackend_api.txt          |  124 +
 docs/build/_sources/searchfield_api.txt            |  262 ++
 docs/build/_sources/searchindex_api.txt            |  618 +++
 docs/build/_sources/searchquery_api.txt            |  336 ++
 .../_sources/searchqueryset_api.txt}               |   11 +-
 docs/build/_sources/searchresult_api.txt           |   62 +
 docs/{settings.rst => build/_sources/settings.txt} |   35 +
 docs/build/_sources/signal_processors.txt          |  117 +
 docs/build/_sources/spatial.txt                    |  412 ++
 docs/build/_sources/templatetags.txt               |   68 +
 docs/build/_sources/toc.txt                        |   53 +
 docs/build/_sources/tutorial.txt                   |  398 ++
 docs/build/_sources/utils.txt                      |   18 +
 .../_sources/views_and_forms.txt}                  |    2 +-
 docs/build/_sources/who_uses.txt                   |  357 ++
 docs/build/_static/ajax-loader.gif                 |  Bin 0 -> 673 bytes
 docs/build/_static/basic.css                       |  537 +++
 docs/build/_static/comment-bright.png              |  Bin 0 -> 3500 bytes
 docs/build/_static/comment-close.png               |  Bin 0 -> 3578 bytes
 docs/build/_static/comment.png                     |  Bin 0 -> 3445 bytes
 docs/build/_static/default.css                     |  256 ++
 docs/build/_static/doctools.js                     |  238 +
 docs/build/_static/down-pressed.png                |  Bin 0 -> 368 bytes
 docs/build/_static/down.png                        |  Bin 0 -> 363 bytes
 docs/build/_static/file.png                        |  Bin 0 -> 392 bytes
 docs/build/_static/jquery.js                       |    2 +
 docs/build/_static/minus.png                       |  Bin 0 -> 199 bytes
 docs/build/_static/plus.png                        |  Bin 0 -> 199 bytes
 docs/build/_static/pygments.css                    |   63 +
 docs/build/_static/searchtools.js                  |  622 +++
 docs/build/_static/sidebar.js                      |  159 +
 docs/build/_static/underscore.js                   |   31 +
 docs/build/_static/up-pressed.png                  |  Bin 0 -> 372 bytes
 docs/build/_static/up.png                          |  Bin 0 -> 363 bytes
 docs/build/_static/websupport.js                   |  808 ++++
 docs/build/admin.html                              |  153 +
 docs/build/architecture_overview.html              |  179 +
 docs/build/autocomplete.html                       |  324 ++
 docs/build/backend_support.html                    |  295 ++
 docs/build/best_practices.html                     |  359 ++
 docs/build/boost.html                              |  229 +
 docs/build/changelog.html                          | 4405 ++++++++++++++++++
 docs/build/contributing.html                       |  252 ++
 docs/build/creating_new_backends.html              |  147 +
 docs/build/debugging.html                          |  220 +
 docs/build/faceting.html                           |  420 ++
 docs/build/faq.html                                |  221 +
 docs/build/genindex.html                           |  738 +++
 docs/build/glossary.html                           |  170 +
 docs/build/highlighting.html                       |  185 +
 docs/build/index.html                              |  310 ++
 docs/build/inputtypes.html                         |  294 ++
 docs/build/installing_search_engines.html          |  320 ++
 docs/build/management_commands.html                |  307 ++
 docs/build/migration_from_1_to_2.html              |  385 ++
 docs/build/multiple_index.html                     |  307 ++
 docs/build/objects.inv                             |  Bin 0 -> 1941 bytes
 docs/build/other_apps.html                         |  204 +
 docs/build/python3.html                            |  152 +
 docs/build/rich_content_extraction.html            |  176 +
 docs/build/running_tests.html                      |  176 +
 docs/build/search.html                             |   99 +
 docs/build/searchbackend_api.html                  |  255 ++
 docs/build/searchfield_api.html                    |  410 ++
 docs/build/searchindex.js                          |    1 +
 docs/build/searchindex_api.html                    |  731 +++
 docs/build/searchquery_api.html                    |  531 +++
 docs/build/searchqueryset_api.html                 | 1060 +++++
 docs/build/searchresult_api.html                   |  185 +
 docs/build/settings.html                           |  391 ++
 docs/build/signal_processors.html                  |  217 +
 docs/build/spatial.html                            |  550 +++
 docs/build/templatetags.html                       |  174 +
 docs/build/toc.html                                |  395 ++
 docs/build/tutorial.html                           |  487 ++
 docs/build/utils.html                              |  120 +
 docs/build/views_and_forms.html                    |  517 +++
 docs/build/who_uses.html                           |  436 ++
 docs/changelog.rst                                 | 4766 ++++++++++++++++++++
 docs/conf.py                                       |    2 +-
 docs/faceting.rst                                  |    6 +-
 docs/index.rst                                     |   18 +-
 docs/installing_search_engines.rst                 |   12 +-
 docs/multiple_index.rst                            |   28 +-
 docs/running_tests.rst                             |    2 +-
 docs/searchqueryset_api.rst                        |   29 +-
 docs/settings.rst                                  |   22 +
 docs/views_and_forms.rst                           |   28 +-
 haystack/__init__.py                               |   23 +-
 haystack/admin.py                                  |   19 +-
 haystack/apps.py                                   |   28 +
 haystack/backends/__init__.py                      |   34 +-
 haystack/backends/elasticsearch_backend.py         |   63 +-
 haystack/backends/solr_backend.py                  |   44 +-
 haystack/backends/whoosh_backend.py                |   20 +-
 haystack/constants.py                              |    6 +-
 haystack/fields.py                                 |  113 +-
 haystack/forms.py                                  |   12 +-
 haystack/generic_views.py                          |    2 +-
 haystack/indexes.py                                |    8 +-
 haystack/inputs.py                                 |    7 +-
 haystack/management/commands/build_solr_schema.py  |   46 +-
 haystack/management/commands/clear_index.py        |   41 +-
 haystack/management/commands/haystack_info.py      |   15 +-
 haystack/management/commands/rebuild_index.py      |   31 +-
 haystack/management/commands/update_index.py       |  255 +-
 haystack/models.py                                 |   10 +-
 haystack/query.py                                  |  302 +-
 haystack/templatetags/more_like_this.py            |    4 +-
 haystack/urls.py                                   |   13 +-
 haystack/utils/__init__.py                         |   19 +-
 haystack/utils/app_loading.py                      |  102 +-
 haystack/utils/loading.py                          |   68 +-
 haystack/views.py                                  |   27 +-
 setup.py                                           |    7 +-
 187 files changed, 35518 insertions(+), 762 deletions(-)

diff --git a/AUTHORS b/AUTHORS
index a40e7a7..69d86d0 100644
--- a/AUTHORS
+++ b/AUTHORS
@@ -104,3 +104,12 @@ Thanks to
     * Ben Spaulding (@benspaulding) for many updates for Django 1.8 support
     * Troy Grosfield (@troygrosfield) for fixing the test runner for Django 1.8
     * Ilan Steemers (@Koed00) for fixing Django 1.9 deprecation warnings
+    * Ana Carolina (@anacarolinats) and Steve Bussetti (@sbussetti) for adding the ``fuzzy`` operator to
+      SearchQuerySet
+    * Tadas Dailyda (@skirsdeda) for various patches
+    * Craig de Stigter (@craigds) for a patch fixing concurrency issues when building UnifiedIndex
+    * Claude Paroz (@claudep) for Django 1.9 support
+    * Chris Brooke (@chrisbrooke) for patching around a backwards-incompatible change in ElasticSearch 2
+    * Gilad Beeri (@giladbeeri) for adding retries when updating a backend
+    * Arjen Verstoep (@terr) for a patch that allows attribute lookups through Django ManyToManyField relationships
+    * Tim Babych (@tymofij) for enabling backend-specific parameters in ``.highlight()``
diff --git a/PKG-INFO b/PKG-INFO
index a5bf155..b30e456 100644
--- a/PKG-INFO
+++ b/PKG-INFO
@@ -1,6 +1,6 @@
 Metadata-Version: 1.1
 Name: django-haystack
-Version: 2.4.1
+Version: 2.5.dev2
 Summary: Pluggable search for Django.
 Home-page: http://haystacksearch.org/
 Author: Daniel Lindsley
@@ -41,13 +41,15 @@ Description: ========
         =============
         
         * Development version: http://docs.haystacksearch.org/
-        * v2.4.X: http://django-haystack.readthedocs.org/en/v2.4.1/
-        * v2.3.X: http://django-haystack.readthedocs.org/en/v2.3.0/
-        * v2.2.X: http://django-haystack.readthedocs.org/en/v2.2.0/
-        * v2.1.X: http://django-haystack.readthedocs.org/en/v2.1.0/
-        * v2.0.X: http://django-haystack.readthedocs.org/en/v2.0.0/
-        * v1.2.X: http://django-haystack.readthedocs.org/en/v1.2.7/
-        * v1.1.X: http://django-haystack.readthedocs.org/en/v1.1/
+        * v2.4.X: https://django-haystack.readthedocs.io/en/v2.4.1/
+        * v2.3.X: https://django-haystack.readthedocs.io/en/v2.3.0/
+        * v2.2.X: https://django-haystack.readthedocs.io/en/v2.2.0/
+        * v2.1.X: https://django-haystack.readthedocs.io/en/v2.1.0/
+        * v2.0.X: https://django-haystack.readthedocs.io/en/v2.0.0/
+        * v1.2.X: https://django-haystack.readthedocs.io/en/v1.2.7/
+        * v1.1.X: https://django-haystack.readthedocs.io/en/v1.1/
+        
+        See the `changelog <docs/changelog.rst>`_
         
         Build Status
         ============
@@ -61,10 +63,10 @@ Description: ========
         Haystack has a relatively easily-met set of requirements.
         
         * Python 2.7+ or Python 3.3+
-        * Django 1.6+
+        * A supported version of Django: https://www.djangoproject.com/download/#supported-versions
         
         Additionally, each backend has its own requirements. You should refer to
-        http://django-haystack.readthedocs.org/en/latest/installing_search_engines.html for more
+        https://django-haystack.readthedocs.io/en/latest/installing_search_engines.html for more
         details.
         
 Platform: UNKNOWN
diff --git a/README.rst b/README.rst
index bc350d0..d4ed215 100644
--- a/README.rst
+++ b/README.rst
@@ -33,13 +33,15 @@ Documentation
 =============
 
 * Development version: http://docs.haystacksearch.org/
-* v2.4.X: http://django-haystack.readthedocs.org/en/v2.4.1/
-* v2.3.X: http://django-haystack.readthedocs.org/en/v2.3.0/
-* v2.2.X: http://django-haystack.readthedocs.org/en/v2.2.0/
-* v2.1.X: http://django-haystack.readthedocs.org/en/v2.1.0/
-* v2.0.X: http://django-haystack.readthedocs.org/en/v2.0.0/
-* v1.2.X: http://django-haystack.readthedocs.org/en/v1.2.7/
-* v1.1.X: http://django-haystack.readthedocs.org/en/v1.1/
+* v2.4.X: https://django-haystack.readthedocs.io/en/v2.4.1/
+* v2.3.X: https://django-haystack.readthedocs.io/en/v2.3.0/
+* v2.2.X: https://django-haystack.readthedocs.io/en/v2.2.0/
+* v2.1.X: https://django-haystack.readthedocs.io/en/v2.1.0/
+* v2.0.X: https://django-haystack.readthedocs.io/en/v2.0.0/
+* v1.2.X: https://django-haystack.readthedocs.io/en/v1.2.7/
+* v1.1.X: https://django-haystack.readthedocs.io/en/v1.1/
+
+See the `changelog <docs/changelog.rst>`_
 
 Build Status
 ============
@@ -53,8 +55,8 @@ Requirements
 Haystack has a relatively easily-met set of requirements.
 
 * Python 2.7+ or Python 3.3+
-* Django 1.6+
+* A supported version of Django: https://www.djangoproject.com/download/#supported-versions
 
 Additionally, each backend has its own requirements. You should refer to
-http://django-haystack.readthedocs.org/en/latest/installing_search_engines.html for more
+https://django-haystack.readthedocs.io/en/latest/installing_search_engines.html for more
 details.
diff --git a/django_haystack.egg-info/PKG-INFO b/django_haystack.egg-info/PKG-INFO
index a5bf155..b30e456 100644
--- a/django_haystack.egg-info/PKG-INFO
+++ b/django_haystack.egg-info/PKG-INFO
@@ -1,6 +1,6 @@
 Metadata-Version: 1.1
 Name: django-haystack
-Version: 2.4.1
+Version: 2.5.dev2
 Summary: Pluggable search for Django.
 Home-page: http://haystacksearch.org/
 Author: Daniel Lindsley
@@ -41,13 +41,15 @@ Description: ========
         =============
         
         * Development version: http://docs.haystacksearch.org/
-        * v2.4.X: http://django-haystack.readthedocs.org/en/v2.4.1/
-        * v2.3.X: http://django-haystack.readthedocs.org/en/v2.3.0/
-        * v2.2.X: http://django-haystack.readthedocs.org/en/v2.2.0/
-        * v2.1.X: http://django-haystack.readthedocs.org/en/v2.1.0/
-        * v2.0.X: http://django-haystack.readthedocs.org/en/v2.0.0/
-        * v1.2.X: http://django-haystack.readthedocs.org/en/v1.2.7/
-        * v1.1.X: http://django-haystack.readthedocs.org/en/v1.1/
+        * v2.4.X: https://django-haystack.readthedocs.io/en/v2.4.1/
+        * v2.3.X: https://django-haystack.readthedocs.io/en/v2.3.0/
+        * v2.2.X: https://django-haystack.readthedocs.io/en/v2.2.0/
+        * v2.1.X: https://django-haystack.readthedocs.io/en/v2.1.0/
+        * v2.0.X: https://django-haystack.readthedocs.io/en/v2.0.0/
+        * v1.2.X: https://django-haystack.readthedocs.io/en/v1.2.7/
+        * v1.1.X: https://django-haystack.readthedocs.io/en/v1.1/
+        
+        See the `changelog <docs/changelog.rst>`_
         
         Build Status
         ============
@@ -61,10 +63,10 @@ Description: ========
         Haystack has a relatively easily-met set of requirements.
         
         * Python 2.7+ or Python 3.3+
-        * Django 1.6+
+        * A supported version of Django: https://www.djangoproject.com/download/#supported-versions
         
         Additionally, each backend has its own requirements. You should refer to
-        http://django-haystack.readthedocs.org/en/latest/installing_search_engines.html for more
+        https://django-haystack.readthedocs.io/en/latest/installing_search_engines.html for more
         details.
         
 Platform: UNKNOWN
diff --git a/django_haystack.egg-info/SOURCES.txt b/django_haystack.egg-info/SOURCES.txt
index 53c2d69..6372327 100644
--- a/django_haystack.egg-info/SOURCES.txt
+++ b/django_haystack.egg-info/SOURCES.txt
@@ -18,6 +18,7 @@ docs/autocomplete.rst
 docs/backend_support.rst
 docs/best_practices.rst
 docs/boost.rst
+docs/changelog.rst
 docs/conf.py
 docs/contributing.rst
 docs/creating_new_backends.rst
@@ -54,11 +55,155 @@ docs/who_uses.rst
 docs/_build/.gitignore
 docs/_static/.gitignore
 docs/_templates/.gitignore
+docs/build/.buildinfo
+docs/build/admin.html
+docs/build/architecture_overview.html
+docs/build/autocomplete.html
+docs/build/backend_support.html
+docs/build/best_practices.html
+docs/build/boost.html
+docs/build/changelog.html
+docs/build/contributing.html
+docs/build/creating_new_backends.html
+docs/build/debugging.html
+docs/build/faceting.html
+docs/build/faq.html
+docs/build/genindex.html
+docs/build/glossary.html
+docs/build/highlighting.html
+docs/build/index.html
+docs/build/inputtypes.html
+docs/build/installing_search_engines.html
+docs/build/management_commands.html
+docs/build/migration_from_1_to_2.html
+docs/build/multiple_index.html
+docs/build/objects.inv
+docs/build/other_apps.html
+docs/build/python3.html
+docs/build/rich_content_extraction.html
+docs/build/running_tests.html
+docs/build/search.html
+docs/build/searchbackend_api.html
+docs/build/searchfield_api.html
+docs/build/searchindex.js
+docs/build/searchindex_api.html
+docs/build/searchquery_api.html
+docs/build/searchqueryset_api.html
+docs/build/searchresult_api.html
+docs/build/settings.html
+docs/build/signal_processors.html
+docs/build/spatial.html
+docs/build/templatetags.html
+docs/build/toc.html
+docs/build/tutorial.html
+docs/build/utils.html
+docs/build/views_and_forms.html
+docs/build/who_uses.html
+docs/build/.doctrees/admin.doctree
+docs/build/.doctrees/architecture_overview.doctree
+docs/build/.doctrees/autocomplete.doctree
+docs/build/.doctrees/backend_support.doctree
+docs/build/.doctrees/best_practices.doctree
+docs/build/.doctrees/boost.doctree
+docs/build/.doctrees/changelog.doctree
+docs/build/.doctrees/contributing.doctree
+docs/build/.doctrees/creating_new_backends.doctree
+docs/build/.doctrees/debugging.doctree
+docs/build/.doctrees/environment.pickle
+docs/build/.doctrees/faceting.doctree
+docs/build/.doctrees/faq.doctree
+docs/build/.doctrees/glossary.doctree
+docs/build/.doctrees/highlighting.doctree
+docs/build/.doctrees/index.doctree
+docs/build/.doctrees/inputtypes.doctree
+docs/build/.doctrees/installing_search_engines.doctree
+docs/build/.doctrees/management_commands.doctree
+docs/build/.doctrees/migration_from_1_to_2.doctree
+docs/build/.doctrees/multiple_index.doctree
+docs/build/.doctrees/other_apps.doctree
+docs/build/.doctrees/python3.doctree
+docs/build/.doctrees/rich_content_extraction.doctree
+docs/build/.doctrees/running_tests.doctree
+docs/build/.doctrees/searchbackend_api.doctree
+docs/build/.doctrees/searchfield_api.doctree
+docs/build/.doctrees/searchindex_api.doctree
+docs/build/.doctrees/searchquery_api.doctree
+docs/build/.doctrees/searchqueryset_api.doctree
+docs/build/.doctrees/searchresult_api.doctree
+docs/build/.doctrees/settings.doctree
+docs/build/.doctrees/signal_processors.doctree
+docs/build/.doctrees/spatial.doctree
+docs/build/.doctrees/templatetags.doctree
+docs/build/.doctrees/toc.doctree
+docs/build/.doctrees/tutorial.doctree
+docs/build/.doctrees/utils.doctree
+docs/build/.doctrees/views_and_forms.doctree
+docs/build/.doctrees/who_uses.doctree
+docs/build/_sources/admin.txt
+docs/build/_sources/architecture_overview.txt
+docs/build/_sources/autocomplete.txt
+docs/build/_sources/backend_support.txt
+docs/build/_sources/best_practices.txt
+docs/build/_sources/boost.txt
+docs/build/_sources/changelog.txt
+docs/build/_sources/contributing.txt
+docs/build/_sources/creating_new_backends.txt
+docs/build/_sources/debugging.txt
+docs/build/_sources/faceting.txt
+docs/build/_sources/faq.txt
+docs/build/_sources/glossary.txt
+docs/build/_sources/highlighting.txt
+docs/build/_sources/index.txt
+docs/build/_sources/inputtypes.txt
+docs/build/_sources/installing_search_engines.txt
+docs/build/_sources/management_commands.txt
+docs/build/_sources/migration_from_1_to_2.txt
+docs/build/_sources/multiple_index.txt
+docs/build/_sources/other_apps.txt
+docs/build/_sources/python3.txt
+docs/build/_sources/rich_content_extraction.txt
+docs/build/_sources/running_tests.txt
+docs/build/_sources/searchbackend_api.txt
+docs/build/_sources/searchfield_api.txt
+docs/build/_sources/searchindex_api.txt
+docs/build/_sources/searchquery_api.txt
+docs/build/_sources/searchqueryset_api.txt
+docs/build/_sources/searchresult_api.txt
+docs/build/_sources/settings.txt
+docs/build/_sources/signal_processors.txt
+docs/build/_sources/spatial.txt
+docs/build/_sources/templatetags.txt
+docs/build/_sources/toc.txt
+docs/build/_sources/tutorial.txt
+docs/build/_sources/utils.txt
+docs/build/_sources/views_and_forms.txt
+docs/build/_sources/who_uses.txt
+docs/build/_static/ajax-loader.gif
+docs/build/_static/basic.css
+docs/build/_static/comment-bright.png
+docs/build/_static/comment-close.png
+docs/build/_static/comment.png
+docs/build/_static/default.css
+docs/build/_static/doctools.js
+docs/build/_static/down-pressed.png
+docs/build/_static/down.png
+docs/build/_static/file.png
+docs/build/_static/jquery.js
+docs/build/_static/minus.png
+docs/build/_static/plus.png
+docs/build/_static/pygments.css
+docs/build/_static/searchtools.js
+docs/build/_static/sidebar.js
+docs/build/_static/underscore.js
+docs/build/_static/up-pressed.png
+docs/build/_static/up.png
+docs/build/_static/websupport.js
 docs/haystack_theme/layout.html
 docs/haystack_theme/theme.conf
 docs/haystack_theme/static/documentation.css
 haystack/__init__.py
 haystack/admin.py
+haystack/apps.py
 haystack/constants.py
 haystack/exceptions.py
 haystack/fields.py
diff --git a/django_haystack.egg-info/requires.txt b/django_haystack.egg-info/requires.txt
index eec1cf1..912d2b2 100644
--- a/django_haystack.egg-info/requires.txt
+++ b/django_haystack.egg-info/requires.txt
@@ -1 +1,2 @@
-Django
\ No newline at end of file
+Django>=1.8
+Django<1.10
diff --git a/docs/backend_support.rst b/docs/backend_support.rst
index 4ab3bc6..e5f7716 100644
--- a/docs/backend_support.rst
+++ b/docs/backend_support.rst
@@ -50,7 +50,7 @@ Elasticsearch
 * Stored (non-indexed) fields
 * Highlighting
 * Spatial search
-* Requires: elasticsearch-py > 1.0 & Elasticsearch 1.0+
+* Requires: elasticsearch-py > 1.0 & Elasticsearch 1.0+ (Elasticsearch 2.X is not supported yet `#1247 <https://github.com/django-haystack/django-haystack/issues/1247>`_)
 
 Whoosh
 ------
diff --git a/docs/build/.buildinfo b/docs/build/.buildinfo
new file mode 100644
index 0000000..9c0d6c7
--- /dev/null
+++ b/docs/build/.buildinfo
@@ -0,0 +1,4 @@
+# Sphinx build info version 1
+# This file hashes the configuration used when building these files. When it is not found, a full rebuild will be done.
+config: b685ec8860980b957e3230e3a87d2089
+tags: 645f666f9bcd5a90fca523b33c5a78b7
diff --git a/docs/build/.doctrees/admin.doctree b/docs/build/.doctrees/admin.doctree
new file mode 100644
index 0000000..6947c4a
Binary files /dev/null and b/docs/build/.doctrees/admin.doctree differ
diff --git a/docs/build/.doctrees/architecture_overview.doctree b/docs/build/.doctrees/architecture_overview.doctree
new file mode 100644
index 0000000..459e7d0
Binary files /dev/null and b/docs/build/.doctrees/architecture_overview.doctree differ
diff --git a/docs/build/.doctrees/autocomplete.doctree b/docs/build/.doctrees/autocomplete.doctree
new file mode 100644
index 0000000..2ae338a
Binary files /dev/null and b/docs/build/.doctrees/autocomplete.doctree differ
diff --git a/docs/build/.doctrees/backend_support.doctree b/docs/build/.doctrees/backend_support.doctree
new file mode 100644
index 0000000..c881772
Binary files /dev/null and b/docs/build/.doctrees/backend_support.doctree differ
diff --git a/docs/build/.doctrees/best_practices.doctree b/docs/build/.doctrees/best_practices.doctree
new file mode 100644
index 0000000..41f1a13
Binary files /dev/null and b/docs/build/.doctrees/best_practices.doctree differ
diff --git a/docs/build/.doctrees/boost.doctree b/docs/build/.doctrees/boost.doctree
new file mode 100644
index 0000000..a8215e7
Binary files /dev/null and b/docs/build/.doctrees/boost.doctree differ
diff --git a/docs/build/.doctrees/changelog.doctree b/docs/build/.doctrees/changelog.doctree
new file mode 100644
index 0000000..b2f9c34
Binary files /dev/null and b/docs/build/.doctrees/changelog.doctree differ
diff --git a/docs/build/.doctrees/contributing.doctree b/docs/build/.doctrees/contributing.doctree
new file mode 100644
index 0000000..dafde49
Binary files /dev/null and b/docs/build/.doctrees/contributing.doctree differ
diff --git a/docs/build/.doctrees/creating_new_backends.doctree b/docs/build/.doctrees/creating_new_backends.doctree
new file mode 100644
index 0000000..62c4d99
Binary files /dev/null and b/docs/build/.doctrees/creating_new_backends.doctree differ
diff --git a/docs/build/.doctrees/debugging.doctree b/docs/build/.doctrees/debugging.doctree
new file mode 100644
index 0000000..6ad5804
Binary files /dev/null and b/docs/build/.doctrees/debugging.doctree differ
diff --git a/docs/build/.doctrees/environment.pickle b/docs/build/.doctrees/environment.pickle
new file mode 100644
index 0000000..98174d0
Binary files /dev/null and b/docs/build/.doctrees/environment.pickle differ
diff --git a/docs/build/.doctrees/faceting.doctree b/docs/build/.doctrees/faceting.doctree
new file mode 100644
index 0000000..f1a3ac1
Binary files /dev/null and b/docs/build/.doctrees/faceting.doctree differ
diff --git a/docs/build/.doctrees/faq.doctree b/docs/build/.doctrees/faq.doctree
new file mode 100644
index 0000000..61b53b2
Binary files /dev/null and b/docs/build/.doctrees/faq.doctree differ
diff --git a/docs/build/.doctrees/glossary.doctree b/docs/build/.doctrees/glossary.doctree
new file mode 100644
index 0000000..b8e8efb
Binary files /dev/null and b/docs/build/.doctrees/glossary.doctree differ
diff --git a/docs/build/.doctrees/highlighting.doctree b/docs/build/.doctrees/highlighting.doctree
new file mode 100644
index 0000000..ff110eb
Binary files /dev/null and b/docs/build/.doctrees/highlighting.doctree differ
diff --git a/docs/build/.doctrees/index.doctree b/docs/build/.doctrees/index.doctree
new file mode 100644
index 0000000..7ae83da
Binary files /dev/null and b/docs/build/.doctrees/index.doctree differ
diff --git a/docs/build/.doctrees/inputtypes.doctree b/docs/build/.doctrees/inputtypes.doctree
new file mode 100644
index 0000000..c8fb05c
Binary files /dev/null and b/docs/build/.doctrees/inputtypes.doctree differ
diff --git a/docs/build/.doctrees/installing_search_engines.doctree b/docs/build/.doctrees/installing_search_engines.doctree
new file mode 100644
index 0000000..1b2a5d5
Binary files /dev/null and b/docs/build/.doctrees/installing_search_engines.doctree differ
diff --git a/docs/build/.doctrees/management_commands.doctree b/docs/build/.doctrees/management_commands.doctree
new file mode 100644
index 0000000..37aac08
Binary files /dev/null and b/docs/build/.doctrees/management_commands.doctree differ
diff --git a/docs/build/.doctrees/migration_from_1_to_2.doctree b/docs/build/.doctrees/migration_from_1_to_2.doctree
new file mode 100644
index 0000000..5206007
Binary files /dev/null and b/docs/build/.doctrees/migration_from_1_to_2.doctree differ
diff --git a/docs/build/.doctrees/multiple_index.doctree b/docs/build/.doctrees/multiple_index.doctree
new file mode 100644
index 0000000..da1f96d
Binary files /dev/null and b/docs/build/.doctrees/multiple_index.doctree differ
diff --git a/docs/build/.doctrees/other_apps.doctree b/docs/build/.doctrees/other_apps.doctree
new file mode 100644
index 0000000..116bb0d
Binary files /dev/null and b/docs/build/.doctrees/other_apps.doctree differ
diff --git a/docs/build/.doctrees/python3.doctree b/docs/build/.doctrees/python3.doctree
new file mode 100644
index 0000000..0068a23
Binary files /dev/null and b/docs/build/.doctrees/python3.doctree differ
diff --git a/docs/build/.doctrees/rich_content_extraction.doctree b/docs/build/.doctrees/rich_content_extraction.doctree
new file mode 100644
index 0000000..4c630ed
Binary files /dev/null and b/docs/build/.doctrees/rich_content_extraction.doctree differ
diff --git a/docs/build/.doctrees/running_tests.doctree b/docs/build/.doctrees/running_tests.doctree
new file mode 100644
index 0000000..208fc20
Binary files /dev/null and b/docs/build/.doctrees/running_tests.doctree differ
diff --git a/docs/build/.doctrees/searchbackend_api.doctree b/docs/build/.doctrees/searchbackend_api.doctree
new file mode 100644
index 0000000..7108d7b
Binary files /dev/null and b/docs/build/.doctrees/searchbackend_api.doctree differ
diff --git a/docs/build/.doctrees/searchfield_api.doctree b/docs/build/.doctrees/searchfield_api.doctree
new file mode 100644
index 0000000..d0b7738
Binary files /dev/null and b/docs/build/.doctrees/searchfield_api.doctree differ
diff --git a/docs/build/.doctrees/searchindex_api.doctree b/docs/build/.doctrees/searchindex_api.doctree
new file mode 100644
index 0000000..b0a2c34
Binary files /dev/null and b/docs/build/.doctrees/searchindex_api.doctree differ
diff --git a/docs/build/.doctrees/searchquery_api.doctree b/docs/build/.doctrees/searchquery_api.doctree
new file mode 100644
index 0000000..9884848
Binary files /dev/null and b/docs/build/.doctrees/searchquery_api.doctree differ
diff --git a/docs/build/.doctrees/searchqueryset_api.doctree b/docs/build/.doctrees/searchqueryset_api.doctree
new file mode 100644
index 0000000..c4d89b9
Binary files /dev/null and b/docs/build/.doctrees/searchqueryset_api.doctree differ
diff --git a/docs/build/.doctrees/searchresult_api.doctree b/docs/build/.doctrees/searchresult_api.doctree
new file mode 100644
index 0000000..7c98415
Binary files /dev/null and b/docs/build/.doctrees/searchresult_api.doctree differ
diff --git a/docs/build/.doctrees/settings.doctree b/docs/build/.doctrees/settings.doctree
new file mode 100644
index 0000000..28c6dfb
Binary files /dev/null and b/docs/build/.doctrees/settings.doctree differ
diff --git a/docs/build/.doctrees/signal_processors.doctree b/docs/build/.doctrees/signal_processors.doctree
new file mode 100644
index 0000000..bdbd14c
Binary files /dev/null and b/docs/build/.doctrees/signal_processors.doctree differ
diff --git a/docs/build/.doctrees/spatial.doctree b/docs/build/.doctrees/spatial.doctree
new file mode 100644
index 0000000..b01abee
Binary files /dev/null and b/docs/build/.doctrees/spatial.doctree differ
diff --git a/docs/build/.doctrees/templatetags.doctree b/docs/build/.doctrees/templatetags.doctree
new file mode 100644
index 0000000..4a51d68
Binary files /dev/null and b/docs/build/.doctrees/templatetags.doctree differ
diff --git a/docs/build/.doctrees/toc.doctree b/docs/build/.doctrees/toc.doctree
new file mode 100644
index 0000000..e8170e8
Binary files /dev/null and b/docs/build/.doctrees/toc.doctree differ
diff --git a/docs/build/.doctrees/tutorial.doctree b/docs/build/.doctrees/tutorial.doctree
new file mode 100644
index 0000000..2087b57
Binary files /dev/null and b/docs/build/.doctrees/tutorial.doctree differ
diff --git a/docs/build/.doctrees/utils.doctree b/docs/build/.doctrees/utils.doctree
new file mode 100644
index 0000000..4c9002e
Binary files /dev/null and b/docs/build/.doctrees/utils.doctree differ
diff --git a/docs/build/.doctrees/views_and_forms.doctree b/docs/build/.doctrees/views_and_forms.doctree
new file mode 100644
index 0000000..b7b9bbc
Binary files /dev/null and b/docs/build/.doctrees/views_and_forms.doctree differ
diff --git a/docs/build/.doctrees/who_uses.doctree b/docs/build/.doctrees/who_uses.doctree
new file mode 100644
index 0000000..7d576b1
Binary files /dev/null and b/docs/build/.doctrees/who_uses.doctree differ
diff --git a/docs/build/_sources/admin.txt b/docs/build/_sources/admin.txt
new file mode 100644
index 0000000..c7a2d2a
--- /dev/null
+++ b/docs/build/_sources/admin.txt
@@ -0,0 +1,47 @@
+.. _ref-admin:
+
+===================
+Django Admin Search
+===================
+
+Haystack comes with a base class to support searching via Haystack in the
+Django admin. To use Haystack to search, inherit from ``haystack.admin.SearchModelAdmin``
+instead of ``django.contrib.admin.ModelAdmin``.
+
+For example::
+
+    from haystack.admin import SearchModelAdmin
+    from .models import MockModel
+
+
+    class MockModelAdmin(SearchModelAdmin):
+        haystack_connection = 'solr'
+        date_hierarchy = 'pub_date'
+        list_display = ('author', 'pub_date')
+
+
+    admin.site.register(MockModel, MockModelAdmin)
+
+You can also specify the Haystack connection used by the search with the
+``haystack_connection`` property on the model admin class. If not specified,
+the default connection will be used.
+
+If you already have a base model admin class you use, there is also a mixin
+you can use instead::
+
+    from django.contrib import admin
+    from haystack.admin import SearchModelAdminMixin
+    from .models import MockModel
+
+
+    class MyCustomModelAdmin(admin.ModelAdmin):
+        pass
+
+
+    class MockModelAdmin(SearchModelAdminMixin, MyCustomModelAdmin):
+        haystack_connection = 'solr'
+        date_hierarchy = 'pub_date'
+        list_display = ('author', 'pub_date')
+
+
+    admin.site.register(MockModel, MockModelAdmin)
diff --git a/docs/build/_sources/architecture_overview.txt b/docs/build/_sources/architecture_overview.txt
new file mode 100644
index 0000000..f56a58b
--- /dev/null
+++ b/docs/build/_sources/architecture_overview.txt
@@ -0,0 +1,66 @@
+.. _ref-architecture-overview:
+
+=====================
+Architecture Overview
+=====================
+
+``SearchQuerySet``
+------------------
+
+One main implementation.
+
+* Standard API that loosely follows ``QuerySet``
+* Handles most queries
+* Allows for custom "parsing"/building through API
+* Dispatches to ``SearchQuery`` for actual query
+* Handles automatically creating a query
+* Allows for raw queries to be passed straight to backend.
+
+
+``SearchQuery``
+---------------
+
+Implemented per-backend.
+
+* Method for building the query out of the structured data.
+* Method for cleaning a string of reserved characters used by the backend.
+
+Main class provides:
+
+* Methods to add filters/models/order-by/boost/limits to the search.
+* Method to perform a raw search.
+* Method to get the number of hits.
+* Method to return the results provided by the backend (likely not a full list).
+
+
+``SearchBackend``
+-----------------
+
+Implemented per-backend.
+
+* Connects to search engine
+* Method for saving new docs to index
+* Method for removing docs from index
+* Method for performing the actual query
+
+
+``SearchSite``
+--------------
+
+One main implementation.
+
+* Standard API that loosely follows ``django.contrib.admin.sites.AdminSite``
+* Handles registering/unregistering models to search on a per-site basis.
+* Provides a means of adding custom indexes to a model, like ``ModelAdmins``.
+
+
+``SearchIndex``
+---------------
+
+Implemented per-model you wish to index.
+
+* Handles generating the document to be indexed.
+* Populates additional fields to accompany the document.
+* Provides a way to limit what types of objects get indexed.
+* Provides a way to index the document(s).
+* Provides a way to remove the document(s).
diff --git a/docs/build/_sources/autocomplete.txt b/docs/build/_sources/autocomplete.txt
new file mode 100644
index 0000000..0ff7005
--- /dev/null
+++ b/docs/build/_sources/autocomplete.txt
@@ -0,0 +1,220 @@
+.. _ref-autocomplete:
+
+============
+Autocomplete
+============
+
+Autocomplete is becoming increasingly common as an add-on to search. Haystack
+makes it relatively simple to implement. There are two steps in the process,
+one to prepare the data and one to implement the actual search.
+
+Step 1. Setup The Data
+======================
+
+To do autocomplete effectively, the search backend uses n-grams (essentially
+a small window passed over the string). Because this alters the way your
+data needs to be stored, the best approach is to add a new field to your
+``SearchIndex`` that contains the text you want to autocomplete on.
+
+You have two choices: ``NgramField`` and ``EdgeNgramField``. Though very similar,
+the choice of field is somewhat important.
+
+* If you're working with standard text, ``EdgeNgramField`` tokenizes on
+  whitespace. This prevents incorrect matches when part of two different words
+  are mashed together as one n-gram. **This is what most users should use.**
+* If you're working with Asian languages or want to be able to autocomplete
+  across word boundaries, ``NgramField`` should be what you use.
+
+Example (continuing from the tutorial)::
+
+    import datetime
+    from haystack import indexes
+    from myapp.models import Note
+
+
+    class NoteIndex(indexes.SearchIndex, indexes.Indexable):
+        text = indexes.CharField(document=True, use_template=True)
+        author = indexes.CharField(model_attr='user')
+        pub_date = indexes.DateTimeField(model_attr='pub_date')
+        # We add this for autocomplete.
+        content_auto = indexes.EdgeNgramField(model_attr='content')
+
+        def get_model(self):
+            return Note
+
+        def index_queryset(self, using=None):
+            """Used when the entire index for model is updated."""
+            return Note.objects.filter(pub_date__lte=datetime.datetime.now())
+
+As with all schema changes, you'll need to rebuild/update your index after
+making this change.
+
+
+Step 2. Performing The Query
+============================
+
+Haystack ships with a convenience method to perform most autocomplete searches.
+You simply provide a field and the query you wish to search on to the
+``SearchQuerySet.autocomplete`` method. Given the previous example, an example
+search would look like::
+
+    from haystack.query import SearchQuerySet
+
+    SearchQuerySet().autocomplete(content_auto='old')
+    # Result match things like 'goldfish', 'cuckold' and 'older'.
+
+The results from the ``SearchQuerySet.autocomplete`` method are full search
+results, just like any regular filter.
+
+If you need more control over your results, you can use standard
+``SearchQuerySet.filter`` calls. For instance::
+
+    from haystack.query import SearchQuerySet
+
+    sqs = SearchQuerySet().filter(content_auto=request.GET.get('q', ''))
+
+This can also be extended to use ``SQ`` for more complex queries (and is what's
+being done under the hood in the ``SearchQuerySet.autocomplete`` method).
+
+
+Example Implementation
+======================
+
+The above is the low-level backend portion of how you implement autocomplete.
+To make it work in browser, you need both a view to run the autocomplete
+and some Javascript to fetch the results.
+
+Since it comes up often, here is an example implementation of those things.
+
+.. warning::
+
+    This code comes with no warranty. Don't ask for support on it. If you
+    copy-paste it and it burns down your server room, I'm not liable for any
+    of it.
+
+    It worked this one time on my machine in a simulated environment.
+
+    And yeah, semicolon-less + 2 space + comma-first. Deal with it.
+
+A stripped-down view might look like::
+
+    # views.py
+    import simplejson as json
+    from django.http import HttpResponse
+    from haystack.query import SearchQuerySet
+
+
+    def autocomplete(request):
+        sqs = SearchQuerySet().autocomplete(content_auto=request.GET.get('q', ''))[:5]
+        suggestions = [result.title for result in sqs]
+        # Make sure you return a JSON object, not a bare list.
+        # Otherwise, you could be vulnerable to an XSS attack.
+        the_data = json.dumps({
+            'results': suggestions
+        })
+        return HttpResponse(the_data, content_type='application/json')
+
+The template might look like::
+
+    <!DOCTYPE html>
+    <html>
+    <head>
+      <meta charset="utf-8">
+      <title>Autocomplete Example</title>
+    </head>
+    <body>
+      <h1>Autocomplete Example</h1>
+
+      <form method="post" action="/search/" class="autocomplete-me">
+        <input type="text" id="id_q" name="q">
+        <input type="submit" value="Search!">
+      </form>
+
+      <script src="http://ajax.googleapis.com/ajax/libs/jquery/1.8.3/jquery.min.js"></script>
+      <script type="text/javascript">
+        // In a perfect world, this would be its own library file that got included
+        // on the page and only the ``$(document).ready(...)`` below would be present.
+        // But this is an example.
+        var Autocomplete = function(options) {
+          this.form_selector = options.form_selector
+          this.url = options.url || '/search/autocomplete/'
+          this.delay = parseInt(options.delay || 300)
+          this.minimum_length = parseInt(options.minimum_length || 3)
+          this.form_elem = null
+          this.query_box = null
+        }
+
+        Autocomplete.prototype.setup = function() {
+          var self = this
+
+          this.form_elem = $(this.form_selector)
+          this.query_box = this.form_elem.find('input[name=q]')
+
+          // Watch the input box.
+          this.query_box.on('keyup', function() {
+            var query = self.query_box.val()
+
+            if(query.length < self.minimum_length) {
+              return false
+            }
+
+            self.fetch(query)
+          })
+
... 37807 lines suppressed ...

-- 
Alioth's /usr/local/bin/git-commit-notice on /srv/git.debian.org/git/python-modules/packages/django-haystack.git



More information about the Python-modules-commits mailing list