anchor.diff: +:packageUser: solr
  +:connectorVersion: 2.2.2
  +
   = Hadoop Job Jar
   
   This project includes tools to build a Hadoop job jar that can index documents from HDFS to Solr.
  
positive.code: * Solr 5.x
  * Hadoop 2.x
  
  // tag::build[]
  == How to Build
  
  
negative.code: . Run a MapReduce job to extract text and metadata from the raw content.
  . Run a MapReduce job to send the extracted content from HDFS to Solr using the SolrJ client. This implementation works with SolrJ's CloudServer Java client which is aware of where Solr is running via Zookeeper.
  
  NOTE: Incremental indexing, where only changes to a document or directory are processed on successive job jar runs, is not supported. All three steps will be completed each time the job jar is run, regardless of whether the original content has changed.
  
  The first step of the process converts the input content into a SequenceFile. In order to do this, the entire contents of that file must be read into memory so that it can be written out as a LWDocument in the SequenceFile. Thus, you should be careful to ensure that the system does not load into memory a file that is larger than the Java heap size of the process.
  
  