anchor.diff:  //tag::spark-auth[]
   == Authenticating with Solr
   
  -For background on Solr security, see: https://cwiki.apache.org/confluence/display/solr/Security.
  +For background on Solr security, see: https://lucene.apache.org/solr/guide/6_6/securing-solr.html[Securing Solr].
   
   === Kerberos
   
  -The kerberos config should be set via system param `java.security.auth.login.config` on extraJavaOptions for both executor and driver
  +The Kerberos config should be set via system param `java.security.auth.login.config` on extraJavaOptions for both executor and driver.
   
   ==== SparkApp
   The SparkApp framework (in spark-solr) allows you to pass the path to a JAAS authentication configuration file using the `-solrJaasAuthConfig option`.
  
positive.code: 
  ==== gen_uniq_key
  
  If the documents are missing the unique key (derived from Solr schema), then the `gen_uniq_key` option will generate a unique value for each document before indexing to Solr. Instead of this option, the http://lucene.apache.org/solr/5_5_0/solr-core/org/apache/solr/update/processor/UUIDUpdateProcessorFactory.html[UUIDUpdateProcessorFactory] can be used to generate UUID values for documents that are missing the unique key field
  
  Usage: `option("gen_uniq_key", "true")`
  
  
negative.code: 
  ==== gen_uniq_key
  
  If the documents are missing the unique key (derived from Solr schema), then the `gen_uniq_key` option will generate a unique value for each document before indexing to Solr. Instead of this option, the http://lucene.apache.org/solr/api/solr-core/org/apache/solr/update/processor/UUIDUpdateProcessorFactory.html[UUIDUpdateProcessorFactory] can be used to generate UUID values for documents that are missing the unique key field
  
  Usage: `option("gen_uniq_key", "true")`
  
  