code: public void indexDocument(HashMap<String,Object>indexMap) throws Exception {
  		SolrInputDocument solrDoc=this.buildSolrDocument(indexMap);
  		String docXML=this.convertSolrDocInXML(solrDoc);
  		String xml = "<add>" + docXML + "</add>";
  		DirectXmlRequest xmlreq = new DirectXmlRequest("/update", xml);
  		server.request(xmlreq);
  	}
docs: Indexing API for document do be indexed in HashMap format*