<%- t('Search Results') %>: <%- query %>

This search is provided by the elastic search module, based on http://www.elasticsearch.org/. Features are slowly being added, so if you get strange behaviour please do report it via github.

<% for(var facet in facets) { %>

<%- facet %>

<% if(facets[facet]._type === 'terms') { %>
    <% facets[facet].terms.forEach(function(term) { %>
  • <%- term.term %> (<%- term.count %>)
  • <% }); %>
<% } %> <% if(facets[facet]._type === 'date_histogram') { %>
    <% facets[facet].entries.forEach(function(term) { %>
  • <%- prettyDate(new Date(term.time)) %> (<%- term.count %>)
  • <% }); %>
<% } %>
<% }; %>
<% hits.forEach(function(item) { var result = item._source; %>

<%- result.title %>

<%- result.teaser %> ... more

<% }); %>
<%- pager %>