Steve Rowe created SOLR-10412:
---------------------------------
Summary: v2 API: many API command specification properties are
typed "number" but should instead be typed "integer"
Key: SOLR-10412
URL: https://issues.apache.org/jira/browse/SOLR-10412
Project: Solr
Issue Type: Bug
Security Level: Public (Default Security Level. Issues are Public)
Reporter: Steve Rowe
JSON schema distinguishes between the {{number}} type (which is the same as
JSON's number, i.e. an arbitrary precision floating point number) and the
{{integer}} type; the latter requires integral values.
Here are the inaproppriately typed {{number}} properties I found - note that
*every single {{number}} type in current use* should instead be an {{integer}}:
||apispec file||command||property/ies||
|collections.collection.Commands.json|rebalance-leaders|maxAtOnce,
maxWaitSeconds|
|collections.Commands.json|create|numShards, replicationFactor|
|core.SchemaEdit.addFieldType.json|N/A|positionIncrementGap|
|cores.Commands.json|create|numShards|
--
This message was sent by Atlassian JIRA
(v6.3.15#6346)
---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]