Sha256: 78ceb14c6084094c5c4ca219b3c2b88adf7514085c7596bb721bfb0bfce0e218

Contents?: true

Size: 1.53 KB

Versions: 10

Compression:

Stored size: 1.53 KB

Contents

#set($searcher=$request.searcher)
#set($params=$request.params)
#set($clusters = $response.response.clusters)
#set($mltResults = $response.response.get("moreLikeThis"))
#set($annotate = $params.get("annotateBrowse"))
#parse('query.vm')
#parse('did_you_mean.vm')

<div class="navigators">
  #parse("facets.vm")
</div>

<div class="pagination">
  #if($response.response.get('grouped'))
    <span><span class="results-found">$response.response.get('grouped').size() group(s)</span> found in ${response.responseHeader.QTime} ms</span>
  #else<span><span class="results-found">$page.results_found</span> results found in ${response.responseHeader.QTime} ms</span>
  Page <span class="page-num">$page.current_page_number</span> of <span
        class="page-count">$page.page_count</span>#end
</div>

<div class="error">
  #if(${response.response.error.code})
    <h1>ERROR ${response.response.error.code}</h1>
    ${response.response.error.msg}
  #end
</div>

<div class="results">
  #if($response.response.get('grouped'))
    #foreach($grouping in $response.response.get('grouped'))
      #parse("hitGrouped.vm")
    #end
  #else
    #foreach($doc in $response.results)
      #parse("hit.vm")
    #end
  #end
</div>

<div class="pagination">
  #if($response.response.get('grouped'))
  #else
  #link_to_previous_page("previous")
  <span class="results-found">$page.results_found</span> results found.
  Page <span class="page-num">$page.current_page_number</span> of <span
        class="page-count">$page.page_count</span>
  #link_to_next_page("next")
  #end
  <br/>
</div>

Version data entries

10 entries across 4 versions & 2 rubygems

Version Path
geohydra-0.3.3 solr/ogp-dev/conf/velocity/browse.vm
geohydra-0.3.3 solr/ogp/conf/velocity/browse.vm
geohydra-0.3.3 solr/ogp-test/conf/velocity/browse.vm
geohydra-0.3.1 solr/ogp-test/conf/velocity/browse.vm
geohydra-0.3.1 solr/ogp-dev/conf/velocity/browse.vm
geohydra-0.3.1 solr/ogp/conf/velocity/browse.vm
geohydra-0.3 solr/ogp-dev/conf/velocity/browse.vm
geohydra-0.3 solr/ogp/conf/velocity/browse.vm
geohydra-0.3 solr/ogp-test/conf/velocity/browse.vm
rere-0.0.1 example/solr/collection1/conf/velocity/browse.vm