Handle invalid response from solR

Sometimes solR send such a response :

array(
  'responseHeader'=>array(
    'status'=>0,
    'QTime'=>1),
  'response'=>null,
  'interestingTerms'=>array())

So add some sanity checks to avoid segfault.