{% extends 'base.html' %} {% block content %}
{% if results %}

← Back

{% for agg in aggs %}
{{ agg }}
{% for key, count in aggs[agg].items() %}
{% endfor %} {% endfor %}
Showing results {{ from_ + 1 }}-{{ from_ + results|length }} out of {{ total }}.
{% if from_ > 0 %} {% endif %} {% if from_ + results|length < total %}
{% endif %}
{% for result in results %}

{{ from_ + loop.index }}. {{ result._source.name }}
{{ result._source.summary }}
Category: {{ result._source.category }}. Last updated: {{ result._source.updated_at | default(result._source.created_on) }}. {% if result._score %}(Score: {{ result._score }}){% endif %}

{% endfor %}
{% elif request.method == 'POST' %}

No results found.

{% endif %} {% endblock %}