Solrj is a java client to access solr. It offers a java interface to add, update, and query the solr index. This page describes the use of the SolrJ releases included with Solr 1.4.x releases, with the 1.4.x war files.
SolrJ
is an API that makes it easy for Java applications to talk to Solr. SolrJ hides a lot of the details of connecting to Solr and allows your application to interact with Solr with simple high-level methods. It offers a java interface to add, update, and query the solr index.
SolrJ generally maintains backwards compatibility, so you can use a newer SolrJ with an older Solr, or an older SolrJ with a newer Solr.
SolrJ is designed as an extendable framework to pass SolrRequest
to the SolrServer
and return a SolrResponse
.
SolrJ lets you upload content in XML and Binary format. The default is set to be XML.
This page describes the use of the SolrJ releases included with Solr 1.4.x releases, with the 1.4.x war files.
For more details and example, find wiki for SolrJ.