drush search-api:clearfor drush 9x


Clears one or all search indexes and marks them for reindexing.

drush search-api:clear

  • Aliases


    search-api:clear has 2 alias/es:


    drush sapi-c

    drush search-api-clear

  • Arguments


    search-api:clear accepts 1 argument/s:


    indexId : The machine name of an index. Optional. If missed all search indexes will be cleared.

  • Options


    search-api:clear accepts 3 option/s:


    --notify

    --notify : notify

    --druplicon

    --druplicon : druplicon

    --xh-link

    --xh-link : xh-link

  • Examples


    Clear all search indexes.

    drush search-api:clear

    Alias to clear all search indexes.

    drush sapi-c

    Clear the search index with the ID node_index.

    drush sapi-c node_index

  • Comments


    comments powered by Disqus