Apache Add data to apache solr July 30, 2011 Pramod T P Leave a comment You can add data using the below given command java -jar post.jar data.xml Make sure that you have changed the directory where post.jar and xml files are available from the shell.