mirror of
https://github.com/apache/lucene.git
synced 2025-02-06 01:58:44 +00:00
5003628c65
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1695116 13f79535-47bb-0310-9956-ffa450edef68
22 lines
800 B
Plaintext
22 lines
800 B
Plaintext
<ul id="tabs">
|
|
<li><a href="#url_for_type('all')" #if("#current_type"=="all")class="selected"#end>$resource.type.all ($response.response.facet_counts.facet_queries.all_types)</a></li>
|
|
#foreach($type in $response.response.facet_counts.facet_fields.doc_type)
|
|
#if($type.key)
|
|
<li><a href="#url_for_type($type.key)" #if($type.value=="0")class="no_results"#end #if("#current_type"==$type.key)class="selected"#end> #label("type.${type.key}.label", $type.key) ($type.value)</a></li>
|
|
#else
|
|
#if($type.value > 0)
|
|
<li><a href="#url_for_type('unknown')" #if("#current_type"=="unknown")class="selected"#end>$resource.type.unknown ($type.value)</a></li>
|
|
#end
|
|
#end
|
|
#end
|
|
</ul>
|
|
|
|
|
|
<div id="results">
|
|
#foreach($doc in $response.results)
|
|
#parse("hit.vm")
|
|
#end
|
|
</div>
|
|
|
|
|