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 2016/09/16 14:04:40 UTC
lucene-solr:apiv2: SOLR-8029: cleaning up specs
Repository: lucene-solr
Updated Branches:
refs/heads/apiv2 befedca2d -> db0483215
SOLR-8029: cleaning up specs
Project: http://git-wip-us.apache.org/repos/asf/lucene-solr/repo
Commit: http://git-wip-us.apache.org/repos/asf/lucene-solr/commit/db048321
Tree: http://git-wip-us.apache.org/repos/asf/lucene-solr/tree/db048321
Diff: http://git-wip-us.apache.org/repos/asf/lucene-solr/diff/db048321
Branch: refs/heads/apiv2
Commit: db048321565bbc2cfa92192372c782659ff21521
Parents: befedca
Author: Noble Paul <no...@apache.org>
Authored: Fri Sep 16 19:34:30 2016 +0530
Committer: Noble Paul <no...@apache.org>
Committed: Fri Sep 16 19:34:30 2016 +0530
----------------------------------------------------------------------
.../collections.collection.Commands.reload.json | 6 ++--
.../src/resources/apispec/cores.Commands.json | 7 +++--
.../src/resources/apispec/cores.Status.json | 2 +-
.../resources/apispec/cores.core.Commands.json | 30 +++++++++++++++++---
4 files changed, 35 insertions(+), 10 deletions(-)
----------------------------------------------------------------------
http://git-wip-us.apache.org/repos/asf/lucene-solr/blob/db048321/solr/core/src/resources/apispec/collections.collection.Commands.reload.json
----------------------------------------------------------------------
diff --git a/solr/core/src/resources/apispec/collections.collection.Commands.reload.json b/solr/core/src/resources/apispec/collections.collection.Commands.reload.json
index 6547e1d..da89a04 100644
--- a/solr/core/src/resources/apispec/collections.collection.Commands.reload.json
+++ b/solr/core/src/resources/apispec/collections.collection.Commands.reload.json
@@ -2,9 +2,9 @@
"documentation": "https://cwiki.apache.org/confluence/display/solr/Collections+API#CollectionsAPI-api2",
"type" : "object",
"properties":{
- "async" : {
- "type" : "string"
-
+ "async": {
+ "type": "string",
+ "description": "Request ID to track this action which will be processed asynchronously"
}
}
}
\ No newline at end of file
http://git-wip-us.apache.org/repos/asf/lucene-solr/blob/db048321/solr/core/src/resources/apispec/cores.Commands.json
----------------------------------------------------------------------
diff --git a/solr/core/src/resources/apispec/cores.Commands.json b/solr/core/src/resources/apispec/cores.Commands.json
index 6a994f8..6a2d469 100644
--- a/solr/core/src/resources/apispec/cores.Commands.json
+++ b/solr/core/src/resources/apispec/cores.Commands.json
@@ -63,11 +63,14 @@
"numShards": {
"type":"number",
"description":"NO:of shards"
+ },
+ "async": {
+ "type": "string",
+ "description": "Request ID to track this action which will be processed asynchronously"
}
},
"required": [
- "name",
- "configset"
+ "name"
]
}
}
http://git-wip-us.apache.org/repos/asf/lucene-solr/blob/db048321/solr/core/src/resources/apispec/cores.Status.json
----------------------------------------------------------------------
diff --git a/solr/core/src/resources/apispec/cores.Status.json b/solr/core/src/resources/apispec/cores.Status.json
index d2b0603..64b38cf 100644
--- a/solr/core/src/resources/apispec/cores.Status.json
+++ b/solr/core/src/resources/apispec/cores.Status.json
@@ -12,7 +12,7 @@
"indexInfo": {
"type": "boolean",
"description": "return index info",
- "default": false
+ "default": true
}
}
}
http://git-wip-us.apache.org/repos/asf/lucene-solr/blob/db048321/solr/core/src/resources/apispec/cores.core.Commands.json
----------------------------------------------------------------------
diff --git a/solr/core/src/resources/apispec/cores.core.Commands.json b/solr/core/src/resources/apispec/cores.core.Commands.json
index 32d49cf..682a706 100644
--- a/solr/core/src/resources/apispec/cores.core.Commands.json
+++ b/solr/core/src/resources/apispec/cores.core.Commands.json
@@ -1,5 +1,5 @@
{
- "documentation": "https://cwiki.apache.org",
+ "documentation": "https://cwiki.apache.org/confluence/display/solr/CoreAdmin+API",
"methods": [
"POST"
],
@@ -19,6 +19,10 @@
"with": {
"type": "string",
"description": "The other core name"
+ },
+ "async": {
+ "type": "string",
+ "description": "Request ID to track this action which will be processed asynchronously"
}
},
"required": [
@@ -51,6 +55,10 @@
"deleteInstanceDir": {
"type": "boolean",
"description": ""
+ },
+ "async": {
+ "type": "string",
+ "description": "Request ID to track this action which will be processed asynchronously"
}
}
},
@@ -80,16 +88,30 @@
},
"request-recovery": {
"type":"object",
- "additionalProperties":true
+ "additionalProperties": true,
+ "description": "Internal API"
+
},
"forceprepareforleadership": {
"type": "object",
- "additionalProperties": true
+ "additionalProperties": true,
+ "description": "Internal API"
},
"split": "cores.core.Commands.split",
"preprecovery": {
"type": "object",
- "additionalProperties": true
+ "additionalProperties": true,
+ "description": "Internal API"
+ },
+ "requestapplyupdates": {
+ "type": "object",
+ "additionalProperties": true,
+ "description": "Internal API"
+ },
+ "requestbufferupdates": {
+ "type": "object",
+ "additionalProperties": true,
+ "description": "Internal API"
}
}
}