Index sample data

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

Replace 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: -H "Content-Type: text/xml" --data-binary @{} \;