#if($params.getBool("debugQuery",false)) toggle explain
$response.getExplainMap().get($doc.getFirstValue('id'))
toggle all fields #foreach($fieldname in $doc.fieldNames)
$fieldname : #foreach($value in $doc.getFieldValues($fieldname)) $esc.html($value) #end #end
#end