Retrieve GSI Settings
- reference
|
Couchbase Server Enterprise Edition 7.6 reaches End of Life on March 31, 2027. Please upgrade to 8.0.x by following Upgrade, or contact Couchbase Support. |
To retrieve the global secondary index settings use GET /settings/indexes.
Sample Curl Command
The following example retrieves the global secondary index settings of the cluster that the node localhost is a part of.
curl -X GET -u 'Administrator:password' 'http://localhost:8091/settings/indexes'
Sample Response
- 200
-
{ "redistributeIndexes": false, "numReplica": 0, "enablePageBloomFilter": false, "enableShardAffinity": false, "indexerThreads": 4, "memorySnapshotInterval": 200, "stableSnapshotInterval": 5000, "maxRollbackPoints": 2, "logLevel": "verbose", "storageMode": "plasma" } - 401
-
This response code returns an empty body.