You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@lucene.apache.org by no...@apache.org on 2017/01/05 14:45:20 UTC

lucene-solr:apiv2: SOLR-8029: delete shard parameters added

Repository: lucene-solr
Updated Branches:
  refs/heads/apiv2 8c5836668 -> 1fc35c136


SOLR-8029: delete shard parameters added


Project: http://git-wip-us.apache.org/repos/asf/lucene-solr/repo
Commit: http://git-wip-us.apache.org/repos/asf/lucene-solr/commit/1fc35c13
Tree: http://git-wip-us.apache.org/repos/asf/lucene-solr/tree/1fc35c13
Diff: http://git-wip-us.apache.org/repos/asf/lucene-solr/diff/1fc35c13

Branch: refs/heads/apiv2
Commit: 1fc35c136a953d8cd8ff12cfdffa328040320d73
Parents: 8c58366
Author: Noble Paul <no...@apache.org>
Authored: Fri Jan 6 01:15:11 2017 +1030
Committer: Noble Paul <no...@apache.org>
Committed: Fri Jan 6 01:15:11 2017 +1030

----------------------------------------------------------------------
 .../collections.collection.shards.shard.delete.json | 16 +++++++++++++++-
 1 file changed, 15 insertions(+), 1 deletion(-)
----------------------------------------------------------------------


http://git-wip-us.apache.org/repos/asf/lucene-solr/blob/1fc35c13/solr/core/src/resources/apispec/collections.collection.shards.shard.delete.json
----------------------------------------------------------------------
diff --git a/solr/core/src/resources/apispec/collections.collection.shards.shard.delete.json b/solr/core/src/resources/apispec/collections.collection.shards.shard.delete.json
index 67a6323..53c7965 100644
--- a/solr/core/src/resources/apispec/collections.collection.shards.shard.delete.json
+++ b/solr/core/src/resources/apispec/collections.collection.shards.shard.delete.json
@@ -8,6 +8,20 @@
     "paths": [
       "/collections/{collection}/shards/{shard}",
       "/c/{collection}/shards/{shard}"
-    ]
+    ],
+    "params":{
+      "deleteInstanceDir":{
+        "type": "boolean",
+        "description":"By default Solr will delete the entire instanceDir of each replica that is deleted. Set this to false to prevent the instance directory from being deleted."
+      },
+      "deleteDataDir":{
+        "type":"boolean",
+        "description":"y default Solr will delete the dataDir of each replica that is deleted. Set this to false to prevent the data directory from being deleted."
+      },
+      "async": {
+        "type": "string",
+        "description": "Defines a request ID that can be used to track this action after it's submitted. The action will be processed asynchronously when this is defined. This command can be long-running, so running it asynchronously is recommended."
+      }
+    }
   }
 }