lucene-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From no...@apache.org
Subject [2/3] lucene-solr git commit: SOLR-8029 renamed class/dirs and removed the 'v2' part
Date Thu, 11 Feb 2016 21:11:08 GMT
http://git-wip-us.apache.org/repos/asf/lucene-solr/blob/3cfebd53/solr/core/src/java/org/apache/solr/v2api/V2Api.java
----------------------------------------------------------------------
diff --git a/solr/core/src/java/org/apache/solr/v2api/V2Api.java b/solr/core/src/java/org/apache/solr/v2api/V2Api.java
deleted file mode 100644
index 031a1cd..0000000
--- a/solr/core/src/java/org/apache/solr/v2api/V2Api.java
+++ /dev/null
@@ -1,39 +0,0 @@
-package org.apache.solr.v2api;
-
-/*
- * Licensed to the Apache Software Foundation (ASF) under one or more
- * contributor license agreements.  See the NOTICE file distributed with
- * this work for additional information regarding copyright ownership.
- * The ASF licenses this file to You under the Apache License, Version 2.0
- * (the "License"); you may not use this file except in compliance with
- * the License.  You may obtain a copy of the License at
- *
- *     http://www.apache.org/licenses/LICENSE-2.0
- *
- * Unless required by applicable law or agreed to in writing, software
- * distributed under the License is distributed on an "AS IS" BASIS,
- * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
- * See the License for the specific language governing permissions and
- * limitations under the License.
- */
-
-
-import org.apache.solr.common.util.Lookup;
-import org.apache.solr.common.util.Map2;
-
-public abstract class V2Api implements SpecProvider {
-  protected Map2 spec;
-
-  protected V2Api(Map2 spec) {
-    this.spec = spec;
-  }
-
-
-  public abstract void call(V2RequestContext ctx);
-
-  @Override
-  public Map2 getSpec() {
-    return spec;
-  }
-
-}

http://git-wip-us.apache.org/repos/asf/lucene-solr/blob/3cfebd53/solr/core/src/java/org/apache/solr/v2api/V2ApiSupport.java
----------------------------------------------------------------------
diff --git a/solr/core/src/java/org/apache/solr/v2api/V2ApiSupport.java b/solr/core/src/java/org/apache/solr/v2api/V2ApiSupport.java
deleted file mode 100644
index fa86b7b..0000000
--- a/solr/core/src/java/org/apache/solr/v2api/V2ApiSupport.java
+++ /dev/null
@@ -1,33 +0,0 @@
-package org.apache.solr.v2api;
-
-/*
- * Licensed to the Apache Software Foundation (ASF) under one or more
- * contributor license agreements.  See the NOTICE file distributed with
- * this work for additional information regarding copyright ownership.
- * The ASF licenses this file to You under the Apache License, Version 2.0
- * (the "License"); you may not use this file except in compliance with
- * the License.  You may obtain a copy of the License at
- *
- *     http://www.apache.org/licenses/LICENSE-2.0
- *
- * Unless required by applicable law or agreed to in writing, software
- * distributed under the License is distributed on an "AS IS" BASIS,
- * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
- * See the License for the specific language governing permissions and
- * limitations under the License.
- */
-
-import java.util.Collection;
-
-import org.apache.solr.common.util.Lookup;
-import org.apache.solr.common.util.Map2;
-
-public interface V2ApiSupport {
-
-  Collection<V2Api> getApis();
-
-
-  default boolean registerAutomatically() {
-    return true;
-  }
-}

http://git-wip-us.apache.org/repos/asf/lucene-solr/blob/3cfebd53/solr/core/src/java/org/apache/solr/v2api/V2HttpCall.java
----------------------------------------------------------------------
diff --git a/solr/core/src/java/org/apache/solr/v2api/V2HttpCall.java b/solr/core/src/java/org/apache/solr/v2api/V2HttpCall.java
index 185f208..9357e2d 100644
--- a/solr/core/src/java/org/apache/solr/v2api/V2HttpCall.java
+++ b/solr/core/src/java/org/apache/solr/v2api/V2HttpCall.java
@@ -68,7 +68,7 @@ import static org.apache.solr.servlet.SolrDispatchFilter.Action.PROCESS;
 
 public class V2HttpCall extends HttpSolrCall {
   private static final Logger log = LoggerFactory.getLogger(MethodHandles.lookup().lookupClass());
-  private V2Api api;
+  private Api api;
   private List<String> pieces;
   private String prefix;
   HashMap<String, String> parts = new HashMap<>();
@@ -166,12 +166,12 @@ public class V2HttpCall extends HttpSolrCall {
     return collection;
   }
 
-  public static V2Api getApiInfo(PluginBag<SolrRequestHandler> requestHandlers,
+  public static Api getApiInfo(PluginBag<SolrRequestHandler> requestHandlers,
                                  String path, String method,
                                  CoreContainer cores, String prefix, String fullPath,
                                  Map<String, String> parts) {
     if (fullPath == null) fullPath = path;
-    V2Api api;
+    Api api;
     boolean containerHandlerLookup = cores.getRequestHandlers() == requestHandlers;
     api = requestHandlers.v2lookup(path, method, parts);
     if (api == null && path.endsWith(ApiBag.INTROSPECT)) {
@@ -205,7 +205,7 @@ public class V2HttpCall extends HttpSolrCall {
 
   private static void getSubPaths(String path, ApiBag bag, Map<String, Set<String>> pathsVsMethod) {
     for (SolrRequest.METHOD m : SolrRequest.METHOD.values()) {
-      PathTrie<V2Api> registry = bag.getRegistry(m.toString());
+      PathTrie<Api> registry = bag.getRegistry(m.toString());
       if (registry != null) {
         HashSet<String> subPaths = new HashSet<>();
         registry.lookup(path, new HashMap<>(), subPaths);
@@ -218,20 +218,20 @@ public class V2HttpCall extends HttpSolrCall {
     }
   }
 
-  private static V2Api mergeIntrospect(PluginBag<SolrRequestHandler> requestHandlers,
+  private static Api mergeIntrospect(PluginBag<SolrRequestHandler> requestHandlers,
                                        String path, String method, Map<String, String> parts) {
-    V2Api api;
-    final Map<String, V2Api> apis = new LinkedHashMap<>();
+    Api api;
+    final Map<String, Api> apis = new LinkedHashMap<>();
     for (String m : SolrRequest.SUPPORTED_METHODS) {
       api = requestHandlers.v2lookup(path, m, parts);
       if (api != null) apis.put(m, api);
     }
-    api = new V2Api(ApiBag.INTROSPECT_SPEC) {
+    api = new Api(ApiBag.INTROSPECT_SPEC) {
       @Override
       public void call(V2RequestContext ctx) {
         String method = ctx.getSolrRequest().getParams().get("method");
-        Set<V2Api> added = new HashSet<>();
-        for (Map.Entry<String, V2Api> e : apis.entrySet()) {
+        Set<Api> added = new HashSet<>();
+        for (Map.Entry<String, Api> e : apis.entrySet()) {
           if (method == null || e.getKey().equals(ctx.getHttpMethod())) {
             if (!added.contains(e.getValue())) {
               e.getValue().call(ctx);
@@ -244,8 +244,8 @@ public class V2HttpCall extends HttpSolrCall {
     return api;
   }
 
-  private static V2Api getSubPathImpl(final Map<String, Set<String>> subpaths, String path) {
-    return new V2Api(Map2.EMPTY) {
+  private static Api getSubPathImpl(final Map<String, Set<String>> subpaths, String path) {
+    return new Api(Map2.EMPTY) {
       @Override
       public void call(V2RequestContext ctx) {
         ctx.getResponse().add("msg", "Invalid path, try the following");

http://git-wip-us.apache.org/repos/asf/lucene-solr/blob/3cfebd53/solr/core/src/resources/apispec/cluster.json
----------------------------------------------------------------------
diff --git a/solr/core/src/resources/apispec/cluster.json b/solr/core/src/resources/apispec/cluster.json
new file mode 100644
index 0000000..bb52f98
--- /dev/null
+++ b/solr/core/src/resources/apispec/cluster.json
@@ -0,0 +1,17 @@
+{
+  "cluster": {
+    "documentation": "https://cwiki.apache.org/confluence/display/solr/Config+API",
+    "methods": ["GET"],
+    "url": {
+      "paths": [
+        "/cluster",
+        "/cluster/overseer",
+        "/cluster/nodes",
+        "/cluster/command-status",
+        "/cluster/command-status/{id}",
+        "/cluster/command-status/{id}"
+      ]
+    },
+    "body": null
+  }
+}

http://git-wip-us.apache.org/repos/asf/lucene-solr/blob/3cfebd53/solr/core/src/resources/apispec/cluster.security.BasicAuth.json
----------------------------------------------------------------------
diff --git a/solr/core/src/resources/apispec/cluster.security.BasicAuth.json b/solr/core/src/resources/apispec/cluster.security.BasicAuth.json
new file mode 100644
index 0000000..44d536c
--- /dev/null
+++ b/solr/core/src/resources/apispec/cluster.security.BasicAuth.json
@@ -0,0 +1,25 @@
+{
+  "cluster.security.BasicAuth": {
+    "documentation": "https://cwiki.apache.org",
+    "methods": [
+      "POST",
+      "GET"
+    ],
+    "url": {
+      "paths": [
+        "/cluster/security/authentication"
+      ]
+    },
+    "commands": {
+      "set-user": {
+        "description": "The set-user command allows you to add users and change their passwords",
+        "properties": {},
+        "additionalProperties": true
+      },
+      "delete-user": {
+        "description": "",
+        "type": "list"
+      }
+    }
+  }
+}
\ No newline at end of file

http://git-wip-us.apache.org/repos/asf/lucene-solr/blob/3cfebd53/solr/core/src/resources/apispec/cluster.security.RuleBasedAuthorization.json
----------------------------------------------------------------------
diff --git a/solr/core/src/resources/apispec/cluster.security.RuleBasedAuthorization.json b/solr/core/src/resources/apispec/cluster.security.RuleBasedAuthorization.json
new file mode 100644
index 0000000..4d28fec
--- /dev/null
+++ b/solr/core/src/resources/apispec/cluster.security.RuleBasedAuthorization.json
@@ -0,0 +1,56 @@
+{
+  "cluster.security.RuleBasedAuthorization": {
+    "documentation": "https://cwiki.apache.org",
+    "methods": [
+      "POST",
+      "GET"
+    ],
+    "url": {
+      "paths": [
+        "/cluster/security/authorization"
+      ]
+    },
+    "commands": {
+      "set-permission": {
+        "description": "create a new permission, overwrite an existing permission definition, or assign a pre-defined permission to a role.",
+        "properties": {
+          "name":{
+            "type":"string",
+            "description":""
+          },
+          "method":{
+            "type":"string",
+            "description":""
+          },
+
+          "collection":{
+            "type":"list",
+            "description":""
+          },
+
+          "path":{
+            "type":"list",
+            "description":""
+          },
+          "before":{
+            "type":"string",
+            "description":""
+          },
+          "params":{
+            "type":"object",
+            "properties":{},
+            "additionalProperties":true,
+            "description":""
+          }
+        },
+        "required":["name","role"]
+      },
+      "set-user-role": {
+        "description": "A single command allows roles to be mapped to users. To remove a user's permission, you should set the role to null. The key is always a user id and the value is one or more role names",
+        "properties":{},
+        "additionalProperties":true
+
+      }
+    }
+  }
+}
\ No newline at end of file

http://git-wip-us.apache.org/repos/asf/lucene-solr/blob/3cfebd53/solr/core/src/resources/apispec/cluster.security.authentication.json
----------------------------------------------------------------------
diff --git a/solr/core/src/resources/apispec/cluster.security.authentication.json b/solr/core/src/resources/apispec/cluster.security.authentication.json
new file mode 100644
index 0000000..4f55c4f
--- /dev/null
+++ b/solr/core/src/resources/apispec/cluster.security.authentication.json
@@ -0,0 +1,15 @@
+{
+  "cluster.security.authentication": {
+    "documentation": "https://cwiki.apache.org",
+    "methods": [
+      "POST",
+      "GET"
+    ],
+    "url": {
+      "paths": [
+        "/cluster/security/authentication"
+      ]
+    }
+
+  }
+}
\ No newline at end of file

http://git-wip-us.apache.org/repos/asf/lucene-solr/blob/3cfebd53/solr/core/src/resources/apispec/cluster.security.authorization.json
----------------------------------------------------------------------
diff --git a/solr/core/src/resources/apispec/cluster.security.authorization.json b/solr/core/src/resources/apispec/cluster.security.authorization.json
new file mode 100644
index 0000000..c5b08ea
--- /dev/null
+++ b/solr/core/src/resources/apispec/cluster.security.authorization.json
@@ -0,0 +1,15 @@
+{
+  "cluster.security.authorization": {
+    "documentation": "https://cwiki.apache.org",
+    "methods": [
+      "POST",
+      "GET"
+    ],
+    "url": {
+      "paths": [
+        "/cluster/security/authorization"
+      ]
+    }
+
+  }
+}
\ No newline at end of file

http://git-wip-us.apache.org/repos/asf/lucene-solr/blob/3cfebd53/solr/core/src/resources/apispec/collections.Commands.json
----------------------------------------------------------------------
diff --git a/solr/core/src/resources/apispec/collections.Commands.json b/solr/core/src/resources/apispec/collections.Commands.json
new file mode 100644
index 0000000..c5a194d
--- /dev/null
+++ b/solr/core/src/resources/apispec/collections.Commands.json
@@ -0,0 +1,82 @@
+{
+  "collections.Commands": {
+    "documentation": "https://cwiki.apache.org/confluence/display/solr/Collections+API#CollectionsAPI-api1",
+    "methods": [
+      "POST",
+      "GET"
+    ],
+    "url": {
+      "paths": [
+        "/collections",
+        "/c"
+      ]
+    },
+    "commands": {
+      "create": {
+        "properties": {
+          "name": {
+            "type": "string",
+            "description": ""
+          },
+          "config": {
+            "type": "string",
+            "description": ""
+          },
+          "router": {
+            "type": "object",
+            "properties": {
+              "name": {
+              },
+              "field": {
+              }
+            }
+          },
+          "numShards": {
+            "type": "string",
+            "description": ""
+          },
+          "shards": {
+            "type": "string",
+            "description": ""
+          },
+          "replicationFactor": {
+            "type": "string",
+            "description": ""
+          },
+          "createNodeSet": {
+            "type": "string",
+            "description": ""
+          },
+          "autoAddReplicas": {
+            "type": "boolean",
+            "description": ""
+          },
+          "rule": {
+            "type": "list",
+            "description":""
+
+          },
+          "snitch": {
+            "type": "list",
+            "description":""
+          }
+        },
+        "required":["name"]
+      },
+      "create-alias":{
+        "properties": {
+          "name": {
+            "type": "string",
+            "description": "The alias name to be created"
+          },
+          "collections" :{
+            "type":"list",
+            "description":"The list of collections to be aliased"
+          }
+        },
+        "required" : ["name","collections"]
+      },
+      "delete-alias":{}
+    }
+  }
+}
\ No newline at end of file

http://git-wip-us.apache.org/repos/asf/lucene-solr/blob/3cfebd53/solr/core/src/resources/apispec/collections.collection.Commands.json
----------------------------------------------------------------------
diff --git a/solr/core/src/resources/apispec/collections.collection.Commands.json b/solr/core/src/resources/apispec/collections.collection.Commands.json
new file mode 100644
index 0000000..9566787
--- /dev/null
+++ b/solr/core/src/resources/apispec/collections.collection.Commands.json
@@ -0,0 +1,19 @@
+{
+  "collections.collection.Commands": {
+    "documentation": "https://cwiki.apache.org",
+    "methods": [
+      "POST",
+      "DELETE"
+    ],
+    "url": {
+      "paths": [
+        "/collections/{collection}",
+        "/c/{collection}"
+      ]
+    },
+    "commands": {
+      "modify": "collections.collection.Commands.modify",
+      "reload": "collections.collection.Commands.reload"
+    }
+  }
+}
\ No newline at end of file

http://git-wip-us.apache.org/repos/asf/lucene-solr/blob/3cfebd53/solr/core/src/resources/apispec/collections.collection.Commands.modify.json
----------------------------------------------------------------------
diff --git a/solr/core/src/resources/apispec/collections.collection.Commands.modify.json b/solr/core/src/resources/apispec/collections.collection.Commands.modify.json
new file mode 100644
index 0000000..b78e79d
--- /dev/null
+++ b/solr/core/src/resources/apispec/collections.collection.Commands.modify.json
@@ -0,0 +1,6 @@
+{
+  "additionalProperties":true,
+  "properties":{
+
+  }
+}
\ No newline at end of file

http://git-wip-us.apache.org/repos/asf/lucene-solr/blob/3cfebd53/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
new file mode 100644
index 0000000..7d53e5b
--- /dev/null
+++ b/solr/core/src/resources/apispec/collections.collection.Commands.reload.json
@@ -0,0 +1,3 @@
+{
+  "additionalProperties" : true
+}
\ No newline at end of file

http://git-wip-us.apache.org/repos/asf/lucene-solr/blob/3cfebd53/solr/core/src/resources/apispec/collections.collection.shards.Commands.json
----------------------------------------------------------------------
diff --git a/solr/core/src/resources/apispec/collections.collection.shards.Commands.json b/solr/core/src/resources/apispec/collections.collection.shards.Commands.json
new file mode 100644
index 0000000..97bb22d
--- /dev/null
+++ b/solr/core/src/resources/apispec/collections.collection.shards.Commands.json
@@ -0,0 +1,21 @@
+{
+  "collections.collection.shards.Commands": {
+    "documentation": "https://cwiki.apache.org",
+    "methods": [
+      "GET",
+      "POST"
+    ],
+    "url": {
+      "paths": [
+        "/collections/{collection}/shards",
+        "/c/{collection}/shards"
+      ]
+    },
+    "commands": {
+      "create": {
+        "properties":{},
+        "additionalProperties":true
+      }
+    }
+  }
+}
\ No newline at end of file

http://git-wip-us.apache.org/repos/asf/lucene-solr/blob/3cfebd53/solr/core/src/resources/apispec/collections.collection.shards.shard.Commands.json
----------------------------------------------------------------------
diff --git a/solr/core/src/resources/apispec/collections.collection.shards.shard.Commands.json b/solr/core/src/resources/apispec/collections.collection.shards.shard.Commands.json
new file mode 100644
index 0000000..fceaeeb
--- /dev/null
+++ b/solr/core/src/resources/apispec/collections.collection.shards.shard.Commands.json
@@ -0,0 +1,28 @@
+{
+  "collections.collection.shards.shard.Commands": {
+    "documentation": "https://cwiki.apache.org",
+    "methods": [
+      "POST",
+      "GET",
+      "DELETE"
+    ],
+    "url": {
+      "paths": [
+        "/collections/{collection}/shards/{shard}",
+        "/c/{collection}/shards/{shard}"
+      ]
+    },
+    "commands": {
+      "split": {
+        "properties": {},
+        "additionalProperties": true
+      },
+      "add-replica": {
+        "additionalProperties": true
+      },
+      "force-leader": {
+        "additionalProperties": true
+      }
+    }
+  }
+}
\ No newline at end of file

http://git-wip-us.apache.org/repos/asf/lucene-solr/blob/3cfebd53/solr/core/src/resources/apispec/collections.collection.shards.shard.replica.Commands.json
----------------------------------------------------------------------
diff --git a/solr/core/src/resources/apispec/collections.collection.shards.shard.replica.Commands.json b/solr/core/src/resources/apispec/collections.collection.shards.shard.replica.Commands.json
new file mode 100644
index 0000000..e7a43d5
--- /dev/null
+++ b/solr/core/src/resources/apispec/collections.collection.shards.shard.replica.Commands.json
@@ -0,0 +1,20 @@
+{
+  "collections.collection.shards.shard.replica.Commands": {
+    "documentation": "https://cwiki.apache.org",
+    "methods": [
+      "GET",
+      "POST"
+    ],
+    "url": {
+      "paths": [
+        "/collections/{collection}/shards/{shard}/{replica}",
+        "/c/{collection}/shards/{shard}/{replica}"
+      ]
+    },
+    "commands": {
+      "set": {
+        "additionalProperties": true
+      }
+    }
+  }
+}
\ No newline at end of file

http://git-wip-us.apache.org/repos/asf/lucene-solr/blob/3cfebd53/solr/core/src/resources/apispec/collections.collection.shards.shard.replica.delete.json
----------------------------------------------------------------------
diff --git a/solr/core/src/resources/apispec/collections.collection.shards.shard.replica.delete.json b/solr/core/src/resources/apispec/collections.collection.shards.shard.replica.delete.json
new file mode 100644
index 0000000..6f1243d
--- /dev/null
+++ b/solr/core/src/resources/apispec/collections.collection.shards.shard.replica.delete.json
@@ -0,0 +1,23 @@
+{
+  "collections.collection.shards.shard.replica.delete": {
+    "documentation": "https://cwiki.apache.org",
+    "methods": [
+      "DELETE"
+    ],
+    "url": {
+      "paths": [
+        "/collections/{collection}/shards/{shard}/{replica}",
+        "/c/{collection}/shards/{shard}/{replica}"
+      ],
+      "params":{
+        "onlyIfDown" : {
+          "type":"boolean",
+          "default":false,
+          "description":""
+        }
+      }
+
+    }
+
+  }
+}
\ No newline at end of file

http://git-wip-us.apache.org/repos/asf/lucene-solr/blob/3cfebd53/solr/core/src/resources/apispec/core.ConfigEdit.json
----------------------------------------------------------------------
diff --git a/solr/core/src/resources/apispec/core.ConfigEdit.json b/solr/core/src/resources/apispec/core.ConfigEdit.json
new file mode 100644
index 0000000..0146809
--- /dev/null
+++ b/solr/core/src/resources/apispec/core.ConfigEdit.json
@@ -0,0 +1,115 @@
+{
+  "core.ConfigEdit": {
+    "documentation": "https://cwiki.apache.org/confluence/display/solr/Schema+API",
+    "methods": [
+      "POST"
+    ],
+    "url": {
+      "paths": [
+        "$handlerName",
+        "$handlerName/params"
+      ]
+    },
+    "commands": {
+      "add-requesthandler": {
+        "additionalProperties": true
+      },
+      "update-requesthandler": {
+        "additionalProperties": true
+      },
+      "delete-requesthandler": {
+        "additionalProperties": true
+      },
+      "add-searchcomponent": {
+        "additionalProperties": true
+      },
+      "update-searchcomponent": {
+        "additionalProperties": true
+      },
+      "delete-searchcomponent": {
+        "additionalProperties": true
+      },
+      "add-initparams": {
+        "additionalProperties": true
+      },
+      "update-initparams": {
+        "additionalProperties": true
+      },
+      "delete-initparams": {
+        "additionalProperties": true
+      },
+      "add-queryresponsewriter": {
+        "additionalProperties": true
+      },
+      "update-queryresponsewriter": {
+        "additionalProperties": true
+      },
+      "delete-queryresponsewriter": {
+        "additionalProperties": true
+      },
+      "add-queryparser": {
+        "additionalProperties": true
+      },
+      "update-queryparser": {
+        "additionalProperties": true
+      },
+      "delete-queryparser": {
+        "additionalProperties": true
+      },
+      "add-valuesourceparser": {
+        "additionalProperties": true
+      },
+      "update-valuesourceparser": {
+        "additionalProperties": true
+      },
+      "delete-valuesourceparser": {
+        "additionalProperties": true
+      },
+      "add-transformer": {
+        "additionalProperties": true
+      },
+      "update-transformer": {
+        "additionalProperties": true
+      },
+      "delete-transformer": {
+        "additionalProperties": true
+      },
+      "add-updateprocessor": {
+        "additionalProperties": true
+      },
+      "update-updateprocessor": {
+        "additionalProperties": true
+      },
+      "delete-updateprocessor": {
+        "additionalProperties": true
+      },
+      "add-queryconverter": {
+        "additionalProperties": true
+      },
+      "update-queryconverter": {
+        "additionalProperties": true
+      },
+      "delete-queryconverter": {
+        "additionalProperties": true
+      },
+      "add-listener": {
+        "additionalProperties": true
+      },
+      "update-listener": {
+        "additionalProperties": true
+      },
+      "delete-listener": {
+        "additionalProperties": true
+      },
+      "add-runtimelib": {
+        "additionalProperties": true
+      },
+      "update-runtimelib": {
+        "additionalProperties": true
+      },
+      "delete-runtimelib": {
+        "additionalProperties": true
+      }
+    }
+  }
+}
\ No newline at end of file

http://git-wip-us.apache.org/repos/asf/lucene-solr/blob/3cfebd53/solr/core/src/resources/apispec/core.ConfigRead.json
----------------------------------------------------------------------
diff --git a/solr/core/src/resources/apispec/core.ConfigRead.json b/solr/core/src/resources/apispec/core.ConfigRead.json
new file mode 100644
index 0000000..b86a5e4
--- /dev/null
+++ b/solr/core/src/resources/apispec/core.ConfigRead.json
@@ -0,0 +1,19 @@
+{
+  "core.ConfigRead": {
+    "documentation": "https://cwiki.apache.org/confluence/display/solr/Config+API",
+    "methods": ["GET"],
+    "url": {
+      "paths": [
+        "$handlerName",
+        "$handlerName/overlay",
+        "$handlerName/params",
+        "$handlerName/params",
+        "$handlerName/query",
+        "$handlerName/jmx",
+        "$handlerName/requestDispatcher",
+        "$handlerName/znodeVersion",
+        "$handlerName/{plugin}"
+      ] },
+    "body": null
+  }
+}

http://git-wip-us.apache.org/repos/asf/lucene-solr/blob/3cfebd53/solr/core/src/resources/apispec/core.RealtimeGet.json
----------------------------------------------------------------------
diff --git a/solr/core/src/resources/apispec/core.RealtimeGet.json b/solr/core/src/resources/apispec/core.RealtimeGet.json
new file mode 100644
index 0000000..20a1cfe
--- /dev/null
+++ b/solr/core/src/resources/apispec/core.RealtimeGet.json
@@ -0,0 +1,23 @@
+{
+  "core.RealtimeGet": {
+    "documentation": "https://cwiki.apache.org/confluence/display/solr/Schema+API",
+    "methods": ["GET"],
+    "url": {
+      "path": "/get",
+      "paths": [
+        "$handlerName",
+        "$handlerName/versions",
+        "$handlerName/updates"],
+      "params":{
+        "id" : {
+          "type":"string",
+          "description" :"one or more ids. Separate by commas if there are more than one"
+        },
+        "ids" : {
+          "type":"string",
+          "description" :"one or more ids. Separate by commas if there are more than one"
+        }
+      }
+    }
+  }
+}

http://git-wip-us.apache.org/repos/asf/lucene-solr/blob/3cfebd53/solr/core/src/resources/apispec/core.SchemaEdit.addCopyField.json
----------------------------------------------------------------------
diff --git a/solr/core/src/resources/apispec/core.SchemaEdit.addCopyField.json b/solr/core/src/resources/apispec/core.SchemaEdit.addCopyField.json
new file mode 100644
index 0000000..782efe2
--- /dev/null
+++ b/solr/core/src/resources/apispec/core.SchemaEdit.addCopyField.json
@@ -0,0 +1,4 @@
+{
+  "additionalProperties":true
+
+}
\ No newline at end of file

http://git-wip-us.apache.org/repos/asf/lucene-solr/blob/3cfebd53/solr/core/src/resources/apispec/core.SchemaEdit.addDynamicField.json
----------------------------------------------------------------------
diff --git a/solr/core/src/resources/apispec/core.SchemaEdit.addDynamicField.json b/solr/core/src/resources/apispec/core.SchemaEdit.addDynamicField.json
new file mode 100644
index 0000000..2fe97f4
--- /dev/null
+++ b/solr/core/src/resources/apispec/core.SchemaEdit.addDynamicField.json
@@ -0,0 +1,3 @@
+{
+  "additionalProperties":true
+}
\ No newline at end of file

http://git-wip-us.apache.org/repos/asf/lucene-solr/blob/3cfebd53/solr/core/src/resources/apispec/core.SchemaEdit.addField.json
----------------------------------------------------------------------
diff --git a/solr/core/src/resources/apispec/core.SchemaEdit.addField.json b/solr/core/src/resources/apispec/core.SchemaEdit.addField.json
new file mode 100644
index 0000000..bc28113
--- /dev/null
+++ b/solr/core/src/resources/apispec/core.SchemaEdit.addField.json
@@ -0,0 +1,4 @@
+{
+  "properties":{},
+  "additionalProperties": true
+}
\ No newline at end of file

http://git-wip-us.apache.org/repos/asf/lucene-solr/blob/3cfebd53/solr/core/src/resources/apispec/core.SchemaEdit.addFieldType.json
----------------------------------------------------------------------
diff --git a/solr/core/src/resources/apispec/core.SchemaEdit.addFieldType.json b/solr/core/src/resources/apispec/core.SchemaEdit.addFieldType.json
new file mode 100644
index 0000000..bc28113
--- /dev/null
+++ b/solr/core/src/resources/apispec/core.SchemaEdit.addFieldType.json
@@ -0,0 +1,4 @@
+{
+  "properties":{},
+  "additionalProperties": true
+}
\ No newline at end of file

http://git-wip-us.apache.org/repos/asf/lucene-solr/blob/3cfebd53/solr/core/src/resources/apispec/core.SchemaEdit.deleteCopyField.json
----------------------------------------------------------------------
diff --git a/solr/core/src/resources/apispec/core.SchemaEdit.deleteCopyField.json b/solr/core/src/resources/apispec/core.SchemaEdit.deleteCopyField.json
new file mode 100644
index 0000000..bc28113
--- /dev/null
+++ b/solr/core/src/resources/apispec/core.SchemaEdit.deleteCopyField.json
@@ -0,0 +1,4 @@
+{
+  "properties":{},
+  "additionalProperties": true
+}
\ No newline at end of file

http://git-wip-us.apache.org/repos/asf/lucene-solr/blob/3cfebd53/solr/core/src/resources/apispec/core.SchemaEdit.deleteDynamicField.json
----------------------------------------------------------------------
diff --git a/solr/core/src/resources/apispec/core.SchemaEdit.deleteDynamicField.json b/solr/core/src/resources/apispec/core.SchemaEdit.deleteDynamicField.json
new file mode 100644
index 0000000..2fe97f4
--- /dev/null
+++ b/solr/core/src/resources/apispec/core.SchemaEdit.deleteDynamicField.json
@@ -0,0 +1,3 @@
+{
+  "additionalProperties":true
+}
\ No newline at end of file

http://git-wip-us.apache.org/repos/asf/lucene-solr/blob/3cfebd53/solr/core/src/resources/apispec/core.SchemaEdit.deleteField.json
----------------------------------------------------------------------
diff --git a/solr/core/src/resources/apispec/core.SchemaEdit.deleteField.json b/solr/core/src/resources/apispec/core.SchemaEdit.deleteField.json
new file mode 100644
index 0000000..2fe97f4
--- /dev/null
+++ b/solr/core/src/resources/apispec/core.SchemaEdit.deleteField.json
@@ -0,0 +1,3 @@
+{
+  "additionalProperties":true
+}
\ No newline at end of file

http://git-wip-us.apache.org/repos/asf/lucene-solr/blob/3cfebd53/solr/core/src/resources/apispec/core.SchemaEdit.deleteFieldType.json
----------------------------------------------------------------------
diff --git a/solr/core/src/resources/apispec/core.SchemaEdit.deleteFieldType.json b/solr/core/src/resources/apispec/core.SchemaEdit.deleteFieldType.json
new file mode 100644
index 0000000..2fe97f4
--- /dev/null
+++ b/solr/core/src/resources/apispec/core.SchemaEdit.deleteFieldType.json
@@ -0,0 +1,3 @@
+{
+  "additionalProperties":true
+}
\ No newline at end of file

http://git-wip-us.apache.org/repos/asf/lucene-solr/blob/3cfebd53/solr/core/src/resources/apispec/core.SchemaEdit.json
----------------------------------------------------------------------
diff --git a/solr/core/src/resources/apispec/core.SchemaEdit.json b/solr/core/src/resources/apispec/core.SchemaEdit.json
new file mode 100644
index 0000000..59cdd5f
--- /dev/null
+++ b/solr/core/src/resources/apispec/core.SchemaEdit.json
@@ -0,0 +1,22 @@
+{
+  "core.SchemaEdit": {
+    "documentation": "https://cwiki.apache.org/confluence/display/solr/Schema+API",
+    "methods": ["POST"],
+    "url": {
+      "paths": ["$handlerName"]
+    },
+    "commands":{
+      "add-field":"core.SchemaEdit.addField",
+      "delete-field":"core.SchemaEdit.deleteField",
+      "replace-field":"core.SchemaEdit.replaceField",
+      "add-dynamic-field":"core.SchemaEdit.addDynamicField",
+      "delete-dynamic-field":"core.SchemaEdit.deleteDynamicField",
+      "replace-dynamic-field":"core.SchemaEdit.replaceDynamicField",
+      "add-field-type":"core.SchemaEdit.addFieldType",
+      "delete-field-type":"core.SchemaEdit.deleteFieldType",
+      "replace-field-type":"core.SchemaEdit.replaceFieldType",
+      "add-copy-field":"core.SchemaEdit.addCopyField",
+      "delete-copy-field":"core.SchemaEdit.deleteCopyField"
+    }
+  }
+}

http://git-wip-us.apache.org/repos/asf/lucene-solr/blob/3cfebd53/solr/core/src/resources/apispec/core.SchemaEdit.replaceDynamicField.json
----------------------------------------------------------------------
diff --git a/solr/core/src/resources/apispec/core.SchemaEdit.replaceDynamicField.json b/solr/core/src/resources/apispec/core.SchemaEdit.replaceDynamicField.json
new file mode 100644
index 0000000..2fe97f4
--- /dev/null
+++ b/solr/core/src/resources/apispec/core.SchemaEdit.replaceDynamicField.json
@@ -0,0 +1,3 @@
+{
+  "additionalProperties":true
+}
\ No newline at end of file

http://git-wip-us.apache.org/repos/asf/lucene-solr/blob/3cfebd53/solr/core/src/resources/apispec/core.SchemaEdit.replaceField.json
----------------------------------------------------------------------
diff --git a/solr/core/src/resources/apispec/core.SchemaEdit.replaceField.json b/solr/core/src/resources/apispec/core.SchemaEdit.replaceField.json
new file mode 100644
index 0000000..bc28113
--- /dev/null
+++ b/solr/core/src/resources/apispec/core.SchemaEdit.replaceField.json
@@ -0,0 +1,4 @@
+{
+  "properties":{},
+  "additionalProperties": true
+}
\ No newline at end of file

http://git-wip-us.apache.org/repos/asf/lucene-solr/blob/3cfebd53/solr/core/src/resources/apispec/core.SchemaEdit.replaceFieldType.json
----------------------------------------------------------------------
diff --git a/solr/core/src/resources/apispec/core.SchemaEdit.replaceFieldType.json b/solr/core/src/resources/apispec/core.SchemaEdit.replaceFieldType.json
new file mode 100644
index 0000000..2fe97f4
--- /dev/null
+++ b/solr/core/src/resources/apispec/core.SchemaEdit.replaceFieldType.json
@@ -0,0 +1,3 @@
+{
+  "additionalProperties":true
+}
\ No newline at end of file

http://git-wip-us.apache.org/repos/asf/lucene-solr/blob/3cfebd53/solr/core/src/resources/apispec/core.SchemaRead.copyFields.json
----------------------------------------------------------------------
diff --git a/solr/core/src/resources/apispec/core.SchemaRead.copyFields.json b/solr/core/src/resources/apispec/core.SchemaRead.copyFields.json
new file mode 100644
index 0000000..338affd
--- /dev/null
+++ b/solr/core/src/resources/apispec/core.SchemaRead.copyFields.json
@@ -0,0 +1,23 @@
+{
+  "core.SchemaRead.copyFields": {
+    "documentation": "https://cwiki.apache.org/confluence/display/solr/Schema+API",
+    "methods": [
+      "GET"
+    ],
+    "url": {
+      "paths": [
+        "$handlerName/copyfields",
+        "$handlerName/copyfields/{name}"
+      ],
+      "params": {
+        "source.fl" :{
+          "type":"string",
+          "description":"Comma- or space-separated list of one or more copyField source fields to include in the response - copyField directives with all other source fields will be excluded from the response. If not specified, all copyField-s will be included in the response"},
+        "dest.fl" :{
+          "type":"string",
+          "description":"Comma- or space-separated list of one or more copyField dest fields to include in the response - copyField directives with all other dest fields will be excluded. If not specified, all copyField-s will be included in the response."}
+      }
+    },
+    "body": null
+  }
+}

http://git-wip-us.apache.org/repos/asf/lucene-solr/blob/3cfebd53/solr/core/src/resources/apispec/core.SchemaRead.fields.json
----------------------------------------------------------------------
diff --git a/solr/core/src/resources/apispec/core.SchemaRead.fields.json b/solr/core/src/resources/apispec/core.SchemaRead.fields.json
new file mode 100644
index 0000000..1b6f924
--- /dev/null
+++ b/solr/core/src/resources/apispec/core.SchemaRead.fields.json
@@ -0,0 +1,31 @@
+{
+  "core.SchemaRead.fields": {
+    "documentation": "https://cwiki.apache.org/confluence/display/solr/Schema+API",
+    "methods": [
+      "GET"
+    ],
+    "url": {
+      "paths": [
+        "/$handlerName/fields",
+        "/$handlerName/fields/{name}",
+        "/$handlerName/dynamicfields",
+        "/$handlerName/dynamicfields/{name}",
+        "/$handlerName/fieldtypes/",
+        "/$handlerName/fieldtypes/{name}"
+      ],
+      "params": {
+        "includeDynamic" :{
+          "type":"boolean",
+          "description":"If true, and if the fl query parameter is specified or the fieldname path parameter is used, matching dynamic fields are included in the response and identified with the dynamicBase property. If neither the fl query parameter nor the fieldname path parameter is specified, the includeDynamic query parameter is ignored. If false, matching dynamic fields will not be returned.",
+          "default":false
+        },
+        "showDefaults" :{
+          "type":"boolean",
+          "description":"If true, all default field properties from each field's field type will be included in the response (e.g. tokenized for solr.TextField). If false, only explicitly specified field properties will be included.",
+          "default":false
+        }
+      }
+    },
+    "body": null
+  }
+}

http://git-wip-us.apache.org/repos/asf/lucene-solr/blob/3cfebd53/solr/core/src/resources/apispec/core.SchemaRead.json
----------------------------------------------------------------------
diff --git a/solr/core/src/resources/apispec/core.SchemaRead.json b/solr/core/src/resources/apispec/core.SchemaRead.json
new file mode 100644
index 0000000..b76070b
--- /dev/null
+++ b/solr/core/src/resources/apispec/core.SchemaRead.json
@@ -0,0 +1,25 @@
+{
+  "core.SchemaRead": {
+    "documentation": "https://cwiki.apache.org/confluence/display/solr$handlerName+API",
+    "methods": ["GET"],
+    "url": {
+      "paths": [
+        "$handlerName",
+        "$handlerName/name",
+        "$handlerName/uniquekey",
+        "$handlerName/version",
+        "$handlerName/similarity",
+        "$handlerName/solrqueryparser",
+        "$handlerName/zkversion",
+        "$handlerName/zkversion",
+        "$handlerName/solrqueryparser/defaultoperator",
+        "$handlerName/name",
+        "$handlerName/version",
+        "$handlerName/uniquekey",
+        "$handlerName/similarity",
+        "$handlerName/similarity"
+      ]
+    },
+    "body": null
+  }
+}

http://git-wip-us.apache.org/repos/asf/lucene-solr/blob/3cfebd53/solr/core/src/resources/apispec/core.Update.json
----------------------------------------------------------------------
diff --git a/solr/core/src/resources/apispec/core.Update.json b/solr/core/src/resources/apispec/core.Update.json
new file mode 100644
index 0000000..cf2c2ce
--- /dev/null
+++ b/solr/core/src/resources/apispec/core.Update.json
@@ -0,0 +1,19 @@
+{
+  "core.Update": {
+    "documentation": "https://cwiki.apache.org/confluence/display/solr/Schema+API",
+    "methods": [
+      "POST"
+    ],
+    "url": {
+      "path": "/update",
+      "paths": [
+        "/update",
+        "/update/xml",
+        "/update/csv",
+        "/update/json",
+        "/update/json/commands"
+      ]
+
+    }
+  }
+}
\ No newline at end of file

http://git-wip-us.apache.org/repos/asf/lucene-solr/blob/3cfebd53/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
new file mode 100644
index 0000000..784d9bf
--- /dev/null
+++ b/solr/core/src/resources/apispec/cores.Commands.json
@@ -0,0 +1,67 @@
+{
+  "cores.Commands": {
+    "documentation": "https://cwiki.apache.org",
+    "methods": [
+      "POST"
+    ],
+    "url": {
+      "path": "/cores",
+      "paths": [
+        "/cores"
+      ]
+    },
+    "commands": {
+      "create": {
+        "properties": {
+          "name": {
+            "type": "string",
+            "description": "The core name"
+          },
+          "instanceDir":{
+            "type": "string",
+            "description": "The core instance dir"
+          },
+          "schema": {
+            "type": "string",
+            "description": "The core name"
+          },
+          "dataDir": {
+            "type": "string",
+            "description": "The core name"
+          },
+          "configSet": {
+            "type": "string",
+            "description": "The configset name"
+          },
+          "loadOnStartup": {
+            "type": "boolean",
+            "description": "Load the core on startup"
+          },
+          "transient": {
+            "type": "boolean",
+            "description": "The core may be unloaded if required"
+          },
+          "shard": {
+            "type": "string",
+            "description": "In SolrCloud mode, which shard does this core belong to"
+          },
+          "collection": {
+            "type": "string",
+            "description": "The collection where this core belongs to"
+          },
+          "props":{
+            "type":"object",
+            "additionalProperties": true
+          },
+          "coreNodeName": {
+            "type":"string",
+            "description":"The replica name"
+          },
+          "numShards": {
+          }
+        },
+        "required":["name","configset"]
+      }
+    }
+  }
+}
\ No newline at end of file

http://git-wip-us.apache.org/repos/asf/lucene-solr/blob/3cfebd53/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
new file mode 100644
index 0000000..0bf41aa
--- /dev/null
+++ b/solr/core/src/resources/apispec/cores.Status.json
@@ -0,0 +1,23 @@
+{
+  "cores.Status": {
+    "documentation": "https://cwiki.apache.org",
+    "methods": [
+      "GET"
+    ],
+    "url": {
+      "path": "/cores",
+      "paths": [
+        "/cores",
+        "/cores/{core}/status"
+      ],
+      "params": {
+        "indexInfo": {
+          "type": "boolean",
+          "description": "return index info",
+          "default": false
+        }
+      }
+    },
+    "body": null
+  }
+}

http://git-wip-us.apache.org/repos/asf/lucene-solr/blob/3cfebd53/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
new file mode 100644
index 0000000..c8181b2
--- /dev/null
+++ b/solr/core/src/resources/apispec/cores.core.Commands.json
@@ -0,0 +1,36 @@
+{
+  "cores.core.Commands": {
+    "documentation": "https://cwiki.apache.org",
+    "methods": [
+      "POST"
+    ],
+    "url": {
+      "path": "/cores/{core}",
+      "paths": [
+        "/cores/{core}"
+      ]
+    },
+    "commands": {
+      "reload": {
+        "properties": {}
+      },
+      "unload":{
+        "properties": {}
+      },
+      "swap": {
+        "properties": {
+          "with" : {
+            "type":"string",
+            "description":"The other core name"
+          }
+        },
+        "required":["with"]
+      },
+      "merge-indexes": {
+        "properties": {}
+      },
+      "request-recovery": {},
+      "split":"cores.core.Commands.split"
+    }
+  }
+}
\ No newline at end of file

http://git-wip-us.apache.org/repos/asf/lucene-solr/blob/3cfebd53/solr/core/src/resources/apispec/cores.core.Commands.requestRecovery.json
----------------------------------------------------------------------
diff --git a/solr/core/src/resources/apispec/cores.core.Commands.requestRecovery.json b/solr/core/src/resources/apispec/cores.core.Commands.requestRecovery.json
new file mode 100644
index 0000000..f5fff5b
--- /dev/null
+++ b/solr/core/src/resources/apispec/cores.core.Commands.requestRecovery.json
@@ -0,0 +1,4 @@
+{
+  "properties": {},
+  "additionalProperties": true
+}
\ No newline at end of file

http://git-wip-us.apache.org/repos/asf/lucene-solr/blob/3cfebd53/solr/core/src/resources/apispec/cores.core.Commands.split.json
----------------------------------------------------------------------
diff --git a/solr/core/src/resources/apispec/cores.core.Commands.split.json b/solr/core/src/resources/apispec/cores.core.Commands.split.json
new file mode 100644
index 0000000..8f2512d
--- /dev/null
+++ b/solr/core/src/resources/apispec/cores.core.Commands.split.json
@@ -0,0 +1,3 @@
+{
+  "properties":{}
+}
\ No newline at end of file

http://git-wip-us.apache.org/repos/asf/lucene-solr/blob/3cfebd53/solr/core/src/resources/apispec/cores.json
----------------------------------------------------------------------
diff --git a/solr/core/src/resources/apispec/cores.json b/solr/core/src/resources/apispec/cores.json
new file mode 100644
index 0000000..4157df1
--- /dev/null
+++ b/solr/core/src/resources/apispec/cores.json
@@ -0,0 +1,22 @@
+{
+  "cores": {
+    "documentation": "https://cwiki.apache.org",
+    "methods": [
+      "GET"
+    ],
+    "url": {
+      "path": "/cores",
+      "paths": [
+        "/cores"
+      ],
+      "params": {
+        "indexInfo": {
+          "type": "boolean",
+          "description": "return index info",
+          "default": false
+        }
+      }
+    },
+    "body": null
+  }
+}

http://git-wip-us.apache.org/repos/asf/lucene-solr/blob/3cfebd53/solr/core/src/resources/apispec/emptySpec.json
----------------------------------------------------------------------
diff --git a/solr/core/src/resources/apispec/emptySpec.json b/solr/core/src/resources/apispec/emptySpec.json
new file mode 100644
index 0000000..0c5125b
--- /dev/null
+++ b/solr/core/src/resources/apispec/emptySpec.json
@@ -0,0 +1,15 @@
+{
+  "emptySpec": {
+    "documentation": "https://cwiki.apache.org/confluence/display/solr/Schema+API",
+    "methods": [
+      "GET",
+      "POST"
+    ],
+    "url": {
+      "path": "$handlerName",
+      "paths": [
+        "$handlerName"
+      ]
+    }
+  }
+}
\ No newline at end of file

http://git-wip-us.apache.org/repos/asf/lucene-solr/blob/3cfebd53/solr/core/src/resources/apispec/node.Info.json
----------------------------------------------------------------------
diff --git a/solr/core/src/resources/apispec/node.Info.json b/solr/core/src/resources/apispec/node.Info.json
new file mode 100644
index 0000000..687b6b6
--- /dev/null
+++ b/solr/core/src/resources/apispec/node.Info.json
@@ -0,0 +1,14 @@
+{
+  "node.Info": {
+    "documentation": "https://cwiki.apache.org/confluence/display/solr/Schema+API",
+    "methods": ["GET"],
+    "url": {
+      "path": "/node",
+      "paths": [
+        "/node/properties",
+        "/node/threads",
+        "/node/logging",
+        "/node/system"]
+    }
+  }
+}
\ No newline at end of file

http://git-wip-us.apache.org/repos/asf/lucene-solr/blob/3cfebd53/solr/core/src/resources/v2apispec/cluster.json
----------------------------------------------------------------------
diff --git a/solr/core/src/resources/v2apispec/cluster.json b/solr/core/src/resources/v2apispec/cluster.json
deleted file mode 100644
index bb52f98..0000000
--- a/solr/core/src/resources/v2apispec/cluster.json
+++ /dev/null
@@ -1,17 +0,0 @@
-{
-  "cluster": {
-    "documentation": "https://cwiki.apache.org/confluence/display/solr/Config+API",
-    "methods": ["GET"],
-    "url": {
-      "paths": [
-        "/cluster",
-        "/cluster/overseer",
-        "/cluster/nodes",
-        "/cluster/command-status",
-        "/cluster/command-status/{id}",
-        "/cluster/command-status/{id}"
-      ]
-    },
-    "body": null
-  }
-}

http://git-wip-us.apache.org/repos/asf/lucene-solr/blob/3cfebd53/solr/core/src/resources/v2apispec/cluster.security.BasicAuth.json
----------------------------------------------------------------------
diff --git a/solr/core/src/resources/v2apispec/cluster.security.BasicAuth.json b/solr/core/src/resources/v2apispec/cluster.security.BasicAuth.json
deleted file mode 100644
index 44d536c..0000000
--- a/solr/core/src/resources/v2apispec/cluster.security.BasicAuth.json
+++ /dev/null
@@ -1,25 +0,0 @@
-{
-  "cluster.security.BasicAuth": {
-    "documentation": "https://cwiki.apache.org",
-    "methods": [
-      "POST",
-      "GET"
-    ],
-    "url": {
-      "paths": [
-        "/cluster/security/authentication"
-      ]
-    },
-    "commands": {
-      "set-user": {
-        "description": "The set-user command allows you to add users and change their passwords",
-        "properties": {},
-        "additionalProperties": true
-      },
-      "delete-user": {
-        "description": "",
-        "type": "list"
-      }
-    }
-  }
-}
\ No newline at end of file

http://git-wip-us.apache.org/repos/asf/lucene-solr/blob/3cfebd53/solr/core/src/resources/v2apispec/cluster.security.RuleBasedAuthorization.json
----------------------------------------------------------------------
diff --git a/solr/core/src/resources/v2apispec/cluster.security.RuleBasedAuthorization.json b/solr/core/src/resources/v2apispec/cluster.security.RuleBasedAuthorization.json
deleted file mode 100644
index 4d28fec..0000000
--- a/solr/core/src/resources/v2apispec/cluster.security.RuleBasedAuthorization.json
+++ /dev/null
@@ -1,56 +0,0 @@
-{
-  "cluster.security.RuleBasedAuthorization": {
-    "documentation": "https://cwiki.apache.org",
-    "methods": [
-      "POST",
-      "GET"
-    ],
-    "url": {
-      "paths": [
-        "/cluster/security/authorization"
-      ]
-    },
-    "commands": {
-      "set-permission": {
-        "description": "create a new permission, overwrite an existing permission definition, or assign a pre-defined permission to a role.",
-        "properties": {
-          "name":{
-            "type":"string",
-            "description":""
-          },
-          "method":{
-            "type":"string",
-            "description":""
-          },
-
-          "collection":{
-            "type":"list",
-            "description":""
-          },
-
-          "path":{
-            "type":"list",
-            "description":""
-          },
-          "before":{
-            "type":"string",
-            "description":""
-          },
-          "params":{
-            "type":"object",
-            "properties":{},
-            "additionalProperties":true,
-            "description":""
-          }
-        },
-        "required":["name","role"]
-      },
-      "set-user-role": {
-        "description": "A single command allows roles to be mapped to users. To remove a user's permission, you should set the role to null. The key is always a user id and the value is one or more role names",
-        "properties":{},
-        "additionalProperties":true
-
-      }
-    }
-  }
-}
\ No newline at end of file

http://git-wip-us.apache.org/repos/asf/lucene-solr/blob/3cfebd53/solr/core/src/resources/v2apispec/cluster.security.authentication.json
----------------------------------------------------------------------
diff --git a/solr/core/src/resources/v2apispec/cluster.security.authentication.json b/solr/core/src/resources/v2apispec/cluster.security.authentication.json
deleted file mode 100644
index 4f55c4f..0000000
--- a/solr/core/src/resources/v2apispec/cluster.security.authentication.json
+++ /dev/null
@@ -1,15 +0,0 @@
-{
-  "cluster.security.authentication": {
-    "documentation": "https://cwiki.apache.org",
-    "methods": [
-      "POST",
-      "GET"
-    ],
-    "url": {
-      "paths": [
-        "/cluster/security/authentication"
-      ]
-    }
-
-  }
-}
\ No newline at end of file

http://git-wip-us.apache.org/repos/asf/lucene-solr/blob/3cfebd53/solr/core/src/resources/v2apispec/cluster.security.authorization.json
----------------------------------------------------------------------
diff --git a/solr/core/src/resources/v2apispec/cluster.security.authorization.json b/solr/core/src/resources/v2apispec/cluster.security.authorization.json
deleted file mode 100644
index c5b08ea..0000000
--- a/solr/core/src/resources/v2apispec/cluster.security.authorization.json
+++ /dev/null
@@ -1,15 +0,0 @@
-{
-  "cluster.security.authorization": {
-    "documentation": "https://cwiki.apache.org",
-    "methods": [
-      "POST",
-      "GET"
-    ],
-    "url": {
-      "paths": [
-        "/cluster/security/authorization"
-      ]
-    }
-
-  }
-}
\ No newline at end of file

http://git-wip-us.apache.org/repos/asf/lucene-solr/blob/3cfebd53/solr/core/src/resources/v2apispec/collections.Commands.json
----------------------------------------------------------------------
diff --git a/solr/core/src/resources/v2apispec/collections.Commands.json b/solr/core/src/resources/v2apispec/collections.Commands.json
deleted file mode 100644
index c5a194d..0000000
--- a/solr/core/src/resources/v2apispec/collections.Commands.json
+++ /dev/null
@@ -1,82 +0,0 @@
-{
-  "collections.Commands": {
-    "documentation": "https://cwiki.apache.org/confluence/display/solr/Collections+API#CollectionsAPI-api1",
-    "methods": [
-      "POST",
-      "GET"
-    ],
-    "url": {
-      "paths": [
-        "/collections",
-        "/c"
-      ]
-    },
-    "commands": {
-      "create": {
-        "properties": {
-          "name": {
-            "type": "string",
-            "description": ""
-          },
-          "config": {
-            "type": "string",
-            "description": ""
-          },
-          "router": {
-            "type": "object",
-            "properties": {
-              "name": {
-              },
-              "field": {
-              }
-            }
-          },
-          "numShards": {
-            "type": "string",
-            "description": ""
-          },
-          "shards": {
-            "type": "string",
-            "description": ""
-          },
-          "replicationFactor": {
-            "type": "string",
-            "description": ""
-          },
-          "createNodeSet": {
-            "type": "string",
-            "description": ""
-          },
-          "autoAddReplicas": {
-            "type": "boolean",
-            "description": ""
-          },
-          "rule": {
-            "type": "list",
-            "description":""
-
-          },
-          "snitch": {
-            "type": "list",
-            "description":""
-          }
-        },
-        "required":["name"]
-      },
-      "create-alias":{
-        "properties": {
-          "name": {
-            "type": "string",
-            "description": "The alias name to be created"
-          },
-          "collections" :{
-            "type":"list",
-            "description":"The list of collections to be aliased"
-          }
-        },
-        "required" : ["name","collections"]
-      },
-      "delete-alias":{}
-    }
-  }
-}
\ No newline at end of file

http://git-wip-us.apache.org/repos/asf/lucene-solr/blob/3cfebd53/solr/core/src/resources/v2apispec/collections.collection.Commands.json
----------------------------------------------------------------------
diff --git a/solr/core/src/resources/v2apispec/collections.collection.Commands.json b/solr/core/src/resources/v2apispec/collections.collection.Commands.json
deleted file mode 100644
index 9566787..0000000
--- a/solr/core/src/resources/v2apispec/collections.collection.Commands.json
+++ /dev/null
@@ -1,19 +0,0 @@
-{
-  "collections.collection.Commands": {
-    "documentation": "https://cwiki.apache.org",
-    "methods": [
-      "POST",
-      "DELETE"
-    ],
-    "url": {
-      "paths": [
-        "/collections/{collection}",
-        "/c/{collection}"
-      ]
-    },
-    "commands": {
-      "modify": "collections.collection.Commands.modify",
-      "reload": "collections.collection.Commands.reload"
-    }
-  }
-}
\ No newline at end of file

http://git-wip-us.apache.org/repos/asf/lucene-solr/blob/3cfebd53/solr/core/src/resources/v2apispec/collections.collection.Commands.modify.json
----------------------------------------------------------------------
diff --git a/solr/core/src/resources/v2apispec/collections.collection.Commands.modify.json b/solr/core/src/resources/v2apispec/collections.collection.Commands.modify.json
deleted file mode 100644
index b78e79d..0000000
--- a/solr/core/src/resources/v2apispec/collections.collection.Commands.modify.json
+++ /dev/null
@@ -1,6 +0,0 @@
-{
-  "additionalProperties":true,
-  "properties":{
-
-  }
-}
\ No newline at end of file

http://git-wip-us.apache.org/repos/asf/lucene-solr/blob/3cfebd53/solr/core/src/resources/v2apispec/collections.collection.Commands.reload.json
----------------------------------------------------------------------
diff --git a/solr/core/src/resources/v2apispec/collections.collection.Commands.reload.json b/solr/core/src/resources/v2apispec/collections.collection.Commands.reload.json
deleted file mode 100644
index 7d53e5b..0000000
--- a/solr/core/src/resources/v2apispec/collections.collection.Commands.reload.json
+++ /dev/null
@@ -1,3 +0,0 @@
-{
-  "additionalProperties" : true
-}
\ No newline at end of file

http://git-wip-us.apache.org/repos/asf/lucene-solr/blob/3cfebd53/solr/core/src/resources/v2apispec/collections.collection.shards.Commands.json
----------------------------------------------------------------------
diff --git a/solr/core/src/resources/v2apispec/collections.collection.shards.Commands.json b/solr/core/src/resources/v2apispec/collections.collection.shards.Commands.json
deleted file mode 100644
index 97bb22d..0000000
--- a/solr/core/src/resources/v2apispec/collections.collection.shards.Commands.json
+++ /dev/null
@@ -1,21 +0,0 @@
-{
-  "collections.collection.shards.Commands": {
-    "documentation": "https://cwiki.apache.org",
-    "methods": [
-      "GET",
-      "POST"
-    ],
-    "url": {
-      "paths": [
-        "/collections/{collection}/shards",
-        "/c/{collection}/shards"
-      ]
-    },
-    "commands": {
-      "create": {
-        "properties":{},
-        "additionalProperties":true
-      }
-    }
-  }
-}
\ No newline at end of file

http://git-wip-us.apache.org/repos/asf/lucene-solr/blob/3cfebd53/solr/core/src/resources/v2apispec/collections.collection.shards.shard.Commands.json
----------------------------------------------------------------------
diff --git a/solr/core/src/resources/v2apispec/collections.collection.shards.shard.Commands.json b/solr/core/src/resources/v2apispec/collections.collection.shards.shard.Commands.json
deleted file mode 100644
index fceaeeb..0000000
--- a/solr/core/src/resources/v2apispec/collections.collection.shards.shard.Commands.json
+++ /dev/null
@@ -1,28 +0,0 @@
-{
-  "collections.collection.shards.shard.Commands": {
-    "documentation": "https://cwiki.apache.org",
-    "methods": [
-      "POST",
-      "GET",
-      "DELETE"
-    ],
-    "url": {
-      "paths": [
-        "/collections/{collection}/shards/{shard}",
-        "/c/{collection}/shards/{shard}"
-      ]
-    },
-    "commands": {
-      "split": {
-        "properties": {},
-        "additionalProperties": true
-      },
-      "add-replica": {
-        "additionalProperties": true
-      },
-      "force-leader": {
-        "additionalProperties": true
-      }
-    }
-  }
-}
\ No newline at end of file

http://git-wip-us.apache.org/repos/asf/lucene-solr/blob/3cfebd53/solr/core/src/resources/v2apispec/collections.collection.shards.shard.replica.Commands.json
----------------------------------------------------------------------
diff --git a/solr/core/src/resources/v2apispec/collections.collection.shards.shard.replica.Commands.json b/solr/core/src/resources/v2apispec/collections.collection.shards.shard.replica.Commands.json
deleted file mode 100644
index e7a43d5..0000000
--- a/solr/core/src/resources/v2apispec/collections.collection.shards.shard.replica.Commands.json
+++ /dev/null
@@ -1,20 +0,0 @@
-{
-  "collections.collection.shards.shard.replica.Commands": {
-    "documentation": "https://cwiki.apache.org",
-    "methods": [
-      "GET",
-      "POST"
-    ],
-    "url": {
-      "paths": [
-        "/collections/{collection}/shards/{shard}/{replica}",
-        "/c/{collection}/shards/{shard}/{replica}"
-      ]
-    },
-    "commands": {
-      "set": {
-        "additionalProperties": true
-      }
-    }
-  }
-}
\ No newline at end of file

http://git-wip-us.apache.org/repos/asf/lucene-solr/blob/3cfebd53/solr/core/src/resources/v2apispec/collections.collection.shards.shard.replica.delete.json
----------------------------------------------------------------------
diff --git a/solr/core/src/resources/v2apispec/collections.collection.shards.shard.replica.delete.json b/solr/core/src/resources/v2apispec/collections.collection.shards.shard.replica.delete.json
deleted file mode 100644
index 6f1243d..0000000
--- a/solr/core/src/resources/v2apispec/collections.collection.shards.shard.replica.delete.json
+++ /dev/null
@@ -1,23 +0,0 @@
-{
-  "collections.collection.shards.shard.replica.delete": {
-    "documentation": "https://cwiki.apache.org",
-    "methods": [
-      "DELETE"
-    ],
-    "url": {
-      "paths": [
-        "/collections/{collection}/shards/{shard}/{replica}",
-        "/c/{collection}/shards/{shard}/{replica}"
-      ],
-      "params":{
-        "onlyIfDown" : {
-          "type":"boolean",
-          "default":false,
-          "description":""
-        }
-      }
-
-    }
-
-  }
-}
\ No newline at end of file

http://git-wip-us.apache.org/repos/asf/lucene-solr/blob/3cfebd53/solr/core/src/resources/v2apispec/core.ConfigEdit.json
----------------------------------------------------------------------
diff --git a/solr/core/src/resources/v2apispec/core.ConfigEdit.json b/solr/core/src/resources/v2apispec/core.ConfigEdit.json
deleted file mode 100644
index 0146809..0000000
--- a/solr/core/src/resources/v2apispec/core.ConfigEdit.json
+++ /dev/null
@@ -1,115 +0,0 @@
-{
-  "core.ConfigEdit": {
-    "documentation": "https://cwiki.apache.org/confluence/display/solr/Schema+API",
-    "methods": [
-      "POST"
-    ],
-    "url": {
-      "paths": [
-        "$handlerName",
-        "$handlerName/params"
-      ]
-    },
-    "commands": {
-      "add-requesthandler": {
-        "additionalProperties": true
-      },
-      "update-requesthandler": {
-        "additionalProperties": true
-      },
-      "delete-requesthandler": {
-        "additionalProperties": true
-      },
-      "add-searchcomponent": {
-        "additionalProperties": true
-      },
-      "update-searchcomponent": {
-        "additionalProperties": true
-      },
-      "delete-searchcomponent": {
-        "additionalProperties": true
-      },
-      "add-initparams": {
-        "additionalProperties": true
-      },
-      "update-initparams": {
-        "additionalProperties": true
-      },
-      "delete-initparams": {
-        "additionalProperties": true
-      },
-      "add-queryresponsewriter": {
-        "additionalProperties": true
-      },
-      "update-queryresponsewriter": {
-        "additionalProperties": true
-      },
-      "delete-queryresponsewriter": {
-        "additionalProperties": true
-      },
-      "add-queryparser": {
-        "additionalProperties": true
-      },
-      "update-queryparser": {
-        "additionalProperties": true
-      },
-      "delete-queryparser": {
-        "additionalProperties": true
-      },
-      "add-valuesourceparser": {
-        "additionalProperties": true
-      },
-      "update-valuesourceparser": {
-        "additionalProperties": true
-      },
-      "delete-valuesourceparser": {
-        "additionalProperties": true
-      },
-      "add-transformer": {
-        "additionalProperties": true
-      },
-      "update-transformer": {
-        "additionalProperties": true
-      },
-      "delete-transformer": {
-        "additionalProperties": true
-      },
-      "add-updateprocessor": {
-        "additionalProperties": true
-      },
-      "update-updateprocessor": {
-        "additionalProperties": true
-      },
-      "delete-updateprocessor": {
-        "additionalProperties": true
-      },
-      "add-queryconverter": {
-        "additionalProperties": true
-      },
-      "update-queryconverter": {
-        "additionalProperties": true
-      },
-      "delete-queryconverter": {
-        "additionalProperties": true
-      },
-      "add-listener": {
-        "additionalProperties": true
-      },
-      "update-listener": {
-        "additionalProperties": true
-      },
-      "delete-listener": {
-        "additionalProperties": true
-      },
-      "add-runtimelib": {
-        "additionalProperties": true
-      },
-      "update-runtimelib": {
-        "additionalProperties": true
-      },
-      "delete-runtimelib": {
-        "additionalProperties": true
-      }
-    }
-  }
-}
\ No newline at end of file

http://git-wip-us.apache.org/repos/asf/lucene-solr/blob/3cfebd53/solr/core/src/resources/v2apispec/core.ConfigRead.json
----------------------------------------------------------------------
diff --git a/solr/core/src/resources/v2apispec/core.ConfigRead.json b/solr/core/src/resources/v2apispec/core.ConfigRead.json
deleted file mode 100644
index b86a5e4..0000000
--- a/solr/core/src/resources/v2apispec/core.ConfigRead.json
+++ /dev/null
@@ -1,19 +0,0 @@
-{
-  "core.ConfigRead": {
-    "documentation": "https://cwiki.apache.org/confluence/display/solr/Config+API",
-    "methods": ["GET"],
-    "url": {
-      "paths": [
-        "$handlerName",
-        "$handlerName/overlay",
-        "$handlerName/params",
-        "$handlerName/params",
-        "$handlerName/query",
-        "$handlerName/jmx",
-        "$handlerName/requestDispatcher",
-        "$handlerName/znodeVersion",
-        "$handlerName/{plugin}"
-      ] },
-    "body": null
-  }
-}

http://git-wip-us.apache.org/repos/asf/lucene-solr/blob/3cfebd53/solr/core/src/resources/v2apispec/core.RealtimeGet.json
----------------------------------------------------------------------
diff --git a/solr/core/src/resources/v2apispec/core.RealtimeGet.json b/solr/core/src/resources/v2apispec/core.RealtimeGet.json
deleted file mode 100644
index 20a1cfe..0000000
--- a/solr/core/src/resources/v2apispec/core.RealtimeGet.json
+++ /dev/null
@@ -1,23 +0,0 @@
-{
-  "core.RealtimeGet": {
-    "documentation": "https://cwiki.apache.org/confluence/display/solr/Schema+API",
-    "methods": ["GET"],
-    "url": {
-      "path": "/get",
-      "paths": [
-        "$handlerName",
-        "$handlerName/versions",
-        "$handlerName/updates"],
-      "params":{
-        "id" : {
-          "type":"string",
-          "description" :"one or more ids. Separate by commas if there are more than one"
-        },
-        "ids" : {
-          "type":"string",
-          "description" :"one or more ids. Separate by commas if there are more than one"
-        }
-      }
-    }
-  }
-}

http://git-wip-us.apache.org/repos/asf/lucene-solr/blob/3cfebd53/solr/core/src/resources/v2apispec/core.SchemaEdit.addCopyField.json
----------------------------------------------------------------------
diff --git a/solr/core/src/resources/v2apispec/core.SchemaEdit.addCopyField.json b/solr/core/src/resources/v2apispec/core.SchemaEdit.addCopyField.json
deleted file mode 100644
index 782efe2..0000000
--- a/solr/core/src/resources/v2apispec/core.SchemaEdit.addCopyField.json
+++ /dev/null
@@ -1,4 +0,0 @@
-{
-  "additionalProperties":true
-
-}
\ No newline at end of file

http://git-wip-us.apache.org/repos/asf/lucene-solr/blob/3cfebd53/solr/core/src/resources/v2apispec/core.SchemaEdit.addDynamicField.json
----------------------------------------------------------------------
diff --git a/solr/core/src/resources/v2apispec/core.SchemaEdit.addDynamicField.json b/solr/core/src/resources/v2apispec/core.SchemaEdit.addDynamicField.json
deleted file mode 100644
index 2fe97f4..0000000
--- a/solr/core/src/resources/v2apispec/core.SchemaEdit.addDynamicField.json
+++ /dev/null
@@ -1,3 +0,0 @@
-{
-  "additionalProperties":true
-}
\ No newline at end of file

http://git-wip-us.apache.org/repos/asf/lucene-solr/blob/3cfebd53/solr/core/src/resources/v2apispec/core.SchemaEdit.addField.json
----------------------------------------------------------------------
diff --git a/solr/core/src/resources/v2apispec/core.SchemaEdit.addField.json b/solr/core/src/resources/v2apispec/core.SchemaEdit.addField.json
deleted file mode 100644
index bc28113..0000000
--- a/solr/core/src/resources/v2apispec/core.SchemaEdit.addField.json
+++ /dev/null
@@ -1,4 +0,0 @@
-{
-  "properties":{},
-  "additionalProperties": true
-}
\ No newline at end of file

http://git-wip-us.apache.org/repos/asf/lucene-solr/blob/3cfebd53/solr/core/src/resources/v2apispec/core.SchemaEdit.addFieldType.json
----------------------------------------------------------------------
diff --git a/solr/core/src/resources/v2apispec/core.SchemaEdit.addFieldType.json b/solr/core/src/resources/v2apispec/core.SchemaEdit.addFieldType.json
deleted file mode 100644
index bc28113..0000000
--- a/solr/core/src/resources/v2apispec/core.SchemaEdit.addFieldType.json
+++ /dev/null
@@ -1,4 +0,0 @@
-{
-  "properties":{},
-  "additionalProperties": true
-}
\ No newline at end of file

http://git-wip-us.apache.org/repos/asf/lucene-solr/blob/3cfebd53/solr/core/src/resources/v2apispec/core.SchemaEdit.deleteCopyField.json
----------------------------------------------------------------------
diff --git a/solr/core/src/resources/v2apispec/core.SchemaEdit.deleteCopyField.json b/solr/core/src/resources/v2apispec/core.SchemaEdit.deleteCopyField.json
deleted file mode 100644
index bc28113..0000000
--- a/solr/core/src/resources/v2apispec/core.SchemaEdit.deleteCopyField.json
+++ /dev/null
@@ -1,4 +0,0 @@
-{
-  "properties":{},
-  "additionalProperties": true
-}
\ No newline at end of file

http://git-wip-us.apache.org/repos/asf/lucene-solr/blob/3cfebd53/solr/core/src/resources/v2apispec/core.SchemaEdit.deleteDynamicField.json
----------------------------------------------------------------------
diff --git a/solr/core/src/resources/v2apispec/core.SchemaEdit.deleteDynamicField.json b/solr/core/src/resources/v2apispec/core.SchemaEdit.deleteDynamicField.json
deleted file mode 100644
index 2fe97f4..0000000
--- a/solr/core/src/resources/v2apispec/core.SchemaEdit.deleteDynamicField.json
+++ /dev/null
@@ -1,3 +0,0 @@
-{
-  "additionalProperties":true
-}
\ No newline at end of file

http://git-wip-us.apache.org/repos/asf/lucene-solr/blob/3cfebd53/solr/core/src/resources/v2apispec/core.SchemaEdit.deleteField.json
----------------------------------------------------------------------
diff --git a/solr/core/src/resources/v2apispec/core.SchemaEdit.deleteField.json b/solr/core/src/resources/v2apispec/core.SchemaEdit.deleteField.json
deleted file mode 100644
index 2fe97f4..0000000
--- a/solr/core/src/resources/v2apispec/core.SchemaEdit.deleteField.json
+++ /dev/null
@@ -1,3 +0,0 @@
-{
-  "additionalProperties":true
-}
\ No newline at end of file

http://git-wip-us.apache.org/repos/asf/lucene-solr/blob/3cfebd53/solr/core/src/resources/v2apispec/core.SchemaEdit.deleteFieldType.json
----------------------------------------------------------------------
diff --git a/solr/core/src/resources/v2apispec/core.SchemaEdit.deleteFieldType.json b/solr/core/src/resources/v2apispec/core.SchemaEdit.deleteFieldType.json
deleted file mode 100644
index 2fe97f4..0000000
--- a/solr/core/src/resources/v2apispec/core.SchemaEdit.deleteFieldType.json
+++ /dev/null
@@ -1,3 +0,0 @@
-{
-  "additionalProperties":true
-}
\ No newline at end of file

http://git-wip-us.apache.org/repos/asf/lucene-solr/blob/3cfebd53/solr/core/src/resources/v2apispec/core.SchemaEdit.json
----------------------------------------------------------------------
diff --git a/solr/core/src/resources/v2apispec/core.SchemaEdit.json b/solr/core/src/resources/v2apispec/core.SchemaEdit.json
deleted file mode 100644
index 59cdd5f..0000000
--- a/solr/core/src/resources/v2apispec/core.SchemaEdit.json
+++ /dev/null
@@ -1,22 +0,0 @@
-{
-  "core.SchemaEdit": {
-    "documentation": "https://cwiki.apache.org/confluence/display/solr/Schema+API",
-    "methods": ["POST"],
-    "url": {
-      "paths": ["$handlerName"]
-    },
-    "commands":{
-      "add-field":"core.SchemaEdit.addField",
-      "delete-field":"core.SchemaEdit.deleteField",
-      "replace-field":"core.SchemaEdit.replaceField",
-      "add-dynamic-field":"core.SchemaEdit.addDynamicField",
-      "delete-dynamic-field":"core.SchemaEdit.deleteDynamicField",
-      "replace-dynamic-field":"core.SchemaEdit.replaceDynamicField",
-      "add-field-type":"core.SchemaEdit.addFieldType",
-      "delete-field-type":"core.SchemaEdit.deleteFieldType",
-      "replace-field-type":"core.SchemaEdit.replaceFieldType",
-      "add-copy-field":"core.SchemaEdit.addCopyField",
-      "delete-copy-field":"core.SchemaEdit.deleteCopyField"
-    }
-  }
-}

http://git-wip-us.apache.org/repos/asf/lucene-solr/blob/3cfebd53/solr/core/src/resources/v2apispec/core.SchemaEdit.replaceDynamicField.json
----------------------------------------------------------------------
diff --git a/solr/core/src/resources/v2apispec/core.SchemaEdit.replaceDynamicField.json b/solr/core/src/resources/v2apispec/core.SchemaEdit.replaceDynamicField.json
deleted file mode 100644
index 2fe97f4..0000000
--- a/solr/core/src/resources/v2apispec/core.SchemaEdit.replaceDynamicField.json
+++ /dev/null
@@ -1,3 +0,0 @@
-{
-  "additionalProperties":true
-}
\ No newline at end of file

http://git-wip-us.apache.org/repos/asf/lucene-solr/blob/3cfebd53/solr/core/src/resources/v2apispec/core.SchemaEdit.replaceField.json
----------------------------------------------------------------------
diff --git a/solr/core/src/resources/v2apispec/core.SchemaEdit.replaceField.json b/solr/core/src/resources/v2apispec/core.SchemaEdit.replaceField.json
deleted file mode 100644
index bc28113..0000000
--- a/solr/core/src/resources/v2apispec/core.SchemaEdit.replaceField.json
+++ /dev/null
@@ -1,4 +0,0 @@
-{
-  "properties":{},
-  "additionalProperties": true
-}
\ No newline at end of file

http://git-wip-us.apache.org/repos/asf/lucene-solr/blob/3cfebd53/solr/core/src/resources/v2apispec/core.SchemaEdit.replaceFieldType.json
----------------------------------------------------------------------
diff --git a/solr/core/src/resources/v2apispec/core.SchemaEdit.replaceFieldType.json b/solr/core/src/resources/v2apispec/core.SchemaEdit.replaceFieldType.json
deleted file mode 100644
index 2fe97f4..0000000
--- a/solr/core/src/resources/v2apispec/core.SchemaEdit.replaceFieldType.json
+++ /dev/null
@@ -1,3 +0,0 @@
-{
-  "additionalProperties":true
-}
\ No newline at end of file

http://git-wip-us.apache.org/repos/asf/lucene-solr/blob/3cfebd53/solr/core/src/resources/v2apispec/core.SchemaRead.copyFields.json
----------------------------------------------------------------------
diff --git a/solr/core/src/resources/v2apispec/core.SchemaRead.copyFields.json b/solr/core/src/resources/v2apispec/core.SchemaRead.copyFields.json
deleted file mode 100644
index 338affd..0000000
--- a/solr/core/src/resources/v2apispec/core.SchemaRead.copyFields.json
+++ /dev/null
@@ -1,23 +0,0 @@
-{
-  "core.SchemaRead.copyFields": {
-    "documentation": "https://cwiki.apache.org/confluence/display/solr/Schema+API",
-    "methods": [
-      "GET"
-    ],
-    "url": {
-      "paths": [
-        "$handlerName/copyfields",
-        "$handlerName/copyfields/{name}"
-      ],
-      "params": {
-        "source.fl" :{
-          "type":"string",
-          "description":"Comma- or space-separated list of one or more copyField source fields to include in the response - copyField directives with all other source fields will be excluded from the response. If not specified, all copyField-s will be included in the response"},
-        "dest.fl" :{
-          "type":"string",
-          "description":"Comma- or space-separated list of one or more copyField dest fields to include in the response - copyField directives with all other dest fields will be excluded. If not specified, all copyField-s will be included in the response."}
-      }
-    },
-    "body": null
-  }
-}

http://git-wip-us.apache.org/repos/asf/lucene-solr/blob/3cfebd53/solr/core/src/resources/v2apispec/core.SchemaRead.fields.json
----------------------------------------------------------------------
diff --git a/solr/core/src/resources/v2apispec/core.SchemaRead.fields.json b/solr/core/src/resources/v2apispec/core.SchemaRead.fields.json
deleted file mode 100644
index 1b6f924..0000000
--- a/solr/core/src/resources/v2apispec/core.SchemaRead.fields.json
+++ /dev/null
@@ -1,31 +0,0 @@
-{
-  "core.SchemaRead.fields": {
-    "documentation": "https://cwiki.apache.org/confluence/display/solr/Schema+API",
-    "methods": [
-      "GET"
-    ],
-    "url": {
-      "paths": [
-        "/$handlerName/fields",
-        "/$handlerName/fields/{name}",
-        "/$handlerName/dynamicfields",
-        "/$handlerName/dynamicfields/{name}",
-        "/$handlerName/fieldtypes/",
-        "/$handlerName/fieldtypes/{name}"
-      ],
-      "params": {
-        "includeDynamic" :{
-          "type":"boolean",
-          "description":"If true, and if the fl query parameter is specified or the fieldname path parameter is used, matching dynamic fields are included in the response and identified with the dynamicBase property. If neither the fl query parameter nor the fieldname path parameter is specified, the includeDynamic query parameter is ignored. If false, matching dynamic fields will not be returned.",
-          "default":false
-        },
-        "showDefaults" :{
-          "type":"boolean",
-          "description":"If true, all default field properties from each field's field type will be included in the response (e.g. tokenized for solr.TextField). If false, only explicitly specified field properties will be included.",
-          "default":false
-        }
-      }
-    },
-    "body": null
-  }
-}

http://git-wip-us.apache.org/repos/asf/lucene-solr/blob/3cfebd53/solr/core/src/resources/v2apispec/core.SchemaRead.json
----------------------------------------------------------------------
diff --git a/solr/core/src/resources/v2apispec/core.SchemaRead.json b/solr/core/src/resources/v2apispec/core.SchemaRead.json
deleted file mode 100644
index b76070b..0000000
--- a/solr/core/src/resources/v2apispec/core.SchemaRead.json
+++ /dev/null
@@ -1,25 +0,0 @@
-{
-  "core.SchemaRead": {
-    "documentation": "https://cwiki.apache.org/confluence/display/solr$handlerName+API",
-    "methods": ["GET"],
-    "url": {
-      "paths": [
-        "$handlerName",
-        "$handlerName/name",
-        "$handlerName/uniquekey",
-        "$handlerName/version",
-        "$handlerName/similarity",
-        "$handlerName/solrqueryparser",
-        "$handlerName/zkversion",
-        "$handlerName/zkversion",
-        "$handlerName/solrqueryparser/defaultoperator",
-        "$handlerName/name",
-        "$handlerName/version",
-        "$handlerName/uniquekey",
-        "$handlerName/similarity",
-        "$handlerName/similarity"
-      ]
-    },
-    "body": null
-  }
-}

http://git-wip-us.apache.org/repos/asf/lucene-solr/blob/3cfebd53/solr/core/src/resources/v2apispec/core.Update.json
----------------------------------------------------------------------
diff --git a/solr/core/src/resources/v2apispec/core.Update.json b/solr/core/src/resources/v2apispec/core.Update.json
deleted file mode 100644
index cf2c2ce..0000000
--- a/solr/core/src/resources/v2apispec/core.Update.json
+++ /dev/null
@@ -1,19 +0,0 @@
-{
-  "core.Update": {
-    "documentation": "https://cwiki.apache.org/confluence/display/solr/Schema+API",
-    "methods": [
-      "POST"
-    ],
-    "url": {
-      "path": "/update",
-      "paths": [
-        "/update",
-        "/update/xml",
-        "/update/csv",
-        "/update/json",
-        "/update/json/commands"
-      ]
-
-    }
-  }
-}
\ No newline at end of file

http://git-wip-us.apache.org/repos/asf/lucene-solr/blob/3cfebd53/solr/core/src/resources/v2apispec/cores.Commands.json
----------------------------------------------------------------------
diff --git a/solr/core/src/resources/v2apispec/cores.Commands.json b/solr/core/src/resources/v2apispec/cores.Commands.json
deleted file mode 100644
index 784d9bf..0000000
--- a/solr/core/src/resources/v2apispec/cores.Commands.json
+++ /dev/null
@@ -1,67 +0,0 @@
-{
-  "cores.Commands": {
-    "documentation": "https://cwiki.apache.org",
-    "methods": [
-      "POST"
-    ],
-    "url": {
-      "path": "/cores",
-      "paths": [
-        "/cores"
-      ]
-    },
-    "commands": {
-      "create": {
-        "properties": {
-          "name": {
-            "type": "string",
-            "description": "The core name"
-          },
-          "instanceDir":{
-            "type": "string",
-            "description": "The core instance dir"
-          },
-          "schema": {
-            "type": "string",
-            "description": "The core name"
-          },
-          "dataDir": {
-            "type": "string",
-            "description": "The core name"
-          },
-          "configSet": {
-            "type": "string",
-            "description": "The configset name"
-          },
-          "loadOnStartup": {
-            "type": "boolean",
-            "description": "Load the core on startup"
-          },
-          "transient": {
-            "type": "boolean",
-            "description": "The core may be unloaded if required"
-          },
-          "shard": {
-            "type": "string",
-            "description": "In SolrCloud mode, which shard does this core belong to"
-          },
-          "collection": {
-            "type": "string",
-            "description": "The collection where this core belongs to"
-          },
-          "props":{
-            "type":"object",
-            "additionalProperties": true
-          },
-          "coreNodeName": {
-            "type":"string",
-            "description":"The replica name"
-          },
-          "numShards": {
-          }
-        },
-        "required":["name","configset"]
-      }
-    }
-  }
-}
\ No newline at end of file

http://git-wip-us.apache.org/repos/asf/lucene-solr/blob/3cfebd53/solr/core/src/resources/v2apispec/cores.Status.json
----------------------------------------------------------------------
diff --git a/solr/core/src/resources/v2apispec/cores.Status.json b/solr/core/src/resources/v2apispec/cores.Status.json
deleted file mode 100644
index 0bf41aa..0000000
--- a/solr/core/src/resources/v2apispec/cores.Status.json
+++ /dev/null
@@ -1,23 +0,0 @@
-{
-  "cores.Status": {
-    "documentation": "https://cwiki.apache.org",
-    "methods": [
-      "GET"
-    ],
-    "url": {
-      "path": "/cores",
-      "paths": [
-        "/cores",
-        "/cores/{core}/status"
-      ],
-      "params": {
-        "indexInfo": {
-          "type": "boolean",
-          "description": "return index info",
-          "default": false
-        }
-      }
-    },
-    "body": null
-  }
-}

http://git-wip-us.apache.org/repos/asf/lucene-solr/blob/3cfebd53/solr/core/src/resources/v2apispec/cores.core.Commands.json
----------------------------------------------------------------------
diff --git a/solr/core/src/resources/v2apispec/cores.core.Commands.json b/solr/core/src/resources/v2apispec/cores.core.Commands.json
deleted file mode 100644
index c8181b2..0000000
--- a/solr/core/src/resources/v2apispec/cores.core.Commands.json
+++ /dev/null
@@ -1,36 +0,0 @@
-{
-  "cores.core.Commands": {
-    "documentation": "https://cwiki.apache.org",
-    "methods": [
-      "POST"
-    ],
-    "url": {
-      "path": "/cores/{core}",
-      "paths": [
-        "/cores/{core}"
-      ]
-    },
-    "commands": {
-      "reload": {
-        "properties": {}
-      },
-      "unload":{
-        "properties": {}
-      },
-      "swap": {
-        "properties": {
-          "with" : {
-            "type":"string",
-            "description":"The other core name"
-          }
-        },
-        "required":["with"]
-      },
-      "merge-indexes": {
-        "properties": {}
-      },
-      "request-recovery": {},
-      "split":"cores.core.Commands.split"
-    }
-  }
-}
\ No newline at end of file

http://git-wip-us.apache.org/repos/asf/lucene-solr/blob/3cfebd53/solr/core/src/resources/v2apispec/cores.core.Commands.requestRecovery.json
----------------------------------------------------------------------
diff --git a/solr/core/src/resources/v2apispec/cores.core.Commands.requestRecovery.json b/solr/core/src/resources/v2apispec/cores.core.Commands.requestRecovery.json
deleted file mode 100644
index f5fff5b..0000000
--- a/solr/core/src/resources/v2apispec/cores.core.Commands.requestRecovery.json
+++ /dev/null
@@ -1,4 +0,0 @@
-{
-  "properties": {},
-  "additionalProperties": true
-}
\ No newline at end of file

http://git-wip-us.apache.org/repos/asf/lucene-solr/blob/3cfebd53/solr/core/src/resources/v2apispec/cores.core.Commands.split.json
----------------------------------------------------------------------
diff --git a/solr/core/src/resources/v2apispec/cores.core.Commands.split.json b/solr/core/src/resources/v2apispec/cores.core.Commands.split.json
deleted file mode 100644
index 8f2512d..0000000
--- a/solr/core/src/resources/v2apispec/cores.core.Commands.split.json
+++ /dev/null
@@ -1,3 +0,0 @@
-{
-  "properties":{}
-}
\ No newline at end of file

http://git-wip-us.apache.org/repos/asf/lucene-solr/blob/3cfebd53/solr/core/src/resources/v2apispec/cores.json
----------------------------------------------------------------------
diff --git a/solr/core/src/resources/v2apispec/cores.json b/solr/core/src/resources/v2apispec/cores.json
deleted file mode 100644
index 4157df1..0000000
--- a/solr/core/src/resources/v2apispec/cores.json
+++ /dev/null
@@ -1,22 +0,0 @@
-{
-  "cores": {
-    "documentation": "https://cwiki.apache.org",
-    "methods": [
-      "GET"
-    ],
-    "url": {
-      "path": "/cores",
-      "paths": [
-        "/cores"
-      ],
-      "params": {
-        "indexInfo": {
-          "type": "boolean",
-          "description": "return index info",
-          "default": false
-        }
-      }
-    },
-    "body": null
-  }
-}

http://git-wip-us.apache.org/repos/asf/lucene-solr/blob/3cfebd53/solr/core/src/resources/v2apispec/emptySpec.json
----------------------------------------------------------------------
diff --git a/solr/core/src/resources/v2apispec/emptySpec.json b/solr/core/src/resources/v2apispec/emptySpec.json
deleted file mode 100644
index 0c5125b..0000000
--- a/solr/core/src/resources/v2apispec/emptySpec.json
+++ /dev/null
@@ -1,15 +0,0 @@
-{
-  "emptySpec": {
-    "documentation": "https://cwiki.apache.org/confluence/display/solr/Schema+API",
-    "methods": [
-      "GET",
-      "POST"
-    ],
-    "url": {
-      "path": "$handlerName",
-      "paths": [
-        "$handlerName"
-      ]
-    }
-  }
-}
\ No newline at end of file

http://git-wip-us.apache.org/repos/asf/lucene-solr/blob/3cfebd53/solr/core/src/resources/v2apispec/node.Info.json
----------------------------------------------------------------------
diff --git a/solr/core/src/resources/v2apispec/node.Info.json b/solr/core/src/resources/v2apispec/node.Info.json
deleted file mode 100644
index 687b6b6..0000000
--- a/solr/core/src/resources/v2apispec/node.Info.json
+++ /dev/null
@@ -1,14 +0,0 @@
-{
-  "node.Info": {
-    "documentation": "https://cwiki.apache.org/confluence/display/solr/Schema+API",
-    "methods": ["GET"],
-    "url": {
-      "path": "/node",
-      "paths": [
-        "/node/properties",
-        "/node/threads",
-        "/node/logging",
-        "/node/system"]
-    }
-  }
-}
\ No newline at end of file


Mime
View raw message