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]


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 persistent snapshot of recovery (default is 5000 ms).


How often the indexer creates an in-memory snapshot for querying (200ms)


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


Set the in-memory snapshot interval at 5 seconds:

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