O'Reilly logo

Scaling Apache Solr by Hrishikesh Vijay Karambelkar

Stay ahead with the world's most comprehensive technology and business learning platform.

With Safari, you learn the way you learn best. Get unlimited access to videos, live online training, learning paths, books, tutorials, and more.

Start Free Trial

No credit card required

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 ...

With Safari, you learn the way you learn best. Get unlimited access to videos, live online training, learning paths, books, interactive tutorials, and more.

Start Free Trial

No credit card required