{% import "search_macros.html" as search_macros %} {% extends "base.html" %} {% block fullmain %}
{{ _("Filters") }}

{{ search_macros.query_option(query.time_options, query.filter_time) }} {{ search_macros.query_option(query.type_options, query.filter_type) }} {{ search_macros.query_option(query.availability_options, query.filter_availability) }} {{ search_macros.query_option(query.sort_options, query.sort_order) }}

{% if hits %} {#

{{ "{:,}".format(hits.count_found) }}

#} {{ "{:,}".format(hits.count_found) }} Hits in {{ "{:0.2}".format(hits.query_time_ms/1000.0) }}sec {% else %}   {% endif %}
{% if hits %}
{#

{{ "{:,}".format(hits.count_found) }}

#}

{{ "{:,}".format(hits.count_found) }}

Hits
in {{ "{:0.2}".format(hits.query_time_ms/1000.0) }}sec
{% endif %}
{{ search_macros.query_option(query.time_options, query.filter_time) }} {{ search_macros.query_option(query.type_options, query.filter_type) }} {{ search_macros.query_option(query.availability_options, query.filter_availability) }} {{ search_macros.query_option(query.sort_options, query.sort_order) }}
{% if search_error %}
{% if search_error.type == "backend" %} {% trans %}Backend Search Engine Error{% endtrans %} {% elif search_error.type == "query" %} {% trans %}Search Query Error{% endtrans %} {% endif %}

Computer said: {{ search_error.message }}

Query parsing is currently very naive. Sometimes you can fix this problem by adding quotes around terms or entire phrases.

{% elif hits and hits.results %} {% if hits.results %} {% for paper in hits.results %} {{ search_macros.fulltext_search_result_row(paper) }} {% endfor %} {% endif %} {% elif hits %}
{% trans %}We didn't find any documents matching your query{% endtrans %}
{% else %}
{% trans %}Enter a query in the box above to get started{% endtrans %}
{% endif %}
{% endblock %}