You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@lucene.apache.org by ja...@apache.org on 2012/08/04 23:35:41 UTC
svn commit: r1369476 -
/lucene/dev/trunk/solr/example/solr/collection1/conf/velocity/hitGrouped.vm
Author: janhoy
Date: Sat Aug 4 21:35:41 2012
New Revision: 1369476
URL: http://svn.apache.org/viewvc?rev=1369476&view=rev
Log:
SOLR-3439: Fixing broken hitGrouped
Modified:
lucene/dev/trunk/solr/example/solr/collection1/conf/velocity/hitGrouped.vm
Modified: lucene/dev/trunk/solr/example/solr/collection1/conf/velocity/hitGrouped.vm
URL: http://svn.apache.org/viewvc/lucene/dev/trunk/solr/example/solr/collection1/conf/velocity/hitGrouped.vm?rev=1369476&r1=1369475&r2=1369476&view=diff
==============================================================================
--- lucene/dev/trunk/solr/example/solr/collection1/conf/velocity/hitGrouped.vm (original)
+++ lucene/dev/trunk/solr/example/solr/collection1/conf/velocity/hitGrouped.vm Sat Aug 4 21:35:41 2012
@@ -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>