To generate sample configuration run the following solrct command.
solrctl instancedir --generate pubmed-confOnce you've created the sample configuration, you will edit schema.xml to have the appropriate field and field type information. Additionally you can edit solrconfig to change the default search query field or add additional handlers.
After creating the config, push it to Zookeeper with
solrctl instancedir --create pubmed pubmed-confTo update the configuration at any point you can do
solrctl instancedir --update pubmed pubmed-confThen you can create a collection associated with that configuration
solrctl --solr http://<your-domain-here>:8983/solr collection --create pubmedTODOhadoop jar /opt/cloudera/parcels/CDH/lib/solr/contrib/mr/search-*-job.jar \
org.apache.solr.hadoop.MapReduceIndexerTool
-D 'mapred.child.java.opts=-Xmx500m'
--morphline-file pubmed-morphline.conf
--output-dir hdfs://<your-namenode-here>/path/to/output
--verbose
--go-live
--zk-host <your-zk-host-here>:2181/solr
--collection pubmed
<your-namenode-here>/path/to/input