question: public UpdateRequest add ( final SolrInputDocument doc ) { Objects . requireNonNull ( doc , "Cannot add a null SolrInputDocument" ) ; if ( documents == null ) { documents = new LinkedHashMap < > ( ) ; } documents . put ( doc , null ) ; return this ; }
target:  Add a SolrInputDocument to this request