From 506834193ebcb3ec531782cdf1ade571efd058ef Mon Sep 17 00:00:00 2001 From: Abdullah Almsaeed Date: Thu, 1 Feb 2018 13:46:46 -0500 Subject: [PATCH] Add maange queues section --- docs/README.md | 1 + docs/manage_queues.md | 8 ++++++++ 2 files changed, 9 insertions(+) create mode 100644 docs/manage_queues.md diff --git a/docs/README.md b/docs/README.md index 3da35c59..ad193b9e 100644 --- a/docs/README.md +++ b/docs/README.md @@ -11,6 +11,7 @@ Tripal Elasticsearch Documentation - [Building Custom Indices](custom-indices.md) - [Building Search Forms](forms.md) - [Cross Site Searching](cross-site-search.md) +- [Deleting Indices and Queues](manage_queues.md) - [Elasticsearch Daemon](daemon.md) *COMING SOON* ## Developers Handbook *(under development)* diff --git a/docs/manage_queues.md b/docs/manage_queues.md new file mode 100644 index 00000000..a48e8795 --- /dev/null +++ b/docs/manage_queues.md @@ -0,0 +1,8 @@ +**Previous Section:** [Cross Site Searching](cross-site-search.md) + +### Cancelling the Indexing Process +Deleting an index does not guarantee that the indexing stops. This is a limitation caused by Drupal's queue system where +they will keep executing if not explicitly deleted. Therefore, before deleting an index using the Tripal Elasticsearch, +you should delete all queues that contain the name elasticsearch. To do so, visit `/admin/config/system/queue-ui`, check +all relevant queues and press the `delete queues` button. After that, go to the manage indices page +(at `/admin/tripal/extension/tripal_elasticsearch/indices`) and delete the index. \ No newline at end of file