question: public UpdateRequest add ( final SolrInputDocument doc , Integer commitWithin , Boolean overwrite ) { Objects . requireNonNull ( doc , "Cannot add a null SolrInputDocument" ) ; if ( documents == null ) { documents = new LinkedHashMap < > ( ) ; } Map < String , Object > params = new HashMap < > ( 2 ) ; if ( commitWithin != null ) params . put ( COMMIT_WITHIN , commitWithin ) ; if ( overwrite != null ) params . put ( OVERWRITE , overwrite ) ; documents . put ( doc , params ) ; return this ; }
target:  Add a SolrInputDocument to this request