{% extends "kadmin/base.html" %} {% block content_title %}

Elastic Search

{% endblock %} {% block extrastyle %} {{ block.super }} {% endblock %} {% block footer %} {{ block.super }} {% endblock %} {% block content %}

Status

{% if es_error_message %}

{{ es_error_message }}

{% else %}

Index counts at the time this page was loaded:

{% for stats_name, stats_count in doctype_stats.items %}
{{ stats_name }}
{{ stats_count }}
{% endfor %}
{% endif %}

Reindex

You should have to do this only when the search mapping changes or when setting up the site for the first time.

If the old index isn't compatible with the new code, you should waffle Sphinx on first.

{% csrf_token %}
{% if progress %}

Reindexing is currently in progress:

{{ progress }} {% endif %}
{% endblock %}