code: public String addMapDocument(String indexName, String indexType, Map params,ClientOptions clientOptions) throws ElasticSearchException{
  		Object docId = null;
  		Object parentId = null;
  		Object routing = null;
  		String refreshOption = null;
  		if(clientOptions != null) {
  			refreshOption = clientOptions.getRefreshOption();
  			docId = clientOptions.getIdField() != null ? params.get(clientOptions.getIdField()) : null;
  			parentId = clientOptions.getParentIdField() != null ? params.get( clientOptions.getParentIdField()) : null;
  			routing = clientOptions.getRountField() != null ? params.get(clientOptions.getRountField()) : null;
  		}
  		return addDocument(  indexName,   indexType,   params,  docId,  parentId,  routing,  refreshOption);
  	}
docs: 创建或者更新索引文档
  @param indexName
  @param indexType
  @param params
  @return
  @throws ElasticSearchException