--- label: 'Managing the search index' related: - search.overview - search.configuring --- {% set cron_topic = render_var(help_topic_link('core.cron')) %} {% set search_settings = render_var(url('entity.search_page.collection')) %}

{% trans %}Goal{% endtrans %}

{% trans %}Manage the search index, and make sure that the site is fully indexed for searching.{% endtrans %}

{% trans %}What is the search index?{% endtrans %}

{% trans %}The Content and Help search types provided by the core software pre-index their content and store the results in several database tables that are collectively called the search index. The process of indexing renders the content and breaks it up into words, which can then be matched more efficiently with keyword queries when users perform searches. Search indexing happens during cron runs; see {{ cron_topic }} for more information about cron.{% endtrans %}

{% trans %}Steps{% endtrans %}

  1. {% trans %}In the Manage administrative menu, navigate to Configuration > Search and Metadata > Search pages.{% endtrans %}
  2. {% trans %}Under Indexing throttle, select the Number of items to index per cron run. A smaller number will make cron faster and reduce the possibility of timeout; a larger number will make sure more of your site is indexed in fewer cron runs.{% endtrans %}
  3. {% trans %}Under Default indexing settings, enter the desired Minimum word length to index. Words smaller than this length will be dropped from both keywords when searching and content when indexing.{% endtrans %}
  4. {% trans %}If your site uses Chinese, Japanese, or Korean languages, optionally check Simple CJK handling under Default indexing settings to provide some support for these languages.{% endtrans %}
  5. {% trans %}Click Save configuration, and you should be returned to the Search pages page.{% endtrans %}
  6. {% trans %}Click Re-index site if you have changed the indexing configuration, or later on, if you believe that the search index has been corrupted.{% endtrans %}
  7. {% trans %}Follow the steps in {{ cron_topic }} to make sure a cron task has been configured.{% endtrans %}
  8. {% trans %}After waiting for cron to run several times, verify that the content has been fully indexed for searching. The overall status is listed under Indexing progress, and the status for each search page is shown in the Indexing progress column of the Search pages section.{% endtrans %}