mirror of https://github.com/apache/lucene.git
SOLR-10412: v2 API: many API command specification properties are typed "number" but should instead be typed "integer"
This commit is contained in:
parent
21362a3ba4
commit
9dc952a47c
|
@ -107,6 +107,9 @@ Bug Fixes
|
|||
|
||||
* SOLR-10405: v2 API introspect response contains multiple copies of the experimental format WARNING (Cao Manh Dat)
|
||||
|
||||
* SOLR-10412: v2 API: many API command specification properties are typed "number" but should instead be typed "integer"
|
||||
(Steve Rowe, Cao Manh Dat)
|
||||
|
||||
Optimizations
|
||||
----------------------
|
||||
|
||||
|
|
|
@ -42,7 +42,7 @@
|
|||
}
|
||||
},
|
||||
"numShards": {
|
||||
"type": "number",
|
||||
"type": "integer",
|
||||
"description": "The number of shards to be created as part of the collection. Shards are logical partitions of a single collection. Each shard has at least one replica, but more replicas for each shard can be defined with the replicationFactor property. This is a required parameter when using the 'compositeId' router."
|
||||
},
|
||||
"shards": {
|
||||
|
@ -50,7 +50,7 @@
|
|||
"description": "A comma-separated list of shard names, e.g., shard-x,shard-y,shard-z. This is a required parameter when using the 'implicit' router."
|
||||
},
|
||||
"replicationFactor": {
|
||||
"type": "number",
|
||||
"type": "integer",
|
||||
"description": "The number of replicas to be created for each shard. Replicas are physical copies of each shard, acting as failover for the shard."
|
||||
},
|
||||
"nodeSet": {
|
||||
|
|
|
@ -69,11 +69,11 @@
|
|||
"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":{
|
||||
"type":"number",
|
||||
"type":"integer",
|
||||
"description":"The maximum number of reassignments to have in the queue at one time. Values <=0 use the default value Integer.MAX_VALUE. When this number is reached, the process waits for one or more leaders to be successfully assigned before adding more to the queue."
|
||||
},
|
||||
"maxWaitSeconds":{
|
||||
"type":"number",
|
||||
"type":"integer",
|
||||
"description":"Timeout, in seconds, when waiting for leaders to be reassigned. If maxAtOnce is less than the number of reassignments pending, this is the maximum interval for any single reassignment.",
|
||||
"default": "60"
|
||||
}
|
||||
|
|
|
@ -10,7 +10,7 @@
|
|||
"description": "The class name to use for the field type. Class names do not need to be fully qualified if they are included with Solr, so instead of 'org.apache.solr.schema.TextField', you can abbreviate the name as 'solr.TextField'. Custom or third-party class names may need to be fully qualified, however."
|
||||
},
|
||||
"positionIncrementGap": {
|
||||
"type": "number",
|
||||
"type": "integer",
|
||||
"description": "The distance between the values of a multivalued field. This is used to prevent inaccurate phrase matches across two separate values of the same field.",
|
||||
"default": "0"
|
||||
},
|
||||
|
|
|
@ -69,7 +69,7 @@
|
|||
"description": "The replica name."
|
||||
},
|
||||
"numShards": {
|
||||
"type":"number",
|
||||
"type":"integer",
|
||||
"description":"The number of shards to create for this core."
|
||||
},
|
||||
"async": {
|
||||
|
|
Loading…
Reference in New Issue