added logging of query terms, fixed error in search template
Merge branch 'feature/solr-log' into develop