dsetool core_indexing_status
Retrieves the dynamic indexing status of a search index on a DSE Search node and displays the percent complete, an estimated completion time in milliseconds, and the reindexing reason.
Restriction: Command is supported only on nodes with DSE Search workloads.
Synopsis
dsetool core_indexing_status [keyspace_name.]table_name [--all] [--progress]
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. |
Retrieves the dynamic indexing status (INDEXING
, FINISHED
, or FAILED
) of the specified index or indexes.
Also identifies the reindexing reason. The possible reason for a reindexing event is categorized as one of the following:
-
BOOTSTRAP
-
NEW_SSTABLES
-
USER_REQUEST
Parameters:
[keyspace_name.]table_name
-
The search index table name is required. The keyspace name is optional. The case of keyspace and table names is preserved. You must use the correct case for the keyspace and table names.
--all
-
Retrieve the dynamic indexing status of the specified search index on all nodes.
--progress
-
Display the percent complete, an estimated completion time in milliseconds, and the reindexing reason. This option is ignored and is assumed true. The command always displays the status information.
Examples
These examples use the demo
keyspace and health_data
table.
To view the indexing status for the local node:
dsetool core_indexing_status demo.health_data
The results are displayed:
[demo.health_data]: INDEXING, 38% complete, ETA 452303 milliseconds (7 minutes 32 seconds),
reason: USER_REQUEST
To view the indexing status for a search index on a specified node:
dsetool -h 200.192.10.11 core_indexing_status demo.health_data
To view indexing status of all search indexes in the data center:
dsetool core_indexing_status demo.health_data --all
The results are displayed for 3 nodes in the data center:
Address Core Indexing Status
200.192.10.11 FINISHED
200.192.10.12 FINISHED
200.192.10.23 FINISHED