<WSGIRequest: GET '/XXXX/'> Message on rebuild_index

62 views
Skip to first unread message

Lenz Hirsch

unread,
Aug 2, 2017, 11:54:40 PM8/2/17
to django-haystack
 Does anybody know why I am getting the output "<WSGIRequest: GET '/XXXX/'>" when running rebuild_index for all pages with POST data contact forms? 


Removing all documents from your index because you said so.
All documents removed.
Indexing 140 pages
<WSGIRequest: GET '/3M/'>
<WSGIRequest: GET '/zugangsdaten-anfordern/'>
<WSGIRequest: GET '/benutzerdaten-aendern/'>
<WSGIRequest: GET '/request-offer/'>


Thanks! :)

Subhranath Chunder

unread,
Aug 22, 2017, 11:58:52 PM8/22/17
to django-...@googlegroups.com
`rebuild_index` normally doesn't make GET WSGIRequest calls during index rebuild process, unless there is any specific custom code written to do so.

Infact WSGIRequest looks like django specific requests being initiated in this case.

Your implementation of the SearchIndex should be the place to look for it. Specifically the `index_queryset` and `prepare` methods might be a good place to start with.

Ref:

--
You received this message because you are subscribed to the Google Groups "django-haystack" group.
To unsubscribe from this group and stop receiving emails from it, send an email to django-haystack+unsubscribe@googlegroups.com.
For more options, visit https://groups.google.com/d/optout.



--
Thanks,
Subhranath Chunder.
Reply all
Reply to author
Forward
0 new messages