Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
Browse files

Fixed the docs on debugging to cover v2. Thanks to eltesttox for the …

…report.
  • Loading branch information...
commit d4f60ff3c6a4fac0f1d47a3d4f79a252e213e04e 1 parent 4aeb63a
@toastdriven toastdriven authored
Showing with 3 additions and 3 deletions.
  1. +3 −3 docs/debugging.rst
View
6 docs/debugging.rst
@@ -38,11 +38,11 @@ Several issues can cause no results to be found. Most commonly it is either
not running a ``rebuild_index`` to populate your index or having a blank
``document=True`` field, resulting in no content for the engine to search on.
-* Do you have a ``search_sites.py`` that runs ``haystack.autodiscover``?
-* Have you registered your models with the main ``haystack.site`` (usually
- within your ``search_indexes.py``)?
+* Do you have a ``search_indexes.py`` located within an installed app?
* Do you have data in your database?
* Have you run a ``./manage.py rebuild_index`` to index all of your content?
+* Try running ``./manage.py rebuild_index -v2`` for more verbose output to
+ ensure data is being processed/inserted.
* Start a Django shell (``./manage.py shell``) and try::
>>> from haystack.query import SearchQuerySet
Please sign in to comment.
Something went wrong with that request. Please try again.