Localsolr is not in contrib yet. I am interested in knowing whether currently there is a better solution for setting up a local search.
Cheers. On Sun, Nov 15, 2009 at 9:25 PM, Otis Gospodnetic < [email protected]> wrote: > Nota bene: > My understanding is the external versions of Local Lucene/Solr are > eventually going to be "deprecated" in favour of what we have in contrib. > Here's a stub page with a link to the spatial JIRA issue: > http://wiki.apache.org/solr/SpatialSearch > > Otis > -- > Sematext is hiring -- http://sematext.com/about/jobs.html?mls > Lucene, Solr, Nutch, Katta, Hadoop, HBase, UIMA, NLP, NER, IR > > > > ----- Original Message ---- > > From: Bertie Shen <[email protected]> > > To: [email protected] > > Sent: Sat, November 14, 2009 3:32:01 AM > > Subject: Some guide about setting up local/geo search at solr > > > > Hey, > > > > I spent some times figuring out how to set up local/geo/spatial search at > > solr. I hope the following description can help given the current > status. > > > > 1) Download localsolr. I download it from > > http://developer.k-int.com/m2snapshots/localsolr/localsolr/1.5/ and put > jar > > file (in my case, localsolr-1.5.jar) in your application's WEB_INF/lib > > directory of application server. > > > > 2) Download locallucene. I download it from > > http://sourceforge.net/projects/locallucene/ and put jar file (in my > case, > > locallucene.jar in locallucene_r2.0/dist/ diectory) in your application's > > WEB_INF/lib directory of application server. I also need to copy > > gt2-referencing-2.3.1.jar, geoapi-nogenerics-2.1-M2.jar, and > jsr108-0.01.jar > > under locallucene_r2.0/lib/ directory to WEB_INF/lib. Do not copy > > lucene-spatial-2.9.1.jar under Lucene codebase. The namespace has been > > changed from com.pjaol.blah.blah.blah to org.apache.blah blah. > > > > 3) Update your solrconfig.xml and schema.xml. I copy it from > > http://www.gissearch.com/localsolr. > > > > 4) Restart application server and try a query > > /solr/select?&qt=geo&lat=xx.xx&long=yy.yy&q=abc&radius=zz. > >
