dsetool list_index_files
Lists all index files for a search index on the local node. The results show file name, encryption, disk usage, decrypted size, and encryption overhead. The index file is encrypted only when the backing CQL table is encrypted and the search index uses EncryptedFSDirectoryFactory; otherwise, the index file is decrypted.
Restriction: Command is supported only on nodes with DSE Search workloads.
Synopsis
dsetool list_index_files <keyspace_name> <table_name> [--index <directory>]
Syntax conventions | Description |
---|---|
UPPERCASE |
Literal keyword. |
Lowercase |
Not literal. |
<`Italics>` |
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.
- --index
-
The data directory that contains the index files.
-
If not specified, the default directory is inferred from the search index name.
-
<directory> - A specified file path to the solr.data directory that contains the search index files.
-
Examples
To list the index files:
dsetool list_index_files
The results show file name, encryption, disk usage, decrypted size, and encryption overhead:
Filename Encryption Disk usage Decrypted size Encryption overhead
-------- ---------- ---------- ---------- --------------
segments_1 N/A 7124 bytes N/A N/A
write.lock N/A 3240 bytes N/A N/A
To list the index files in a specified directory:
dsetool list_index_files /My_data_dir