anchor.diff:    }
   });
   
  +// end::solr-read[]
  +// tag::solr-write[]
  +
   == Writing data to Solr from Spark Streaming
   
   The `com.lucidworks.spark.SolrSupport` class provides static helper functions for send data to Solr from a Spark streaming application. The `TwitterToSolrStreamProcessor` class provides a good example of how to use the SolrSupport API. For sending documents directly to Solr, you need to build-up a `SolrInputDocument` in your Spark streaming application code.
  
positive.code:   hdfs-to-solr -zkHost $ZK -collection spark-hdfs \
    -hdfsPath /user/spark/testdata/syn_sample_50k \
    -solrJaasAuthConfig=/opt/lucidworks-hdpsearch/job/jaas-client.conf
  
negative.code: = Lucidworks Spark/Solr Integration
  
  This project includes tools for reading data from Solr as a Spark RDD and indexing objects from Spark into Solr using SolrJ.
  
  