A newer version of this documentation is available.

View Latest


Set the index service settings.


The basic syntax is:

couchbase-cli setting-index -c [host]:8091 -u [admin] -p [password] [options]


Use this command to set various options for the Index service.


The following are the command options:

Table 1. setting-index options
Options Description


Maximum number of rollback points. Default: 5


How often the indexer creates a stable snapshot of recovery (default is 5 seconds).


How often the indexer creates an in-memory snapshot.


How many CPU cores to use for the indexer (400% - 4 cores)


Indexer log level.


Set the in-memory snapshot interval at 5 seconds:

couchbase-cli setting-index -c -u Administrator -p password \
--index-memory-snapshot-interval 5