#set($count=0) #if ($hit.keywords)
#foreach ($tag in $hit.keywords.split("\s*\|\s*")) #if($count<3) $tag #set($count=$count+1) #end #end
#end