From cdae11e25a271ea0a8874dbff9d9e8e56fc25581 Mon Sep 17 00:00:00 2001 From: Cassandra Targett Date: Fri, 21 Jul 2017 15:47:01 -0500 Subject: [PATCH] SOLR-10848: Update v2 api specs with new Ref Guide address and anchor links --- .../java/org/apache/solr/api/V2HttpCall.java | 2 +- solr/solr-ref-guide/src/v2-api.adoc | 19 ++++++++-------- .../resources/apispec/cluster.Commands.json | 8 +++---- .../resources/apispec/cluster.aliases.json | 4 ++-- .../apispec/cluster.configs.Commands.json | 4 ++-- .../apispec/cluster.configs.delete.json | 2 +- .../resources/apispec/cluster.configs.json | 2 +- solr/solrj/src/resources/apispec/cluster.json | 2 +- .../src/resources/apispec/cluster.nodes.json | 2 +- .../cluster.security.BasicAuth.Commands.json | 2 +- ...uster.security.RuleBasedAuthorization.json | 2 +- ...ster.security.authentication.Commands.json | 2 +- .../cluster.security.authentication.json | 2 +- ...uster.security.authorization.Commands.json | 2 +- .../cluster.security.authorization.json | 2 +- .../apispec/collections.Commands.json | 22 +++++++++---------- .../collections.collection.Commands.json | 12 +++++----- ...ollections.collection.Commands.modify.json | 8 +++---- ...ollections.collection.Commands.reload.json | 2 +- .../collections.collection.delete.json | 2 +- .../apispec/collections.collection.json | 2 +- ...ollections.collection.shards.Commands.json | 12 +++++----- ...ions.collection.shards.shard.Commands.json | 4 ++-- ...ctions.collection.shards.shard.delete.json | 2 +- ...ollection.shards.shard.replica.delete.json | 2 +- .../src/resources/apispec/collections.json | 2 +- .../resources/apispec/core.RealtimeGet.json | 2 +- .../apispec/core.SchemaEdit.addCopyField.json | 2 +- .../apispec/core.SchemaEdit.addField.json | 4 ++-- .../apispec/core.SchemaEdit.addFieldType.json | 2 +- .../core.SchemaEdit.deleteCopyField.json | 2 +- .../core.SchemaEdit.deleteDynamicField.json | 2 +- .../apispec/core.SchemaEdit.deleteField.json | 2 +- .../core.SchemaEdit.deleteFieldType.json | 2 +- .../resources/apispec/core.SchemaEdit.json | 4 ++-- .../apispec/core.SchemaRead.copyFields.json | 2 +- ...e.SchemaRead.dynamicFields_fieldTypes.json | 2 +- .../apispec/core.SchemaRead.fields.json | 2 +- .../resources/apispec/core.SchemaRead.json | 2 +- .../src/resources/apispec/core.Update.json | 2 +- .../apispec/core.config.Commands.json | 6 ++--- .../core.config.Commands.runtimeLib.json | 2 +- .../apispec/core.config.Params.Commands.json | 2 +- .../resources/apispec/core.config.Params.json | 2 +- .../src/resources/apispec/core.config.json | 2 +- .../resources/apispec/core.system.blob.json | 2 +- .../apispec/core.system.blob.upload.json | 2 +- .../src/resources/apispec/cores.Commands.json | 8 +++---- .../src/resources/apispec/cores.Status.json | 2 +- .../apispec/cores.core.Commands.json | 14 ++++++------ .../apispec/cores.core.Commands.split.json | 2 +- 51 files changed, 101 insertions(+), 102 deletions(-) diff --git a/solr/core/src/java/org/apache/solr/api/V2HttpCall.java b/solr/core/src/java/org/apache/solr/api/V2HttpCall.java index 49d50e932b8..ab81f76785b 100644 --- a/solr/core/src/java/org/apache/solr/api/V2HttpCall.java +++ b/solr/core/src/java/org/apache/solr/api/V2HttpCall.java @@ -82,7 +82,7 @@ public class V2HttpCall extends HttpSolrCall { api = new Api(null) { @Override public void call(SolrQueryRequest req, SolrQueryResponse rsp) { - rsp.add("documentation", "https://cwiki.apache.org/confluence/display/solr/v2+API"); + rsp.add("documentation", "https://lucene.apache.org/solr/guide/v2-api.html"); rsp.add("description", "V2 API root path"); } }; diff --git a/solr/solr-ref-guide/src/v2-api.adoc b/solr/solr-ref-guide/src/v2-api.adoc index c142d5ffb32..15e1fda570c 100644 --- a/solr/solr-ref-guide/src/v2-api.adoc +++ b/solr/solr-ref-guide/src/v2-api.adoc @@ -78,7 +78,7 @@ Example : `\http://localhost:8983/v2/c/gettingstarted/get/_introspect` ---- { "spec":[{ - "documentation":"https://cwiki.apache.org/confluence/display/solr/RealTime+Get", + "documentation":"https://lucene.apache.org/solr/guide/real-time-get.html", "description":"RealTime Get allows retrieving documents by ID before the documents have been committed to the index. It is useful when you need access to documents as soon as they are indexed but your commit times are high for other reasons.", "methods":["GET"], "url":{ @@ -94,7 +94,8 @@ Example : `\http://localhost:8983/v2/c/gettingstarted/get/_introspect` "type":"string", "description":"An optional filter query to add to the query. One use case for this is security filtering, in case users or groups should not be able to retrieve the document ID requested."}}}}], "WARNING":"This response format is experimental. It is likely to change in the future.", - "availableSubPaths":{}} + "availableSubPaths":{} +} ---- Description of some of the keys in the above example: @@ -112,29 +113,29 @@ Example of introspect for a POST API: `\http://localhost:8983/v2/c/gettingstarte ---- { "spec":[{ - "documentation":"https://cwiki.apache.org/confluence/display/solr/Collections+API", + "documentation":"https://lucene.apache.org/solr/guide/collections-api.html", "description":"Several collection-level operations are supported with this endpoint: modify collection attributes; reload a collection; migrate documents to a different collection; rebalance collection leaders; balance properties across shards; and add or delete a replica property.", "methods":["POST"], "url":{"paths":["/collections/{collection}", "/c/{collection}"]}, "commands":{"modify":{ - "documentation":"https://cwiki.apache.org/confluence/display/solr/Collections+API#CollectionsAPI-modifycoll", + "documentation":"https://lucene.apache.org/solr/guide/collections-api.html#modifycollection", "description":"Modifies specific attributes of a collection. Multiple attributes can be changed at one time.", "type":"object", "properties":{ "rule":{ "type":"array", - "documentation":"https://cwiki.apache.org/confluence/display/solr/Rule-based+Replica+Placement", + "documentation":"https://lucene.apache.org/solr/guide/rule-based-replica-placement.html", "description":"Modifies the rules for where replicas should be located in a cluster.", "items":{"type":"string"}}, "snitch":{ "type":"array", - "documentation":"https://cwiki.apache.org/confluence/display/solr/Rule-based+Replica+Placement", + "documentation":"https://lucene.apache.org/solr/guide/rule-based-replica-placement.html", "description":"Details of the snitch provider", "items":{"type":"string"}}, "autoAddReplicas":{ "type":"boolean", - "description":"When set to true, enables auto addition of replicas on shared file systems (such as HDFS). See https://cwiki.apache.org/confluence/display/solr/Running+Solr+on+HDFS for more details on settings and overrides."}, + "description":"When set to true, enables auto addition of replicas on shared file systems (such as HDFS). See https://lucene.apache.org/solr/guide/running-solr-on-hdfs.html for more details on settings and overrides."}, "replicationFactor":{ "type":"string", "description":"The number of replicas to be created for each shard. Replicas are physical copies of each shard, acting as failover for the shard. Note that changing this value on an existing collection does not automatically add more replicas to the collection. However, it will allow add-replica commands to succeed."}, @@ -148,9 +149,7 @@ Example of introspect for a POST API: `\http://localhost:8983/v2/c/gettingstarte "/c/gettingstarted/schema":["POST", "GET"], "/c/gettingstarted/export":["POST", "GET"], "/c/gettingstarted/admin/ping":["POST", "GET"], - "/c/gettingstarted/update":["POST"]}, - -[... more sub-paths ...] + "/c/gettingstarted/update":["POST"]} } ---- diff --git a/solr/solrj/src/resources/apispec/cluster.Commands.json b/solr/solrj/src/resources/apispec/cluster.Commands.json index 88f8c0666ca..4d791d8b8ad 100644 --- a/solr/solrj/src/resources/apispec/cluster.Commands.json +++ b/solr/solrj/src/resources/apispec/cluster.Commands.json @@ -1,5 +1,5 @@ { - "documentation": "https://cwiki.apache.org/confluence/display/solr/Collections+API", + "documentation": "https://lucene.apache.org/solr/guide/collections-api.html", "description": "Cluster-wide commands to assign roles to nodes, remove role assignments, or add, edit or remove a cluster-wide property.", "methods": [ "POST" @@ -12,7 +12,7 @@ "commands": { "add-role":{ "type":"object", - "documentation":"https://cwiki.apache.org/confluence/display/solr/Collections+API#CollectionsAPI-api15", + "documentation":"https://lucene.apache.org/solr/guide/collections-api.html#addrole", "description":"Assign a specific role to a node in the cluster.", "properties": { "role": { @@ -33,7 +33,7 @@ }, "remove-role":{ "type":"object", - "documentation":"https://cwiki.apache.org/confluence/display/solr/Collections+API#CollectionsAPI-api16", + "documentation":"https://lucene.apache.org/solr/guide/collections-api.html#removerole", "description":"Unassign a role from a node in the cluster.", "properties": { "role": { @@ -53,7 +53,7 @@ }, "set-property": { "type": "object", - "documentation": "https://cwiki.apache.org/confluence/display/solr/Collections+API#CollectionsAPI-api11", + "documentation": "https://lucene.apache.org/solr/guide/collections-api.html#clusterprop", "description": "Add, edit, or delete a cluster-wide property.", "properties": { "name": { diff --git a/solr/solrj/src/resources/apispec/cluster.aliases.json b/solr/solrj/src/resources/apispec/cluster.aliases.json index 9cffb714237..b200f7f9175 100644 --- a/solr/solrj/src/resources/apispec/cluster.aliases.json +++ b/solr/solrj/src/resources/apispec/cluster.aliases.json @@ -1,6 +1,6 @@ { - "documentation": "https://cwiki.apache.org/confluence/display/solr/Collections+API", - "description": "Provides list of collection alises.", + "documentation": "https://lucene.apache.org/solr/guide/collections-api.html", + "description": "Provides list of collection aliases.", "methods": [ "GET" ], diff --git a/solr/solrj/src/resources/apispec/cluster.configs.Commands.json b/solr/solrj/src/resources/apispec/cluster.configs.Commands.json index d026cd51cd0..065f1757864 100644 --- a/solr/solrj/src/resources/apispec/cluster.configs.Commands.json +++ b/solr/solrj/src/resources/apispec/cluster.configs.Commands.json @@ -1,5 +1,5 @@ { - "documentation": "https://cwiki.apache.org/confluence/display/solr/ConfigSets+API", + "documentation": "https://lucene.apache.org/solr/guide/configsets-api.html", "description": "Create ConfigSets.", "methods": [ "POST" @@ -12,7 +12,7 @@ "create": { "type" :"object", "description": "Create a ConfigSet, based on another ConfigSet already in ZooKeeper.", - "documentation": "https://cwiki.apache.org/confluence/display/solr/ConfigSets+API#ConfigSetsAPI-create", + "documentation": "https://lucene.apache.org/solr/guide/configsets-api.html#configsets-create", "properties": { "name" :{ "type" :"string", diff --git a/solr/solrj/src/resources/apispec/cluster.configs.delete.json b/solr/solrj/src/resources/apispec/cluster.configs.delete.json index 236d45755b1..a03ba4b5195 100644 --- a/solr/solrj/src/resources/apispec/cluster.configs.delete.json +++ b/solr/solrj/src/resources/apispec/cluster.configs.delete.json @@ -1,5 +1,5 @@ { - "documentation": "https://cwiki.apache.org/confluence/display/solr/ConfigSets+API#ConfigSetsAPI-delete", + "documentation": "https://lucene.apache.org/solr/guide/configsets-api.html#configsets-delete", "description": "Delete ConfigSets. The name of the ConfigSet to delete must be provided as a path parameter.", "methods": [ "DELETE" diff --git a/solr/solrj/src/resources/apispec/cluster.configs.json b/solr/solrj/src/resources/apispec/cluster.configs.json index 9a1443a3d72..55fc8b65e41 100644 --- a/solr/solrj/src/resources/apispec/cluster.configs.json +++ b/solr/solrj/src/resources/apispec/cluster.configs.json @@ -1,5 +1,5 @@ { - "documentation": "https://cwiki.apache.org/confluence/display/solr/ConfigSets+API#ConfigSetsAPI-list", + "documentation": "https://lucene.apache.org/solr/guide/configsets-api.html#configsets-list", "description": "List all ConfigSets in the cluster.", "methods": [ "GET" diff --git a/solr/solrj/src/resources/apispec/cluster.json b/solr/solrj/src/resources/apispec/cluster.json index 0ec5b9680cb..75d536940a5 100644 --- a/solr/solrj/src/resources/apispec/cluster.json +++ b/solr/solrj/src/resources/apispec/cluster.json @@ -1,5 +1,5 @@ { - "documentation": "https://cwiki.apache.org/confluence/display/solr/Collections+API", + "documentation": "https://lucene.apache.org/solr/guide/collections-api.html", "description": "General information about the cluster, including defined collections (with the 'cluster' endpoint), status of the overseer (with the 'cluster/overseer' endpoint), and available nodes (with the 'cluster/nodes' endpoint).", "methods": [ "GET" diff --git a/solr/solrj/src/resources/apispec/cluster.nodes.json b/solr/solrj/src/resources/apispec/cluster.nodes.json index f992f7f6474..60f3a21310f 100644 --- a/solr/solrj/src/resources/apispec/cluster.nodes.json +++ b/solr/solrj/src/resources/apispec/cluster.nodes.json @@ -1,5 +1,5 @@ { - "documentation": "https://cwiki.apache.org/confluence/display/solr/Collections+API", + "documentation": "https://lucene.apache.org/solr/guide/collections-api.html", "description": "Provides general information about the available nodes of the cluster.", "methods": [ "GET" diff --git a/solr/solrj/src/resources/apispec/cluster.security.BasicAuth.Commands.json b/solr/solrj/src/resources/apispec/cluster.security.BasicAuth.Commands.json index da04c85e64c..ee0b7f53e0b 100644 --- a/solr/solrj/src/resources/apispec/cluster.security.BasicAuth.Commands.json +++ b/solr/solrj/src/resources/apispec/cluster.security.BasicAuth.Commands.json @@ -1,5 +1,5 @@ { - "documentation": "https://cwiki.apache.org/confluence/display/solr/Basic+Authentication+Plugin", + "documentation": "https://lucene.apache.org/solr/guide/basic-authentication-plugin.html", "description": "Modifies the configuration of Basic authentication, allowing you to add or remove users and their passwords.", "methods": [ "POST" diff --git a/solr/solrj/src/resources/apispec/cluster.security.RuleBasedAuthorization.json b/solr/solrj/src/resources/apispec/cluster.security.RuleBasedAuthorization.json index eb9a11ceaff..4a7fdbebabd 100644 --- a/solr/solrj/src/resources/apispec/cluster.security.RuleBasedAuthorization.json +++ b/solr/solrj/src/resources/apispec/cluster.security.RuleBasedAuthorization.json @@ -1,5 +1,5 @@ { - "documentation": "https://cwiki.apache.org/confluence/display/solr/Rule-Based+Authorization+Plugin", + "documentation": "https://lucene.apache.org/solr/guide/rule-based-authorization-plugin.html", "description": "Defines roles for accessing Solr, and assigns users to those roles. Use this API to change user authorizations to each of Solr's components.", "methods": [ "POST" diff --git a/solr/solrj/src/resources/apispec/cluster.security.authentication.Commands.json b/solr/solrj/src/resources/apispec/cluster.security.authentication.Commands.json index e1f90305242..fa18660e8b6 100644 --- a/solr/solrj/src/resources/apispec/cluster.security.authentication.Commands.json +++ b/solr/solrj/src/resources/apispec/cluster.security.authentication.Commands.json @@ -1,5 +1,5 @@ { - "documentation": "https://cwiki.apache.org/confluence/display/solr/Securing+Solr", + "documentation": "https://lucene.apache.org/solr/guide/securing-solr.html", "description":"This is a placeholder output when no authentication is configured", "methods": [ "POST" diff --git a/solr/solrj/src/resources/apispec/cluster.security.authentication.json b/solr/solrj/src/resources/apispec/cluster.security.authentication.json index 48757c30e3a..a1e755e4d90 100644 --- a/solr/solrj/src/resources/apispec/cluster.security.authentication.json +++ b/solr/solrj/src/resources/apispec/cluster.security.authentication.json @@ -1,5 +1,5 @@ { - "documentation": "https://cwiki.apache.org/confluence/display/solr/Authentication+and+Authorization+Plugins", + "documentation": "https://lucene.apache.org/solr/guide/authentication-and-authorization-plugins.html", "description": "Shows the configuration for authentication, including users, classes (type of authentication) and other parameters.", "methods": [ "GET" diff --git a/solr/solrj/src/resources/apispec/cluster.security.authorization.Commands.json b/solr/solrj/src/resources/apispec/cluster.security.authorization.Commands.json index fe74065178d..16fa73352fa 100644 --- a/solr/solrj/src/resources/apispec/cluster.security.authorization.Commands.json +++ b/solr/solrj/src/resources/apispec/cluster.security.authorization.Commands.json @@ -1,5 +1,5 @@ { - "documentation": "https://cwiki.apache.org/confluence/display/solr/Securing+Solr", + "documentation": "https://lucene.apache.org/solr/guide/securing-solr.html", "description":"This is a placeholder output when no authorization is configured", "methods": [ "POST" diff --git a/solr/solrj/src/resources/apispec/cluster.security.authorization.json b/solr/solrj/src/resources/apispec/cluster.security.authorization.json index da09f8aeb3b..298621c898c 100644 --- a/solr/solrj/src/resources/apispec/cluster.security.authorization.json +++ b/solr/solrj/src/resources/apispec/cluster.security.authorization.json @@ -1,5 +1,5 @@ { - "documentation": "https://cwiki.apache.org/confluence/display/solr/Authentication+and+Authorization+Plugins", + "documentation": "https://lucene.apache.org/solr/guide/authentication-and-authorization-plugins.html", "description":"Shows the configuration for authorization, including the classes (type of authorization), permissions, user-roles, and other parameters.", "methods": [ "GET" diff --git a/solr/solrj/src/resources/apispec/collections.Commands.json b/solr/solrj/src/resources/apispec/collections.Commands.json index 13a75c035cd..b7444f67536 100644 --- a/solr/solrj/src/resources/apispec/collections.Commands.json +++ b/solr/solrj/src/resources/apispec/collections.Commands.json @@ -1,5 +1,5 @@ { - "documentation": "https://cwiki.apache.org/confluence/display/solr/Collections+API#CollectionsAPI-api1", + "documentation": "https://lucene.apache.org/solr/guide/collections-api.html#create", "description": "Create collections and collection aliases, backup or restore collections, and delete collections and aliases.", "methods": [ "POST" @@ -13,7 +13,7 @@ "commands": { "create": { "type": "object", - "documentation": "https://cwiki.apache.org/confluence/display/solr/Collections+API#CollectionsAPI-api1", + "documentation": "https://lucene.apache.org/solr/guide/collections-api.html#create", "description": "Create a collection.", "properties": { "name": { @@ -26,7 +26,7 @@ }, "router": { "type": "object", - "documentation": "https://cwiki.apache.org/confluence/display/solr/Shards+and+Indexing+Data+in+SolrCloud", + "documentation": "https://lucene.apache.org/solr/guide/shards-and-indexing-data-in-solrcloud.html", "description": "These properties define how to distribute documents across a collection's shards.", "properties": { "name": { @@ -82,12 +82,12 @@ }, "autoAddReplicas": { "type": "boolean", - "description": "When set to true, enables auto addition of replicas on shared file systems (such as HDFS). See https://cwiki.apache.org/confluence/display/solr/Running+Solr+on+HDFS for more details on settings and overrides.", + "description": "When set to true, enables auto addition of replicas on shared file systems (such as HDFS). See https://lucene.apache.org/solr/guide/running-solr-on-hdfs.html for more details on settings and overrides.", "default": "false" }, "rule": { "type": "array", - "documentation": "https://cwiki.apache.org/confluence/display/solr/Rule-based+Replica+Placement", + "documentation": "https://lucene.apache.org/solr/guide/rule-based-replica-placement.html", "description": "Defines rules for where replicas should be located in a cluster.", "items": { "type": "string" @@ -95,7 +95,7 @@ }, "snitch": { "type": "array", - "documentation": "https://cwiki.apache.org/confluence/display/solr/Rule-based+Replica+Placement", + "documentation": "https://lucene.apache.org/solr/guide/rule-based-replica-placement.html", "description": "", "items": { "type": "string" @@ -103,7 +103,7 @@ }, "properties": { "type": "object", - "documentation": "https://cwiki.apache.org/confluence/display/solr/Defining+core.properties", + "documentation": "https://lucene.apache.org/solr/guide/defining-core-properties.html", "description": "Allows adding core.properties for the collection. Some examples of core properties you may want to modify include the config set, the node name, the data directory, among others.", "additionalProperties": true }, @@ -117,7 +117,7 @@ ] }, "create-alias": { - "documentation": "https://cwiki.apache.org/confluence/display/solr/Collections+API#CollectionsAPI-api4", + "documentation": "https://lucene.apache.org/solr/guide/collections-api.html#createalias", "description": "Allows one or more collections to be known by another name. If this command is used on an existing alias, the existing alias will be replaced with the new collection details.", "type": "object", "properties": { @@ -143,7 +143,7 @@ ] }, "delete-alias": { - "documentation": "https://cwiki.apache.org/confluence/display/solr/Collections+API#CollectionsAPI-api5", + "documentation": "https://lucene.apache.org/solr/guide/collections-api.html#deletealias", "description": "Deletes a collection alias", "type": "object", "properties": { @@ -159,7 +159,7 @@ "required":["name"] }, "backup-collection": { - "documentation": "https://cwiki.apache.org/confluence/display/solr/Collections+API#CollectionsAPI-Backup", + "documentation": "https://lucene.apache.org/solr/guide/collections-api.html#backup", "description": "Backup Solr indexes and configurations for a specific collection. One copy of the indexes will be taken from each shard, and the config set for the collection will also be copied.", "type": "object", "properties": { @@ -187,7 +187,7 @@ ] }, "restore-collection": { - "documentation": "https://cwiki.apache.org/confluence/display/solr/Collections+API#CollectionsAPI-Restore", + "documentation": "https://lucene.apache.org/solr/guide/collections-api.html#restore", "description": "Restore Solr indexes and configurations from a backup. You cannot restore into the same collection you took the backup from. The target collection must not exist before calling this command, as it will be created by the restore action. The new collection will have the same number of shards and replicas as the original collection, and all routing strategies will be retained.", "type": "object", "properties": { diff --git a/solr/solrj/src/resources/apispec/collections.collection.Commands.json b/solr/solrj/src/resources/apispec/collections.collection.Commands.json index e7493474957..c2314aefe67 100644 --- a/solr/solrj/src/resources/apispec/collections.collection.Commands.json +++ b/solr/solrj/src/resources/apispec/collections.collection.Commands.json @@ -1,5 +1,5 @@ { - "documentation": "https://cwiki.apache.org/confluence/display/solr/Collections+API", + "documentation": "https://lucene.apache.org/solr/guide/collections-api.html", "description": "Several collection-level operations are supported with this endpoint: modify collection attributes; reload a collection; migrate documents to a different collection; rebalance collection leaders; balance properties across shards; and add or delete a replica property.", "methods": [ "POST" @@ -19,7 +19,7 @@ }, "migrate-docs":{ "type":"object", - "documentation":"https://cwiki.apache.org/confluence/display/solr/Collections+API#CollectionsAPI-api12", + "documentation":"https://lucene.apache.org/solr/guide/collections-api.html#migrate", "description": "Moves documents with a given routing key to another collection. The source collection will continue to have the same documents, but will start re-routing write requests to the new collection. This command only works on collections using the 'compositeId' type of document routing.", "properties":{ "target":{ @@ -44,7 +44,7 @@ }, "balance-shard-unique":{ "type":"object", - "documentation": "https://cwiki.apache.org/confluence/display/solr/Collections+API#CollectionsAPI-BalanceSliceUnique", + "documentation": "https://lucene.apache.org/solr/guide/collections-api.html#balanceshardunique", "description": "Insures a property is distributed equally across all physical nodes of a collection. If the property already exists on a replica, effort is made to leave it there. However, if it does not exist on any repica, a shard will be chosen and the property added.", "properties":{ "property":{ @@ -65,7 +65,7 @@ }, "rebalance-leaders" :{ "type":"object", - "documentation": "https://cwiki.apache.org/confluence/display/solr/Collections+API#CollectionsAPI-RebalanceLeaders", + "documentation": "https://lucene.apache.org/solr/guide/collections-api.html#rebalanceleaders", "description": "Reassign leaders in a collection according to the preferredLeader property across active nodes. This command should be run after the preferredLeader property has been set with the balance-shards or add-replica-property commands.", "properties":{ "maxAtOnce":{ @@ -80,7 +80,7 @@ } }, "add-replica-property": { - "documentation": "https://cwiki.apache.org/confluence/display/solr/Collections+API#CollectionsAPI-AddReplicaProp", + "documentation": "https://lucene.apache.org/solr/guide/collections-api.html#addreplicaprop", "description": "Assign an arbitrary property to a particular replica and give it the value specified. If the property already exists, it will be overwritten with the new value.", "type": "object", "properties": { @@ -115,7 +115,7 @@ }, "delete-replica-property": { "description": "Deletes an arbitrary property from a particular replica", - "documentation": "https://cwiki.apache.org/confluence/display/solr/Collections+API#CollectionsAPI-DeleteReplicaProp", + "documentation": "https://lucene.apache.org/solr/guide/collections-api.html#deletereplicaprop", "type": "object", "properties": { "shard": { diff --git a/solr/solrj/src/resources/apispec/collections.collection.Commands.modify.json b/solr/solrj/src/resources/apispec/collections.collection.Commands.modify.json index d7d0f101709..f1115bce706 100644 --- a/solr/solrj/src/resources/apispec/collections.collection.Commands.modify.json +++ b/solr/solrj/src/resources/apispec/collections.collection.Commands.modify.json @@ -1,11 +1,11 @@ { - "documentation":"https://cwiki.apache.org/confluence/display/solr/Collections+API#CollectionsAPI-modifycoll", + "documentation":"https://lucene.apache.org/solr/guide/collections-api.html#modifycollection", "description":"Modifies specific attributes of a collection. Multiple attributes can be changed at one time.", "type": "object", "properties":{ "rule": { "type": "array", - "documentation": "https://cwiki.apache.org/confluence/display/solr/Rule-based+Replica+Placement", + "documentation": "https://lucene.apache.org/solr/guide/rule-based-replica-placement.html", "description": "Modifies the rules for where replicas should be located in a cluster.", "items": { "type": "string" @@ -13,7 +13,7 @@ }, "snitch": { "type": "array", - "documentation": "https://cwiki.apache.org/confluence/display/solr/Rule-based+Replica+Placement", + "documentation": "https://lucene.apache.org/solr/guide/rule-based-replica-placement.html", "description": "Details of the snitch provider", "items": { "type": "string" @@ -21,7 +21,7 @@ }, "autoAddReplicas": { "type": "boolean", - "description": "When set to true, enables auto addition of replicas on shared file systems (such as HDFS). See https://cwiki.apache.org/confluence/display/solr/Running+Solr+on+HDFS for more details on settings and overrides." + "description": "When set to true, enables auto addition of replicas on shared file systems (such as HDFS). See https://lucene.apache.org/solr/guide/running-solr-on-hdfs.html for more details on settings and overrides." }, "replicationFactor": { "type": "integer", diff --git a/solr/solrj/src/resources/apispec/collections.collection.Commands.reload.json b/solr/solrj/src/resources/apispec/collections.collection.Commands.reload.json index fe7e3794d87..3db50ab554d 100644 --- a/solr/solrj/src/resources/apispec/collections.collection.Commands.reload.json +++ b/solr/solrj/src/resources/apispec/collections.collection.Commands.reload.json @@ -1,5 +1,5 @@ { - "documentation": "https://cwiki.apache.org/confluence/display/solr/Collections+API#CollectionsAPI-api2", + "documentation": "https://lucene.apache.org/solr/guide/collections-api.html#reload", "description": "Reloads a collection so new configuration changes can take effect and be available for use by the system.", "type" : "object", "properties":{ diff --git a/solr/solrj/src/resources/apispec/collections.collection.delete.json b/solr/solrj/src/resources/apispec/collections.collection.delete.json index 0ab456201f6..eef55716890 100644 --- a/solr/solrj/src/resources/apispec/collections.collection.delete.json +++ b/solr/solrj/src/resources/apispec/collections.collection.delete.json @@ -1,5 +1,5 @@ { - "documentation": "https://cwiki.apache.org/confluence/display/solr/Collections+API#CollectionsAPI-api6", + "documentation": "https://lucene.apache.org/solr/guide/collections-api.html#delete", "description": "Deletes a collection.", "methods": [ "DELETE" diff --git a/solr/solrj/src/resources/apispec/collections.collection.json b/solr/solrj/src/resources/apispec/collections.collection.json index 34008be1450..a755fdcadd9 100644 --- a/solr/solrj/src/resources/apispec/collections.collection.json +++ b/solr/solrj/src/resources/apispec/collections.collection.json @@ -1,5 +1,5 @@ { - "documentation": "https://cwiki.apache.org/confluence/display/solr/Collections+API#CollectionsAPI-api1", + "documentation": "https://lucene.apache.org/solr/guide/collections-api.html#list", "description": "Lists all collections, with details on shards and replicas in each collection.", "methods": [ "GET" diff --git a/solr/solrj/src/resources/apispec/collections.collection.shards.Commands.json b/solr/solrj/src/resources/apispec/collections.collection.shards.Commands.json index 4750e2cb69e..5e8e96b3114 100644 --- a/solr/solrj/src/resources/apispec/collections.collection.shards.Commands.json +++ b/solr/solrj/src/resources/apispec/collections.collection.shards.Commands.json @@ -1,5 +1,5 @@ { - "documentation": "https://cwiki.apache.org/confluence/display/solr/Collections+API", + "documentation": "https://lucene.apache.org/solr/guide/collections-api.html", "description": "Allows you to create a shard, split an existing shard or add a new replica.", "methods": [ "POST" @@ -13,7 +13,7 @@ "commands": { "split": { "type" : "object", - "documentation":"https://cwiki.apache.org/confluence/display/solr/Collections+API#CollectionsAPI-api3", + "documentation":"https://lucene.apache.org/solr/guide/collections-api.html#splitshard", "description": "Splits an existing shard into two or more new shards. During this action, the existing shard will continue to contain the original data, but new data will be routed to the new shards once the split is complete. New shards will have as many replicas as the existing shards. A soft commit will be done automatically. An explicit commit request is not required because the index is automatically saved to disk during the split operation. New shards will use the original shard name as the basis for their names, adding an underscore and a number to differentiate the new shard. For example, 'shard1' would become 'shard1_0' and 'shard1_1'. Note that this operation can take a long time to complete.", "properties": { "shard":{ @@ -30,7 +30,7 @@ }, "coreProperties":{ "type":"object", - "documentation": "https://cwiki.apache.org/confluence/display/solr/Defining+core.properties", + "documentation": "https://lucene.apache.org/solr/guide/defining-core-properties.html", "description": "Allows adding core.properties for the collection. Some examples of core properties you may want to modify include the config set, the node name, the data directory, among others.", "additionalProperties":true }, @@ -56,7 +56,7 @@ }, "coreProperties": { "type": "object", - "documentation": "https://cwiki.apache.org/confluence/display/solr/Defining+core.properties", + "documentation": "https://lucene.apache.org/solr/guide/defining-core-properties.html", "description": "Allows adding core.properties for the collection. Some examples of core properties you may want to modify include the config set, the node name, the data directory, among others.", "additionalProperties": true }, @@ -68,7 +68,7 @@ "required":["shard"] }, "add-replica": { - "documentation":"https://cwiki.apache.org/confluence/display/solr/Collections+API#CollectionsAPI-api_addreplica", + "documentation":"https://lucene.apache.org/solr/guide/collections-api.html#addreplica", "description": "", "type" : "object", "properties": { @@ -94,7 +94,7 @@ }, "coreProperties": { "type": "object", - "documentation": "https://cwiki.apache.org/confluence/display/solr/Defining+core.properties", + "documentation": "https://lucene.apache.org/solr/guide/defining-core-properties.html", "description": "Allows adding core.properties for the collection. Some examples of core properties you may want to modify include the config set and the node name, among others.", "additionalProperties": true }, diff --git a/solr/solrj/src/resources/apispec/collections.collection.shards.shard.Commands.json b/solr/solrj/src/resources/apispec/collections.collection.shards.shard.Commands.json index 83f7ddfe8d7..27bfbd954c0 100644 --- a/solr/solrj/src/resources/apispec/collections.collection.shards.shard.Commands.json +++ b/solr/solrj/src/resources/apispec/collections.collection.shards.shard.Commands.json @@ -1,5 +1,5 @@ { - "documentation": "https://cwiki.apache.org/confluence/display/solr/Collections+API", + "documentation": "https://lucene.apache.org/solr/guide/collections-api.html", "description": "Commands to force leader election and synchronize shards.", "methods": [ "POST", @@ -13,7 +13,7 @@ }, "commands": { "force-leader": { - "documentation": "https://cwiki.apache.org/confluence/display/solr/Collections+API#CollectionsAPI-ForceLeader", + "documentation": "https://lucene.apache.org/solr/guide/collections-api.html#forceleader", "description": "In the unlikely event of a shard losing its leader, this command can be invoked to force the election of a new leader", "type": "object" }, diff --git a/solr/solrj/src/resources/apispec/collections.collection.shards.shard.delete.json b/solr/solrj/src/resources/apispec/collections.collection.shards.shard.delete.json index 53c79659b72..fdfc7beacf4 100644 --- a/solr/solrj/src/resources/apispec/collections.collection.shards.shard.delete.json +++ b/solr/solrj/src/resources/apispec/collections.collection.shards.shard.delete.json @@ -1,5 +1,5 @@ { - "documentation": "https://cwiki.apache.org/confluence/display/solr/Collections+API#CollectionsAPI-api7", + "documentation": "https://lucene.apache.org/solr/guide/collections-api.html#deleteshard", "description": "Deletes a shard by unloading all replicas of the shard, removing it from clusterstate.json, and by default deleting the instanceDir and dataDir. Only inactive shards or those which have no range for custom sharding will be deleted.", "methods": [ "DELETE" diff --git a/solr/solrj/src/resources/apispec/collections.collection.shards.shard.replica.delete.json b/solr/solrj/src/resources/apispec/collections.collection.shards.shard.replica.delete.json index a0c8ee65924..8cd331574e0 100644 --- a/solr/solrj/src/resources/apispec/collections.collection.shards.shard.replica.delete.json +++ b/solr/solrj/src/resources/apispec/collections.collection.shards.shard.replica.delete.json @@ -1,5 +1,5 @@ { - "documentation": "https://cwiki.apache.org/confluence/display/solr/Collections+API#CollectionsAPI-api9", + "documentation": "https://lucene.apache.org/solr/guide/collections-api.html#deletereplica", "description": "Deletes a replica. If the responding node is up, the core is unloaded, the entry removed from clusterstate.json, and the instanceDir and dataDir removed. If the node is not up, the entry for the replica is removed from clusterstate.json; if the nodes comes up later, the replica is automatically de-registered.", "methods": [ "DELETE" diff --git a/solr/solrj/src/resources/apispec/collections.json b/solr/solrj/src/resources/apispec/collections.json index 49ca976a414..87cd7b026bc 100644 --- a/solr/solrj/src/resources/apispec/collections.json +++ b/solr/solrj/src/resources/apispec/collections.json @@ -1,5 +1,5 @@ { - "documentation": "https://cwiki.apache.org/confluence/display/solr/Collections+API#CollectionsAPI-api1", + "documentation": "https://lucene.apache.org/solr/guide/collections-api.html#list", "description": "List all available collections and their properties.", "methods": [ "GET" diff --git a/solr/solrj/src/resources/apispec/core.RealtimeGet.json b/solr/solrj/src/resources/apispec/core.RealtimeGet.json index 308870e24e7..7cdb6e2f8e6 100644 --- a/solr/solrj/src/resources/apispec/core.RealtimeGet.json +++ b/solr/solrj/src/resources/apispec/core.RealtimeGet.json @@ -1,5 +1,5 @@ { - "documentation": "https://cwiki.apache.org/confluence/display/solr/RealTime+Get", + "documentation": "https://lucene.apache.org/solr/guide/realtime-get.html", "description": "RealTime Get allows retrieving documents by ID before the documents have been committed to the index. It is useful when you need access to documents as soon as they are indexed but your commit times are high for other reasons.", "methods": [ "GET" diff --git a/solr/solrj/src/resources/apispec/core.SchemaEdit.addCopyField.json b/solr/solrj/src/resources/apispec/core.SchemaEdit.addCopyField.json index 26c4eff85d4..e366a3e5dcd 100644 --- a/solr/solrj/src/resources/apispec/core.SchemaEdit.addCopyField.json +++ b/solr/solrj/src/resources/apispec/core.SchemaEdit.addCopyField.json @@ -1,5 +1,5 @@ { - "documentation" : "https://cwiki.apache.org/confluence/display/solr/Schema+API#SchemaAPI-AddaNewCopyFieldRule", + "documentation" : "https://lucene.apache.org/solr/guide/schema-api.html#add-a-new-copy-field-rule", "description": "Adds a new copy field rule, to allow one field to be populated with the contents of one or more other fields.", "type": "object", "properties": { diff --git a/solr/solrj/src/resources/apispec/core.SchemaEdit.addField.json b/solr/solrj/src/resources/apispec/core.SchemaEdit.addField.json index 19265abcc82..aa32a908656 100644 --- a/solr/solrj/src/resources/apispec/core.SchemaEdit.addField.json +++ b/solr/solrj/src/resources/apispec/core.SchemaEdit.addField.json @@ -1,5 +1,5 @@ { - "documentation" :"https://cwiki.apache.org/confluence/display/solr/Schema+API", + "documentation" :"https://lucene.apache.org/solr/guide/schema-api.html", "type":"object", "properties":{ "name": { @@ -78,7 +78,7 @@ }, "docValues": { "type": "boolean", - "description": "If true, field values will be stored in a column-oriented docValues structure. This can be more efficient for some fields, particularly those used for faceting. More information is available from https://cwiki.apache.org/confluence/display/solr/DocValues. If this is not defined, it will inherit the value from the fieldType. If the fieldType does not define a value, it will default to true for all non-text fields (such as dates, integers, longs, etc.)." + "description": "If true, field values will be stored in a column-oriented docValues structure. This can be more efficient for some fields, particularly those used for faceting. More information is available from https://lucene.apache.org/solr/guide/docvalues.html. If this is not defined, it will inherit the value from the fieldType. If the fieldType does not define a value, it will default to true for all non-text fields (such as dates, integers, longs, etc.)." }, "termPayloads": { "type": "boolean", diff --git a/solr/solrj/src/resources/apispec/core.SchemaEdit.addFieldType.json b/solr/solrj/src/resources/apispec/core.SchemaEdit.addFieldType.json index dda684721fc..56bd6b72099 100644 --- a/solr/solrj/src/resources/apispec/core.SchemaEdit.addFieldType.json +++ b/solr/solrj/src/resources/apispec/core.SchemaEdit.addFieldType.json @@ -37,7 +37,7 @@ }, "multiTermAnalyzer": { "description": "A multiterm analyzer section defines how incoming queries that results in Multi-Term expansion will be analyzed for a field of this type.", - "documentation": "https://cwiki.apache.org/confluence/display/solr/Analyzers#Analyzers-AnalysisforMulti-TermExpansion", + "documentation": "https://lucene.apache.org/solr/guide/analyzers.html#analysis-for-multi-term-expansion", "#include": "core.SchemaEdit.addFieldType.analyzers" }, "analyzer": { diff --git a/solr/solrj/src/resources/apispec/core.SchemaEdit.deleteCopyField.json b/solr/solrj/src/resources/apispec/core.SchemaEdit.deleteCopyField.json index dd6ff3acae0..682c9f6e2e4 100644 --- a/solr/solrj/src/resources/apispec/core.SchemaEdit.deleteCopyField.json +++ b/solr/solrj/src/resources/apispec/core.SchemaEdit.deleteCopyField.json @@ -1,6 +1,6 @@ { "type":"object", - "documentation": "https://cwiki.apache.org/confluence/display/solr/Schema+API#SchemaAPI-DeleteaCopyFieldRule", + "documentation": "https://lucene.apache.org/solr/guide/schema-api.html#delete-a-copy-field-rule", "description": "Deletes a copy field rule. Both sides of the copy rule (source and destination) are required in order to delete the rule.", "properties":{ "source": { diff --git a/solr/solrj/src/resources/apispec/core.SchemaEdit.deleteDynamicField.json b/solr/solrj/src/resources/apispec/core.SchemaEdit.deleteDynamicField.json index 955054847d2..3822da74155 100644 --- a/solr/solrj/src/resources/apispec/core.SchemaEdit.deleteDynamicField.json +++ b/solr/solrj/src/resources/apispec/core.SchemaEdit.deleteDynamicField.json @@ -1,5 +1,5 @@ { - "documentation": "https://cwiki.apache.org/confluence/display/solr/Schema+API#SchemaAPI-DeleteaDynamicFieldRule", + "documentation": "https://lucene.apache.org/solr/guide/schema-api.html#delete-a-dynamic-field-rule", "description": "Deletes a dynamic field.", "type":"object", "properties": { diff --git a/solr/solrj/src/resources/apispec/core.SchemaEdit.deleteField.json b/solr/solrj/src/resources/apispec/core.SchemaEdit.deleteField.json index 6c2cb006204..ffd6a4a6e80 100644 --- a/solr/solrj/src/resources/apispec/core.SchemaEdit.deleteField.json +++ b/solr/solrj/src/resources/apispec/core.SchemaEdit.deleteField.json @@ -1,5 +1,5 @@ { - "documentation" : "https://cwiki.apache.org/confluence/display/solr/Schema+API#SchemaAPI-DeleteaField", + "documentation" : "https://lucene.apache.org/solr/guide/schema-api.html#delete-a-field", "description": "Deletes a field from the schema.", "type":"object", "properties":{ diff --git a/solr/solrj/src/resources/apispec/core.SchemaEdit.deleteFieldType.json b/solr/solrj/src/resources/apispec/core.SchemaEdit.deleteFieldType.json index 712462a515a..c2b629fd91c 100644 --- a/solr/solrj/src/resources/apispec/core.SchemaEdit.deleteFieldType.json +++ b/solr/solrj/src/resources/apispec/core.SchemaEdit.deleteFieldType.json @@ -1,5 +1,5 @@ { - "documentation":"https://cwiki.apache.org/confluence/display/solr/Schema+API#SchemaAPI-DeleteaFieldType", + "documentation":"https://lucene.apache.org/solr/guide/schema-api.html#delete-a-field-type", "description": "Deletes a field type from the schema.", "type":"object", "properties": { diff --git a/solr/solrj/src/resources/apispec/core.SchemaEdit.json b/solr/solrj/src/resources/apispec/core.SchemaEdit.json index bbf4082369e..d824671f3fb 100644 --- a/solr/solrj/src/resources/apispec/core.SchemaEdit.json +++ b/solr/solrj/src/resources/apispec/core.SchemaEdit.json @@ -1,6 +1,6 @@ { - "documentation": "https://cwiki.apache.org/confluence/display/solr/Schema+API", - "description": "The Schema API provides viewing, editing, adding, and deleting elements of Solr's schema. This API can only be used if Managed Schema is enabled and the schema is defined as mutable. See https://cwiki.apache.org/confluence/display/solr/Schema+Factory+Definition+in+SolrConfig for more information about enabling Managed Schema.", + "documentation": "https://lucene.apache.org/solr/guide/schema-api.html", + "description": "The Schema API provides viewing, editing, adding, and deleting elements of Solr's schema. This API can only be used if Managed Schema is enabled and the schema is defined as mutable. See https://lucene.apache.org/solr/guide/schema-factory-definition-in-solrconfig.html for more information about enabling Managed Schema.", "methods": [ "POST" ], diff --git a/solr/solrj/src/resources/apispec/core.SchemaRead.copyFields.json b/solr/solrj/src/resources/apispec/core.SchemaRead.copyFields.json index 4cf822e2441..0ba3deff2d3 100644 --- a/solr/solrj/src/resources/apispec/core.SchemaRead.copyFields.json +++ b/solr/solrj/src/resources/apispec/core.SchemaRead.copyFields.json @@ -1,5 +1,5 @@ { - "documentation": "https://cwiki.apache.org/confluence/display/solr/Schema+API#SchemaAPI-ListCopyFields", + "documentation": "https://lucene.apache.org/solr/guide/schema-api.html#list-copy-fields", "description": "Lists all copy fields.", "methods": [ "GET" diff --git a/solr/solrj/src/resources/apispec/core.SchemaRead.dynamicFields_fieldTypes.json b/solr/solrj/src/resources/apispec/core.SchemaRead.dynamicFields_fieldTypes.json index 06424914ded..4acb5aff3a6 100644 --- a/solr/solrj/src/resources/apispec/core.SchemaRead.dynamicFields_fieldTypes.json +++ b/solr/solrj/src/resources/apispec/core.SchemaRead.dynamicFields_fieldTypes.json @@ -1,5 +1,5 @@ { - "documentation": "https://cwiki.apache.org/confluence/display/solr/Schema+API", + "documentation": "https://lucene.apache.org/solr/guide/schema-api.html", "methods": [ "GET" ], diff --git a/solr/solrj/src/resources/apispec/core.SchemaRead.fields.json b/solr/solrj/src/resources/apispec/core.SchemaRead.fields.json index 3b6c787dda8..6d3b993cb85 100644 --- a/solr/solrj/src/resources/apispec/core.SchemaRead.fields.json +++ b/solr/solrj/src/resources/apispec/core.SchemaRead.fields.json @@ -1,5 +1,5 @@ { - "documentation": "https://cwiki.apache.org/confluence/display/solr/Schema+API#SchemaAPI-ListFields", + "documentation": "https://lucene.apache.org/solr/guide/schema-api.html#list-fields", "description": "Get only the fields defined in the schema.", "methods": [ "GET" diff --git a/solr/solrj/src/resources/apispec/core.SchemaRead.json b/solr/solrj/src/resources/apispec/core.SchemaRead.json index c90795470b9..c2a5457bd74 100644 --- a/solr/solrj/src/resources/apispec/core.SchemaRead.json +++ b/solr/solrj/src/resources/apispec/core.SchemaRead.json @@ -1,5 +1,5 @@ { - "documentation": "https://cwiki.apache.org/confluence/display/solr/Schema+API", + "documentation": "https://lucene.apache.org/solr/guide/schema-api.html", "methods": [ "GET" ], diff --git a/solr/solrj/src/resources/apispec/core.Update.json b/solr/solrj/src/resources/apispec/core.Update.json index f9e80c15500..ad42cb56f0f 100644 --- a/solr/solrj/src/resources/apispec/core.Update.json +++ b/solr/solrj/src/resources/apispec/core.Update.json @@ -1,5 +1,5 @@ { - "documentation": "https://cwiki.apache.org/confluence/display/solr/Schema+API", + "documentation": "https://lucene.apache.org/solr/guide/uploading-data-with-index-handlers.html", "methods": [ "POST" ], diff --git a/solr/solrj/src/resources/apispec/core.config.Commands.json b/solr/solrj/src/resources/apispec/core.config.Commands.json index 256306ba2d9..392c149d8b0 100644 --- a/solr/solrj/src/resources/apispec/core.config.Commands.json +++ b/solr/solrj/src/resources/apispec/core.config.Commands.json @@ -1,5 +1,5 @@ { - "documentation": "https://cwiki.apache.org/confluence/display/solr/Config+API", + "documentation": "https://lucene.apache.org/solr/guide/config-api.html", "description": "The Config API enables manipulating various aspects of your solrconfig.xml using REST-like API calls. All properties set with this API update a file called configoverlay.json, but not the solrconfig.xml file itself.", "methods": [ "POST" @@ -12,13 +12,13 @@ "commands": { "set-property:": { "type": "object", - "documentation": "https://cwiki.apache.org/confluence/display/solr/Config+API#ConfigAPI-Commandstomodifytheconfig", + "documentation": "https://lucene.apache.org/solr/guide/config-api.html#commands-to-modify-the-config", "description": "Sets one or more of several pre-defined properties. These properties set cache sizes and classes, commit rules, JMX settings, and request dispatcher settings. See the documentation for the list of properties that are supported. If a property is set that already exists, it will be overwritten.", "additionalProperties": true }, "unset-property": { "type":"array", - "documentation": "https://cwiki.apache.org/confluence/display/solr/Config+API#ConfigAPI-Commandstomodifytheconfig", + "documentation": "https://lucene.apache.org/solr/guide/config-api.html#commands-to-modify-the-config", "description": "Removes one or more of several pre-defined properties. These properties set cache sizes and classes, commit rules, JMX settings, and request dispatcher settings. See the documentation for the list of properties that are supported. The value of the property does not need to be defined with the list of properties, only the name of the property.", "items": { "type": "string" diff --git a/solr/solrj/src/resources/apispec/core.config.Commands.runtimeLib.json b/solr/solrj/src/resources/apispec/core.config.Commands.runtimeLib.json index 8e2fb2de0c8..50a850328a4 100644 --- a/solr/solrj/src/resources/apispec/core.config.Commands.runtimeLib.json +++ b/solr/solrj/src/resources/apispec/core.config.Commands.runtimeLib.json @@ -1,5 +1,5 @@ { - "documentation": "https://cwiki.apache.org/confluence/display/solr/Adding+Custom+Plugins+in+SolrCloud+Mode", + "documentation": "https://lucene.apache.org/solr/guide/adding-custom-plugins-in-solrcloud-mode.html", "description": "Allows you to register .jars that have been uploaded to the .system collection in Solr. Note that uploading the .jar must occur before using this API.", "type": "object", "properties": { diff --git a/solr/solrj/src/resources/apispec/core.config.Params.Commands.json b/solr/solrj/src/resources/apispec/core.config.Params.Commands.json index 474f1a67d4d..675d9ee17cc 100644 --- a/solr/solrj/src/resources/apispec/core.config.Params.Commands.json +++ b/solr/solrj/src/resources/apispec/core.config.Params.Commands.json @@ -1,5 +1,5 @@ { - "documentation": "https://cwiki.apache.org/confluence/display/solr/Request+Parameters+API", + "documentation": "https://lucene.apache.org/solr/guide/request-parameters-api.html", "description": "Create, update and delete request parameter sets (paramsets) to override or replace parameters defined in solrconfig.xml. Parameter sets are used with request handlers by setting the useParams attribute to the paramset name in the definition of the request handler or with individual requests to Solr. Parameter sets defined with this API are stored in a file params.json in ZooKeeper or on the filesystem when not using SolrCloud. Note this API does not directly update solrconfig.xml. ", "methods": [ "POST" diff --git a/solr/solrj/src/resources/apispec/core.config.Params.json b/solr/solrj/src/resources/apispec/core.config.Params.json index cff035039b3..ec4f1768a2c 100644 --- a/solr/solrj/src/resources/apispec/core.config.Params.json +++ b/solr/solrj/src/resources/apispec/core.config.Params.json @@ -1,5 +1,5 @@ { - "documentation": "https://cwiki.apache.org/confluence/display/solr/Request+Parameters+API", + "documentation": "https://lucene.apache.org/solr/guide/request-parameters-api.html", "description": "List all parameter sets (paramsets). Individual paramsets can be requested by paramset name.", "methods": [ "GET" diff --git a/solr/solrj/src/resources/apispec/core.config.json b/solr/solrj/src/resources/apispec/core.config.json index 2633fd96780..81e7d54d651 100644 --- a/solr/solrj/src/resources/apispec/core.config.json +++ b/solr/solrj/src/resources/apispec/core.config.json @@ -1,5 +1,5 @@ { - "documentation": "https://cwiki.apache.org/confluence/display/solr/Config+API", + "documentation": "https://lucene.apache.org/solr/guide/config-api.html", "description": "Gets the Solr configuration for a collection.", "methods": [ "GET" diff --git a/solr/solrj/src/resources/apispec/core.system.blob.json b/solr/solrj/src/resources/apispec/core.system.blob.json index 96fedcf76e2..dc32cfbb133 100644 --- a/solr/solrj/src/resources/apispec/core.system.blob.json +++ b/solr/solrj/src/resources/apispec/core.system.blob.json @@ -1,5 +1,5 @@ { - "documentation": "https://cwiki.apache.org/confluence/display/solr/Blob+Store+API", + "documentation": "https://lucene.apache.org/solr/guide/blob-store-api.html", "description": "Lists blobs in the blob store (the .system collection). The list can be limited by name or name and version.", "methods": [ "GET" diff --git a/solr/solrj/src/resources/apispec/core.system.blob.upload.json b/solr/solrj/src/resources/apispec/core.system.blob.upload.json index 854e544c186..3382b975408 100644 --- a/solr/solrj/src/resources/apispec/core.system.blob.upload.json +++ b/solr/solrj/src/resources/apispec/core.system.blob.upload.json @@ -1,5 +1,5 @@ { - "documentation": "https://cwiki.apache.org/confluence/display/solr/Blob+Store+API", + "documentation": "https://lucene.apache.org/solr/guide/blob-store-api.html", "description": "Uploads a blob to the blob store. Note that the blob store is a specially named collection (which must be '.system') which must be created before uploading a blob to it.", "methods": [ "POST" diff --git a/solr/solrj/src/resources/apispec/cores.Commands.json b/solr/solrj/src/resources/apispec/cores.Commands.json index 1ece63cafed..13f349e1ef0 100644 --- a/solr/solrj/src/resources/apispec/cores.Commands.json +++ b/solr/solrj/src/resources/apispec/cores.Commands.json @@ -1,5 +1,5 @@ { - "documentation": "https://cwiki.apache.org/confluence/display/solr/CoreAdmin+API", + "documentation": "https://lucene.apache.org/solr/guide/coreadmin-api.html", "description": "Actions on non-specific cores. See the /cores/{core} endpoint for actions on specific, named, cores.", "methods": [ "POST" @@ -12,7 +12,7 @@ "commands": { "create": { "type" : "object", - "documentation": "https://cwiki.apache.org/confluence/display/solr/CoreAdmin+API#CoreAdminAPI-CREATE", + "documentation": "https://lucene.apache.org/solr/guide/coreadmin-api.html#coreadmin-create", "description": "Creates a new core. If you are using SolrCloud, you should use the Collections API instead. While a core for a SolrCloud cluster can be created with this API, it is considered an expert-level action. The Collections API has commands for creating new shards and replicas that ensure the safety of those actions within your cluster.", "properties": { "name": { @@ -37,7 +37,7 @@ }, "configSet": { "type": "string", - "documentation": "https://cwiki.apache.org/confluence/display/solr/Config+Sets", + "documentation": "https://lucene.apache.org/solr/guide/config-sets.html", "description": "The name of a config set to use. The config set must already exist. The solr.xml file defines the location of the configset base directory, and configuration files can be shared between cores by defining sub-directories. The files in the named configSet will be used for the schema and config properties instead of defining them explicitly." }, "loadOnStartup": { @@ -60,7 +60,7 @@ }, "props": { "type": "object", - "documentation": "https://cwiki.apache.org/confluence/display/solr/Defining+core.properties", + "documentation": "https://lucene.apache.org/solr/guide/defining-core-properties.html", "description": "Allows adding core.properties for the collection.", "additionalProperties": true }, diff --git a/solr/solrj/src/resources/apispec/cores.Status.json b/solr/solrj/src/resources/apispec/cores.Status.json index 155bcf55216..e674f147a10 100644 --- a/solr/solrj/src/resources/apispec/cores.Status.json +++ b/solr/solrj/src/resources/apispec/cores.Status.json @@ -1,5 +1,5 @@ { - "documentation": "https://cwiki.apache.org/confluence/display/solr/CoreAdmin+API#CoreAdminAPI-STATUS", + "documentation": "https://lucene.apache.org/solr/guide/coreadmin-api.html#coreadmin-status", "description": "Provides status and other information about the status of each core. Individual cores can be requested by core name.", "methods": [ "GET" diff --git a/solr/solrj/src/resources/apispec/cores.core.Commands.json b/solr/solrj/src/resources/apispec/cores.core.Commands.json index 5049a3a23cd..7cdbe537f91 100644 --- a/solr/solrj/src/resources/apispec/cores.core.Commands.json +++ b/solr/solrj/src/resources/apispec/cores.core.Commands.json @@ -1,5 +1,5 @@ { - "documentation": "https://cwiki.apache.org/confluence/display/solr/CoreAdmin+API", + "documentation": "https://lucene.apache.org/solr/guide/coreadmin-api.html", "description": "Actions that are peformed on individual cores, such as reloading, swapping cores, renaming, and others.", "methods": [ "POST" @@ -12,12 +12,12 @@ "commands": { "reload": { "type":"object", - "documentation": "https://cwiki.apache.org/confluence/display/solr/CoreAdmin+API#CoreAdminAPI-RELOAD", + "documentation": "https://lucene.apache.org/solr/guide/coreadmin-api.html#coreadmin-reload", "description": "Reloads a core. This is useful when you have made changes on disk such as editing the schema or solrconfig.xml files. Most APIs reload cores automatically, so this should not be necessary if changes were made with those APIs." }, "swap": { "type":"object", - "documentation": "https://cwiki.apache.org/confluence/display/solr/CoreAdmin+API#CoreAdminAPI-SWAP", + "documentation": "https://lucene.apache.org/solr/guide/coreadmin-api.html#coreadmin-swap", "description": "Swaps the names of two existing Solr cores. This can be used to swap new content into production. The former core can be swapped back if necessary. Using this API is not supported in SolrCloud mode.", "properties": { "with": { @@ -35,7 +35,7 @@ }, "rename": { "type": "object", - "documentation": "https://cwiki.apache.org/confluence/display/solr/CoreAdmin+API#CoreAdminAPI-RENAME", + "documentation": "https://lucene.apache.org/solr/guide/coreadmin-api.html#coreadmin-rename", "description": "Change the name of a core.", "properties": { "to": { @@ -53,7 +53,7 @@ }, "unload": { "type": "object", - "documentation": "https://cwiki.apache.org/confluence/display/solr/CoreAdmin+API#CoreAdminAPI-UNLOAD", + "documentation": "https://lucene.apache.org/solr/guide/coreadmin-api.html#coreadmin-unload", "description": "Removes a core. Active requests would continue to be processed, but new requests will not be sent to the new core. If a core is registered under more than one name, only the name given in the request is removed.", "properties": { "deleteIndex": { @@ -79,7 +79,7 @@ }, "merge-indexes": { "type":"object", - "documentation": "https://cwiki.apache.org/confluence/display/solr/CoreAdmin+API#CoreAdminAPI-MERGEINDEXES", + "documentation": "https://lucene.apache.org/solr/guide/coreadmin-api.html#coreadmin-mergeindexes", "description":"Merges one or more indexes to another index. The indexes must have completed commits, and should be locked against writes until the merge is complete to avoid index corruption. The target core (which is the core that should be used as the endpoint for this command) must exist before using this command. A commit should also be performed on this core after the merge is complete.", "properties": { "indexDir": { @@ -105,7 +105,7 @@ "split": { "#include": "cores.core.Commands.split"}, "request-recovery": { "type":"object", - "documentation": "https://cwiki.apache.org/confluence/display/solr/CoreAdmin+API#CoreAdminAPI-REQUESTRECOVERY", + "documentation": "https://lucene.apache.org/solr/guide/coreadmin-api.html#coreadmin-requestrecovery", "description": "Manually asks a core to recover by synching with a leader. It may help SolrCloud clusters where a node refuses to come back up. However, it is considered an expert-level command, and should be used very carefully." }, "force-prepare-for-leadership": { diff --git a/solr/solrj/src/resources/apispec/cores.core.Commands.split.json b/solr/solrj/src/resources/apispec/cores.core.Commands.split.json index 3aa0a91eeee..5da6c6ec645 100644 --- a/solr/solrj/src/resources/apispec/cores.core.Commands.split.json +++ b/solr/solrj/src/resources/apispec/cores.core.Commands.split.json @@ -1,5 +1,5 @@ { - "documentation": "https://cwiki.apache.org/confluence/display/solr/CoreAdmin+API#CoreAdminAPI-SPLIT", + "documentation": "https://lucene.apache.org/solr/guide/coreadmin-api.html#coreadmin-split", "description": "Allows splitting an index into two or more new indexes.", "type": "object", "properties": {