Creating a Solr core

Requirements and command for creating a Solr core.

You cannot create a Solr core unless you first upload the schema and configuration files. If you are creating a CQL-backed Solr core, the table must be pre-exist in Cassandra before creating the core.

Use the curl command to create a Solr core.
$ curl "http://localhost:8983/solr/admin/cores?action=CREATE&name=keyspace.table"

Creating a Solr core on one node automatically creates the core on other Solr nodes, and DSE Search stores the files on all the Cassandra nodes.

By default, the cassandra user has full permissions on all keyspaces. If you specify a non-default user to create a Solr core, the specified user must have the necessary Cassandra permissions. When specifying a user to create a Solr core, ensure that the user has either:
  • CREATE permission on all keyspaces
  • All permissions on all keyspaces (superuser)