Index sample data

Cloudera Search includes sample data for testing and validation. Run the relevant command to index this data for searching.

Replace search01.example.com in the example below with the name of any host running the Solr Server process.
  1. SSH to a Solr host.
  2. Run the following command:
    cd /opt/cloudera/parcels/CDH/share/doc/solr-doc*/example/exampledocs
                         find *.xml -exec curl -i -k --negotiate -u: https://search01.example.com:8985/solr/test_collection/update -H "Content-Type: text/xml" --data-binary @{} \;