Generate resources automatically

After you create a Cassandra table and import data, generate resources to complete the set up of DSE Search for the tutorial.

You can generate solrconfig and schema resources automatically when creating a core. You can use either a dsetool command or an HTTP-post command to automatically generate resources, or you can create the core from custom resources using the classic manual method shown in the advanced tutorial.

Follow these steps to create resources automatically using the dsetool command.

Procedure

  1. Exit cqlsh.
  2. Run the following command, which is located in the bin directory of tarball installations. On a tarball installation:
    $ bin/dsetool create_core nhanes_ks.nhanes generateResources=true reindex=true
    There is no output from this command. You can search Solr data after indexing finishes.