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. $SOLR_HOME/example/exampledocs/post.jar ...

Get Scaling Apache Solr now with the O’Reilly learning platform.

O’Reilly members experience books, live events, courses curated by job role, and more from O’Reilly and nearly 200 top publishers.