anchor.diff:  // tag::contribute[]
   == How to contribute
   
  -. Fork this repo i.e. <username|organization>/hadoop-solr, following the http://help.github.com/fork-a-repo/[fork a repo/] tutorial. Then, clone the forked repo on your local machine:
  +. Fork this repo i.e. <username|organization>/hadoop-solr, following the http://help.github.com/fork-a-repo/[fork a repo] tutorial. Then, clone the forked repo on your local machine:
   +
   [source, git]
   $ git clone https://github.com/<username|organization>/hadoop-solr.git
  
positive.code: :packageUser: solr
  :connectorVersion: 2.2.2
  
  = Lucidworks Pig Functions for Solr
  
  == Features
  
  * Use Pig scripts to parse content before indexing to Solr.
  * Fully SolrCloud compliant.
  * Supports Kerberos for authentication.
  
  Supported versions are:
  
  * Solr 5.x
  * Pig versions 0.12, 0.13, 0.14, and 0.15
  * Hadoop 2.x
  
  // tag::pig-build[]
  == Build the Functions Jar
  
  Configure solr-hadoop-common submodule.
  
  Run the following commands: git submodule init to initialize your local configuration file. git submodule update to fetch all the data from that project and check out the appropriate commit listed in the superproject.
  
  The build uses Gradle. To build the .jar files, run this command:
  
  `./gradlew clean shadowJar --info`
  
  
negative.code:     fatal: clone of 'git@github.com:LucidWorks/solr-hadoop-common.git' into submodule path 'solr-hadoop-common' failed
  ----
  
  To fix this error, use the https://help.github.com/articles/generating-an-ssh-key/[generating an SSH key] tutorial.
  // end::pig-build[]
  
  // tag::functions[]
  == Available Functions
  
  The Pig functions included in the `{packageUser}-pig-functions-{connectorVersion}.jar` are three UserDefined Functions (UDF) and two Store functions. These functions are:
  
  * `com/lucidworks/hadoop/pig/SolrStoreFunc.class`
  * `com/lucidworks/hadoop/pig/FusionIndexPipelinesStoreFunc.class`
  * `com/lucidworks/hadoop/pig/EpochToCalendar.class`
  * `com/lucidworks/hadoop/pig/Extract.class`
  * `com/lucidworks/hadoop/pig/Histogram.class`
  