Skip to content

Commit

Permalink
#700 add muliprocessing reindex
Browse files Browse the repository at this point in the history
  • Loading branch information
kindly authored and wardi committed Jul 15, 2013
1 parent 178d290 commit 479aee4
Showing 1 changed file with 5 additions and 7 deletions.
12 changes: 5 additions & 7 deletions ckan/lib/cli.py
Expand Up @@ -317,13 +317,11 @@ def version(self):
class SearchIndexCommand(CkanCommand):
'''Creates a search index for all datasets
Usage:
search-index [-i] [-o] [-r] [-e] rebuild [dataset_name] - reindex dataset_name if given, if not then rebuild
full search index (all datasets)
search-index check - checks for datasets not indexed
search-index show DATASET_NAME - shows index of a dataset
search-index clear [dataset_name] - clears the search index for the provided dataset or
for the whole ckan instance
search-index [-i] [-o] [-r] [-e] rebuild [dataset-name] - reindex dataset-name if given, if not then rebuild full search index (all datasets)
search-index rebuild_fast - reindex using multiprocessing using all cores. This acts in the same way as rubuild -r [EXPERIMENTAL]
search-index check - checks for datasets not indexed
search-index show {dataset-name} - shows index of a dataset
search-index clear [dataset-name] - clears the search index for the provided dataset or for the whole ckan instance
'''

summary = __doc__.split('\n')[0]
Expand Down

0 comments on commit 479aee4

Please sign in to comment.