dsetool rebuild_indexes
Rebuilds secondary indexes.
Restriction: Command is supported only on nodes with DSE Search workloads.
Synopsis
dsetool rebuild_indexes keyspace_name.table_name [index1,index2,...]
Syntax conventions
Syntax conventions | Description |
---|---|
UPPERCASE |
Literal keyword. |
Lowercase |
Not literal. |
|
Variable value. Replace with a valid option or user-defined value. |
|
Optional.
Square brackets ( |
|
Group.
Parentheses ( |
|
Or.
A vertical bar ( |
|
Repeatable.
An ellipsis ( |
|
Single quotation ( |
|
Map collection.
Braces ( |
|
Set, list, map, or tuple.
Angle brackets ( |
|
End CQL statement.
A semicolon ( |
|
Separate the command line options from the command arguments with two hyphens ( |
|
Search CQL only: Single quotation marks ( |
|
Search CQL only: Identify the entity and literal value to overwrite the XML element in the schema and solrconfig files. |
keyspace_name.table_name
-
Required. The keyspace and table names of the search index. Keyspace and table names are case-sensitive. Enclose names that contain uppercase in double quotation marks.
index1
,index2
,…
-
Include one or a comma-separated list of secondary indexes to rebuild. If indexes are not specified, rebuilds all indexes.
Examples
To rebuild all secondary indexes:
dsetool rebuild_indexes demo.health_data
To rebuild only the specified secondary indexes:
dsetool rebuild_indexes demo.health_data index1, index2