Move to solr 4 plus corrections to SparqlQueryExecutorTest with newlines and white space characters

This commit is contained in:
hudajkhan 2014-04-25 13:54:42 -04:00
parent b642f30391
commit 120be1e6b8
122 changed files with 17422 additions and 5288 deletions

View file

@ -0,0 +1,43 @@
#**
* Display grouped results
*#
<div class="result-document">
<div class="result-title">
<b>$grouping.key</b>
</div>
<div>
Total Matches in Group: $grouping.value.matches
</div>
<div> ## list of groups
#foreach ($group in $grouping.value.groups)
<div class="group-value">
#if($group.groupValue)$group.groupValue#{else}<i>No group</i>#end
<span #annTitle("The count of the number of documents in this group")>
($group.doclist.numFound)
</span>
</div>
<div class="group-doclist"
#annTitle("Contains the top scoring documents in the group")
>
#foreach ($doc in $group.doclist)
#set($docId = $doc.getFieldValue('id'))
#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 ## end of foreach group in grouping.value.groups
</div> ## div tag for entire list of groups
</div> ## end of div class=result-document