Reading core resources using dsetool

To simplify accessing the solrconfig and schema, use the dsetool command.

To simplify accessing the solrconfig and schema, use the dsetool command. The syntax of these commands is:

$ dsetool get_core_schema keyspace.table [current=true|false]
$ dsetool get_core_config keyspace.table [current=true|false]

If the value of the current option is false (the default), DSE Search outputs the last solrconfig or schema file that was uploaded; otherwise, DataStax Enterprise outputs the solrconfig or schema currently in use by the core.

For example, to output the latest uploaded schema, use this command:

$ dsetool get_core_schema nhanes_ks.nhanes

The generated schema for the nhanes table in the nhanes_ks keyspace appears.