drush search-api-set-index-serverfor drush 7x


Set the search server used by a given index.

drush search-api-set-index-server

search-api-set-index-server is a Drush command from the search_api project.

search_api
  • Aliases


    search-api-set-index-server has 1 alias/es:


    drush sapi-sis

  • Arguments


    search-api-set-index-server accepts 2 argument/s:


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

    server_id : The numeric ID or machine name of a server to set on the index.

  • Examples


    Set the default_node_index index to use the my_solr_server server.

    drush search-api-set-index-server default_node_index my_solr_server

    Alias to set the default_node_index index to use the my_solr_server server.

    drush sapi-sis default_node_index my_solr_server

  • Comments


    comments powered by Disqus