You can set a number of internal settings the number of maximum
number of supported buckets supported by the cluster. To get the
current setting of the number of parallel indexers, use a
GET request.
| Method | GET /internalSettings |
| Request Data | None |
| Response Data | JSON of current internal settings |
| Authentication Required | no |
| Return Codes | 200 |
| Settings returned |
For example:
GET http://127.0.0.1:8091/internalSettingsThis returns a JSON structure of the current settings:
{ "indexAwareRebalanceDisabled":false, "rebalanceIndexWaitingDisabled":false, "rebalanceIndexPausingDisabled":false, "maxParallelIndexers":4, "maxParallelReplicaIndexers":2, "maxBucketCount":20 }
To set a configuration value, POST to the URL
a payload containing the updated values.
| Method | POST /settings/maxParallelIndexers |
| Request Data | None |
| Response Data | JSON of the global and node-specific parallel indexer configuration |
| Authentication Required | yes |
| Payload Arguments | |
globalValue | Required parameter. Numeric. Sets the global number of parallel indexers. Minimum of 1, maximum 1024. |
| Return Codes | |
| 400 | globalValue not specified or invalid |
For example, to update the maximum number of buckets:
shell> curl -v -X POST http://Administrator:Password@localhost:8091/internalSettings \ -d maxBucketCount=20