#i18n{portal.search.search_results.title}

${error}
#i18n{portal.search.search_results.labelResultsCount} : ${paginator.itemsCount}
#i18n{portal.search.search_results.labelResultsRange} : ${paginator.rangeMin} - ${paginator.rangeMax}
<@pagination paginator=paginator />
<#-- facets -->

<#if facets??><#-- empty or null when no connection to server --> <#list facets as facet> <#-- there is only one facet in this example : "site" --> <#if facet.values??> <#-- when there is no result, facet is not null, but facet.values is --> Site :
<#list facet.values as count> <#-- should build a link to the query --> ${count.name}(${count.count})

<#-- results -->
    <#list results_list as result>
  • [${result.title}]
    Site :${result.site}

    <#if result.summary??> ${result.summary}
    <#if result.highlight??> <#-- get a extract from the "content" field where there is one (or more) of the searched words --> Extrait : ${result.highlight.map["content"][0]}
    <#if result.date?has_content> ${result.date?date}
<#-- Freemarker macros --> <#-- Number of items per page selector - Combo Box implementation --> <#macro NbItemsPerPageSelectorCombo nb_items_per_page> <#-- Number of items per page selector - Radio List implementation --> <#macro NbItemsPerPageSelectorRadioList nb_items_per_page> <#list [ "5" , "10" , "20" , "50" ] as nb> <#if nb = nb_items_per_page > <#else>