[Answered ]-Check the solr query generated by haystack

2👍

I found the answer to this problem.

In the file pysolr.py, uncomment the following lines:

#print 'path: ',path
#print 'body:',body 

The generated solr query will be displayed in the console.

0👍

You can get the actual query seen by Solr by configuring SolrLogging to show the information you’re looking for. INFO should be enough for the actual query received to be shown.

Leave a comment