Loading data using native handlers
Apache Solr supports add, delete, and update operations on its index store. It ships with inbuilt native handers to work with JSON, XML, and CSV format. These handlers can be called over HTTP by posting a message to them in one of these formats through an update call. Apache Solr also provides an inbuilt posting tool (client application), that can be used to upload data to an Apache Solr server.
Quick and simple data loading – post tool
Apache Solr provides a command-line tool by default for posting your XML information directly to the Apache Solr server. Using this tool, one can upload a document file/folder or it can also be provided through a standard input (STDIN), that is, typed using your keyboard.