Compiling LocalSolr

While the best endeavors are made to keep the LocalSolr demo up to date.
It often slips behind the latest version in our repository.

This article will show you how to get the latest features, and bug fixes from
our repository.


Prerequisites

  1. Subversion client http://subversion.tigris.org/
  2. Java 1.5 http://java.sun.com/
  3. Ant http://ant.apache.org/


Checkout the locallucene and localsolr code base.

svn co https://locallucene.svn.sourceforge.net/svnroot/locallucene/trunk trunk

Next compile locallucene

cd trunk/locallucene
ant -lib lib/junit.jar
cd ../localsolr/
ant

You will now be left with several sets of libraries that can get included in solr.
To install these into solr simply copy the following jars to solr's lib directory.
located in apache-solr-1.*/example/solr/lib



trunk/locallucene/dist/locallucene.jar
trunk/locallucene/lib/
gt2-referencing-2.3.1.jar
geoapi-nogenerics-2.1-M2.jar
jsr108-0.01.jar

trunk/localsolr/dist/localsolr.jar



Configuring LocalSolr is in the LocalSolr article