Reading core resources using dsetool
To simplify accessing the Solrconfig.xml and schema.xml files, use the dsetool command.
To simplify accessing the Solrconfig.xml and schema.xml files, use the dsetool command.
The syntax of the
dsetool get_core_schema
$ dsetool get_core_schema keyspace.table [current=true|false]
The syntax of the
dsetool get_core_config
command
is:$ 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.xml or schema.xml 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
For example, to output the current uploaded Solrconfig.xml, use this
command:
$ dsetool get_core_config Solrconfig.xml current=true