blob: 5da6c6ec6455bb9111c0e01159aa6ebbc29436f5 [file] [log] [blame]
{
"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": {
"path": {
"type": "array",
"description": "Directory path(s) in which a piece of the index will be written. This allows splitting the index before creating the cores to contain them. Note if using this approach that the indexes will not be able to receive updates until a new core has been created to handle the incoming updates. If you have already created the new cores, you should define the targetCore property instead.",
"items": {
"type": "string"
}
},
"targetCore": {
"type": "array",
"description": "The target Solr core(s) to which a piece of the index will be merged (if the target core already contains data). This requires that the cores have already been created. If the cores have not yet been created, use the path property instead.",
"items": {
"type": "string"
}
},
"splitKey": {
"type":"string",
"description": "A route key to use for splitting the index. This parameter is optional, but should not be defined if the ranges parameter is also defined."
},
"ranges": {
"type": "string",
"description": "A comma-separated list of hexadecimal hash ranges that will be used to split the core. This parameter is optional, but should not be defined if the splitKey parameter is also defined."
},
"async": {
"type": "string",
"description": "Defines a request ID that can be used to track this action after it's submitted. The action will be processed asynchronously when this is defined. This command can be long-running, so running it asynchronously is recommended."
}
}
}