function apachesolr_drush_help in Apache Solr Search 6.2
Same name and namespace in other branches
- 8 drush/apachesolr.drush.inc \apachesolr_drush_help()
- 5.2 apachesolr.drush.inc \apachesolr_drush_help()
- 6.3 drush/apachesolr.drush.inc \apachesolr_drush_help()
- 6 drush/apachesolr.drush.inc \apachesolr_drush_help()
- 7 drush/apachesolr.drush.inc \apachesolr_drush_help()
Implementation of hook_drush_help().
This function is called whenever a drush user calls 'drush help <name-of-your-command>'
Parameters
A string with the help section (prepend with 'drush:'):
Return value
A string with the help text for your command.
File
- drush/
apachesolr.drush.inc, line 80 - drush integration for apachesolr.
Code
function apachesolr_drush_help($section) {
switch ($section) {
case 'drush:solr-delete-index':
return dt("Used without parameters, this command deletes the entire Solr index. Used with parameters for content type, it deletes just the content types that are specified. After the index has been deleted, all content will be indexed again on future cron runs.");
case 'drush:solr-reindex':
return dt("Used without parameters, this command marks all of the content in the Solr index for reindexing. Used with paramters for content type, it marks just the content types that are specified. Reindexing is different than deleting as the content is still searchable while it is in queue to be reindexed. Reindexing is done on future cron runs.");
case 'drush:solr-index':
return dt("Reindexes content marked for (re)indexing. If you want to reindex all content or content of a specific type, use solr-reindex first to mark that content.");
case 'drush:solr-phpclient':
return dt("Downloads the SolrPhpClient libraray from googlecode.com. Include the optional path to an apachesolr module installation if you have more than one, or if the module is not yet enabled.");
case 'drush:solr-search':
return dt('Executes a search against the site\'s Apache Solr search index and returns the restults.');
}
}