#field('name')#if($params.getBool('mlt', false) == false)More Like This#end
##do we have a physical store for this product #set($store = $doc.getFieldValue('store')) #if($store)
Larger Map
#end
Price: $!number.currency($doc.getFieldValue('price'))
Features: #field('features')
In Stock: #field('inStock')
#set($mlt = $mltResults.get($docId)) #set($mltOn = $params.getBool('mlt')) #if($mltOn == true)
Similar Items
#end #if ($mltOn && $mlt && $mlt.size() > 0) #elseif($mltOn && $mlt.size() == 0)
No Similar Items Found
#end
#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)) $value #end #end
#end