Sha256: d730428044c2eeecabcc3f119ed7a98c2566f0dc2b7accc152fcfe900b288aad

Contents?: true

Size: 1.71 KB

Versions: 37

Compression:

Stored size: 1.71 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')
#if($response.response.spellcheck.suggestions and $response.response.spellcheck.suggestions.size() > 0)
  Did you mean <a href="#url_for_home?q=$esc.url($response.response.spellcheck.suggestions.collation)#if($list.size($request.params.getParams('fq')) > 0)&#fqs($request.params.getParams('fq'))#end#debug">$response.response.spellcheck.suggestions.collation</a>?
#end

<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="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

37 entries across 37 versions & 2 rubygems

Version Path
supernova-core-0.0.1 solr/conf/velocity/browse.vm
supernova-0.7.6 solr/conf/velocity/browse.vm
supernova-0.7.5 solr/conf/velocity/browse.vm
supernova-0.7.4 solr/conf/velocity/browse.vm
supernova-0.7.3 solr/conf/velocity/browse.vm
supernova-0.7.2 solr/conf/velocity/browse.vm
supernova-0.7.1 solr/conf/velocity/browse.vm
supernova-0.7.0 solr/conf/velocity/browse.vm
supernova-0.6.8 solr/conf/velocity/browse.vm
supernova-0.6.7 solr/conf/velocity/browse.vm
supernova-0.6.6 solr/conf/velocity/browse.vm
supernova-0.6.5 solr/conf/velocity/browse.vm
supernova-0.6.4 solr/conf/velocity/browse.vm
supernova-0.6.3 solr/conf/velocity/browse.vm
supernova-0.6.2 solr/conf/velocity/browse.vm
supernova-0.6.1 solr/conf/velocity/browse.vm
supernova-0.6.0 solr/conf/velocity/browse.vm
supernova-0.4.18 solr/conf/velocity/browse.vm
supernova-0.4.17 solr/conf/velocity/browse.vm
supernova-0.4.16 solr/conf/velocity/browse.vm