meilisearch/Resources/Private/Templates/Backend/Search/IndexAdministrationModule/Index.html

73 lines
2.6 KiB
HTML
Raw Normal View History

2021-04-17 21:20:54 +02:00
{namespace meilisearch=WapplerSystems\Meilisearch\ViewHelpers}
2021-04-17 00:26:33 +02:00
<f:layout name="Backend/WithPageTree"/>
<f:section name="Main">
2021-04-17 21:20:54 +02:00
<f:be.pageRenderer includeRequireJsModules="{0:'TYPO3/CMS/Meilisearch/FormModal'}"/>
2021-04-17 00:26:33 +02:00
<div class="row">
<div class="col-xs-12">
2021-04-17 21:20:54 +02:00
<h1>{f:translate(key: 'meilisearch.backend.index_administration.label', default: 'Index Administration')}</h1>
<p class="lead"><f:translate key="meilisearch.backend.index_administration.description" /></p>
2021-04-17 00:26:33 +02:00
</div>
</div>
<h3>Reload Core Configuration</h3>
<div class="row">
<div class="col-xs-3">
<f:form action="reloadIndexConfiguration">
<f:form.submit value="Reload Configuration" class="btn btn-sm btn-default" />
</f:form>
</div>
<div class="col-xs-9 action-description">
<p>
2021-04-17 21:20:54 +02:00
A core in Meilisearch is what holds your index. When changing core/index configuration
2021-04-17 00:26:33 +02:00
such as synonyms, stop words, or protected words you need to reload the core
to make the changes become active. To reload configuration you can either restart
2021-04-17 21:20:54 +02:00
the whole Meilisearch server or simply reload a specific core.
2021-04-17 00:26:33 +02:00
Here you can reload the site's cores/indexes.
</p>
</div>
</div>
<h3>Empty Index</h3>
<div class="row">
<div class="col-xs-3">
<f:form action="emptyIndex" method="POST">
<f:form.submit class="btn btn-sm btn-default btn-danger t3js-modal-formsubmit-trigger"
2021-04-17 21:20:54 +02:00
data="{title: 'Please confirm', content: 'Are you sure you want to clear the index? All Meilisearch documents will be removed.', severity: 'warning'}"
2021-04-17 00:26:33 +02:00
value="Empty Index"/>
</f:form>
</div>
<div class="col-xs-9 action-description">
<p>
This will simply empty the site's index. When doing so it will take
care of
only deleting the currently selected site's documents even if
you index multiple sites into one index.
</p>
</div>
</div>
<h3>
2021-04-17 21:20:54 +02:00
<f:translate key="meilisearch.backend.index_queue_module.button.clear_index_queue"/>
2021-04-17 00:26:33 +02:00
</h3>
<div class="row">
<div class="col-xs-3">
<f:form action="clearIndexQueue" method="POST">
<f:form.submit class="btn btn-sm btn-default btn-danger t3js-modal-formsubmit-trigger"
data="{title: 'Please confirm', content: 'Are you sure you want to clear the Index Queue?', severity: 'warning'}"
2021-04-17 21:20:54 +02:00
value="{f:translate(key:'meilisearch.backend.index_queue_module.button.clear_index_queue')}"/>
2021-04-17 00:26:33 +02:00
</f:form>
</div>
<div class="col-xs-9 action-description">
<p>
This will empty the Index Queue. It will take care of only deleting
the currently selected site's Index Queue entries.
You will have to re-initialize the Index Queue afterwards.
</p>
</div>
</div>
</f:section>