nodetool rebuild_index

Performs a full rebuild of the index for a table

Performs a full rebuild of the index for a table

Synopsis

nodetool <options> rebuild_index -- ( <keyspace>.<table>.<indexName> ... ) 
  • Options are:
    • ( -h | --host ) <host name> | <ip address>
    • ( -p | --port ) <port number>
    • ( -pw | --password ) <password >
    • ( -u | --username ) <user name>
    • ( -pwf <passwordFilePath | --password-file <passwordFilePath> )
  • -- separates an option and argument that could be mistaken for a option.
  • keyspace is a keyspace name.
  • table is a table name.
  • indexName is an optional list of index names separated by a space.

The keyspace and table name followed by a list of index names. For example: Standard3.IdxName Standard3.IdxName1

Description

Fully rebuilds one or more indexes for a table.