code: func (s *ReindexService) getBody() (interface{}, error) {
  	if s.body != nil {
  		return s.body, nil
  	}
  
  	body := make(map[string]interface{})
  
  	if s.conflicts != "" {
  		body["conflicts"] = s.conflicts
  	}
  	if s.size != nil {
  		body["size"] = *s.size
  	}
  	if s.script != nil {
  		out, err := s.script.Source()
  		if err != nil {
  			return nil, err
  		}
  		body["script"] = out
  	}
  
  	src, err := s.source.Source()
  	if err != nil {
  		return nil, err
  	}
  	body["source"] = src
  
  	dst, err := s.destination.Source()
  	if err != nil {
  		return nil, err
  	}
  	body["dest"] = dst
  
  	return body, nil
  }
docs: // getBody returns the body part of the document request.