Avoid unused temporary variables
Do not use concatenation in logs
Do not call toString on log parameters
Add a 10s timeout on solr requests
close the content stream once the document is parsed