Apache Lucene open-source search software
SOLR-3439: Fixing broken hitGrouped
Jan Høydahl2ba5d018e757
diff --git a/solr/example/solr/collection1/conf/velocity/hitGrouped.vm b/solr/example/solr/collection1/conf/velocity/hitGrouped.vmindex c3cccf4b3b0..cfb9ee3243c 100644--- a/solr/example/solr/collection1/conf/velocity/hitGrouped.vm+++ b/solr/example/solr/collection1/conf/velocity/hitGrouped.vm@@ -6,7 +6,13 @@<div class="group-doclist" #annTitle("Contains the top scoring documents in the group")>#foreach ($doc in $group.doclist)#set($docId = $doc.getFieldValue('id'))- #parse("doc.vm")+ #if($doc.getFieldValue('name'))+ #parse("product-doc.vm")+ #elseif($doc.getFieldValue('compName_s'))+ #parse("join-doc.vm")+ #else+ #parse("richtext-doc.vm")+ #end#end</div>#end</div>