public DocumentAnalysisRequest addDocument(SolrInputDocument doc){
  documents.add(doc);
  return this;
}

public DocumentAnalysisRequest addDocument ( SolrInputDocument doc ) { documents . add ( doc ) ; return this ; }
adds a document to be analyzed .
