drush search-api-clearfor drush 8x

Clear one or all search indexes and mark them for re-indexing.

drush search-api-clear

search-api-clear is a Drush command from the search_api project.

  • Aliases

    search-api-clear has 1 alias/es:

    drush sapi-c

  • Arguments

    search-api-clear accepts 1 argument/s:

    index_id : The numeric ID or machine name of an index.

  • Examples

    Clear all search indexes.

    drush searchapi-clear

    Alias to clear all search indexes.

    drush sapi-c

    Clear the search index with the ID 1.

    drush sapi-c 1

    Clear the search index with the machine name default_node_index.

    drush sapi-c default_node_index

  • Comments

    comments powered by Disqus