Sha256: b625cefaa08612813bb1e83fc940f2e59f29986c1d45452566493f925332807f

Contents?: true

Size: 1.12 KB

Versions: 226

Compression:

Stored size: 1.12 KB

Contents

#**
 *  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

Version data entries

226 entries across 226 versions & 3 rubygems

Version Path
smartcloud-0.1.0.beta1 lib/smartcloud/templates/dotsmartcloud/grids/grid-solr/data/configsets/sample_techproducts_configs/conf/velocity/hit_grouped.vm
smartcloud-0.0.210 lib/smartcloud/templates/dotsmartcloud/grids/grid-solr/data/configsets/sample_techproducts_configs/conf/velocity/hit_grouped.vm
smartcloud-0.0.209 lib/smartcloud/templates/dotsmartcloud/grids/grid-solr/data/configsets/sample_techproducts_configs/conf/velocity/hit_grouped.vm
smartcloud-0.0.208 lib/smartcloud/templates/dotsmartcloud/grids/grid-solr/data/configsets/sample_techproducts_configs/conf/velocity/hit_grouped.vm
smartcloud-0.0.207 lib/smartcloud/templates/dotsmartcloud/grids/grid-solr/data/configsets/sample_techproducts_configs/conf/velocity/hit_grouped.vm
smartcloud-0.0.206 lib/smartcloud/templates/dotsmartcloud/grids/grid-solr/data/configsets/sample_techproducts_configs/conf/velocity/hit_grouped.vm
smartcloud-0.0.205 lib/smartcloud/templates/dotsmartcloud/grids/grid-solr/data/configsets/sample_techproducts_configs/conf/velocity/hit_grouped.vm
smartcloud-0.0.204 lib/smartcloud/templates/dotsmartcloud/grids/grid-solr/data/configsets/sample_techproducts_configs/conf/velocity/hit_grouped.vm
smartcloud-0.0.203 lib/smartcloud/templates/dotsmartcloud/grids/grid-solr/data/configsets/sample_techproducts_configs/conf/velocity/hit_grouped.vm
smartcloud-0.0.202 lib/smartcloud/templates/dotsmartcloud/grids/grid-solr/data/configsets/sample_techproducts_configs/conf/velocity/hit_grouped.vm
smartcloud-0.0.201 lib/smartcloud/templates/dotsmartcloud/grids/grid-solr/data/configsets/sample_techproducts_configs/conf/velocity/hit_grouped.vm
smartcloud-0.0.200 lib/smartcloud/templates/dotsmartcloud/grids/grid-solr/data/configsets/sample_techproducts_configs/conf/velocity/hit_grouped.vm
smartcloud-0.0.199 lib/smartcloud/templates/dotsmartcloud/grids/grid-solr/data/configsets/sample_techproducts_configs/conf/velocity/hit_grouped.vm
smartcloud-0.0.198 lib/smartcloud/templates/dotsmartcloud/grids/grid-solr/data/configsets/sample_techproducts_configs/conf/velocity/hit_grouped.vm
smartcloud-0.0.197 lib/smartcloud/templates/dotsmartcloud/grids/grid-solr/data/configsets/sample_techproducts_configs/conf/velocity/hit_grouped.vm
smartcloud-0.0.196 lib/smartcloud/templates/dotsmartcloud/grids/grid-solr/data/configsets/sample_techproducts_configs/conf/velocity/hit_grouped.vm
smartcloud-0.0.195 lib/smartcloud/templates/dotsmartcloud/grids/grid-solr/data/configsets/sample_techproducts_configs/conf/velocity/hit_grouped.vm
smartcloud-0.0.194 lib/smartcloud/templates/dotsmartcloud/grids/grid-solr/data/configsets/sample_techproducts_configs/conf/velocity/hit_grouped.vm
smartcloud-0.0.193 lib/smartcloud/templates/dotsmartcloud/grids/grid-solr/data/configsets/sample_techproducts_configs/conf/velocity/hit_grouped.vm
smartcloud-0.0.192 lib/smartcloud/templates/dotsmartcloud/grids/grid-solr/data/configsets/sample_techproducts_configs/conf/velocity/hit_grouped.vm