Implemented search using haystack and solr
Corrected indentation