Create a search index

Create a search index for the tutorial.

Procedure

On the command line in the solr_CQL3tutorial directory, upload the solrconfig.xml and schema.xml to Solr, and create the Solr core named after the Cassandra table and keyspace, nhanes_ks.nhanes.
$ cd install_location/solr_CQL3tutorial

$ curl http://localhost:8983/solr/resource/nhanes_ks.nhanes/solrconfig.xml --data-binary @solrconfig.xml -H 'Content-type:text/xml; charset=utf-8'

$ curl http://localhost:8983/solr/resource/nhanes_ks.nhanes/schema.xml --data-binary @schema.xml -H 'Content-type:text/xml; charset=utf-8'

$ curl "http://localhost:8983/solr/admin/cores?action=CREATE&name=nhanes_ks.nhanes"
You can now begin searching.