diff --git a/solr/example/solr/collection1/conf/velocity/hitGrouped.vm b/solr/example/solr/collection1/conf/velocity/hitGrouped.vm index 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 @@
#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
#end