The Apache Solr Search module includes a group of Drush commands you can use to work with your search environments. The following list includes several useful commands:
Command | Description |
---|---|
| Deletes the content from the index (can accept content types as parameters). |
| Retrieve the default Apache Solr environment ID, or all environment IDs and names. |
| Retrieve the Apache Solr environment name. |
| Retrieve the Apache Solr environment URL. |
| Re-indexes the content marked for re-indexing. |
| Marks content for re-indexing (can accept content types as parameters). |
| Search the website for keywords using Apache Solr. |
| Retrieve the URL of an Apache Solr environment. |
| Delete an Apache Solr environment variable. |
| Retrieve a list of Apache Solr environment variable names and values. |
| Retrieve an Apache Solr environment variable. |
| Sets an environment to be active for Acquia Search using a specific derived key—you must use your Acquia Identifier and Network Key to set the number. You can find those numbers on the Acquia Network Subscription page, under Acquia Network keys. |
For more information about the preceding commands, run drush help
from
the command line of your application where Acquia Search is installed.