dsetool read_resource
Reads the specified search index config or schema.
Supports DSE authentication with [-l <username> -p <password>]
.
Restriction: Command is supported only on nodes with DSE Search workloads.
Synopsis
dsetool read_resource <keyspace_name>.<table_name> name=<res_filename>
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.
- res_filename
-
The name of the search index resource file to read.
Examples
To read the resource:
dsetool read_resource demo.health_data stopwords.xml
After reading the resource, then upload the search index.