Re: Geographical distance searching

2007-10-19 Thread Chris Hostetter
: aaah -- Just to be clear, if you could augment the doc list with a calculated : field ('distance') you would not need to extend XMLWritter - correct? : : And then it would also work with the JSON/pyton/php etc writers. i don't think i ever looked at the patch in question (is it in Jira?) but

Re: Geographical distance searching

2007-10-19 Thread Ryan McKinley
patrick o'leary wrote: Actually misspoke it's the XMLWritter that's final that was a little annoying rather than a handler. Would have been nice to just extend that, and cut down on the code. aaah -- Just to be clear, if you could augment the doc list with a calculated field ('distance') you

Re: Geographical distance searching

2007-10-19 Thread patrick o'leary
Actually misspoke it's the XMLWritter that's final that was a little annoying rather than a handler. Would have been nice to just extend that, and cut down on the code. P Ryan McKinley wrote: SOLR-281 looks like it will solve one of my frustrations, another being that the handlers were f

Re: Geographical distance searching

2007-10-19 Thread Ryan McKinley
SOLR-281 looks like it will solve one of my frustrations, another being that the handlers were final ;-) What handlers are final that you found annoying? Is it close to being committed to the trunk? I hope so ;) Since this patch reworks the *core* query handlers (dismax/standard) I real

Re: Geographical distance searching

2007-10-19 Thread patrick o'leary
Hi Ryan Thanks for looking at it, yes definitely I'd like to contribute back. I'm currently working out some of the logistics to make it easier to maintain. I think I'd need a centralized project to do the releases from, it will have 2 sets of patches in 2 different trunks (lucene & solr), un

Re: Geographical distance searching

2007-10-19 Thread Ryan McKinley
This looks good! Are you interested in contributing it to solr core? One major thing in the solr pipeline you may want to be aware of is the search component interface (SOLR-281). This would let you make simple component that adds the: DistanceQuery dq = new DistanceQuery(dlat,dlng,dradius)

Re: Geographical distance searching

2007-10-19 Thread Doug Daniels
Hi Patrick, Was mainly interested in seeing how you did the RequestHandler. Thanks for sending the link! Best, Doug patrick o'leary wrote: > > Hi Doug > > What exactly are you looking for? > The code for localsolr is still in dev state, but I've left my work open > and available for downloa

Re: Geographical distance searching

2007-10-18 Thread patrick o'leary
Hi Doug What exactly are you looking for? The code for localsolr is still in dev state, but I've left my work open and available for download at http://www.nsshutdown.com/viewcvs/viewcvs.cgi/localsolr/ Once I'm happy with it, I'll donate it back in the form of patches until / unless it's acce

Re: Geographical distance searching

2007-10-18 Thread Doug Daniels
Hi Patrick, Are the solr components of that demo in the repository as well? I couldn't find them there. Best, Doug patrick o'leary wrote: > > As far as I'm concerned nothings going to beat PG's GIS calculations, > but it's tsearch was > a lot slower than myisam. > > My goal was a single sol

Re: Geographical distance searching

2007-09-27 Thread patrick o'leary
As far as I'm concerned nothings going to beat PG's GIS calculations, but it's tsearch was a lot slower than myisam. My goal was a single solution to reduce our complexity, but am interested to know if combining both an rdbms & lucene works for you. Definitely let me know how it goes ! P Gu

Re: Geographical distance searching

2007-09-27 Thread Guillaume Smet
Hi Patrick, On 9/27/07, patrick o'leary <[EMAIL PROTECTED]> wrote: > p.s after a little tidy up I'll be adding this to both lucene and solr's > repositories if folks feel that it's a useful addition. It's definitely very interesting. Did you compare performances of Lucene with a database allowi

Re: Geographical distance searching

2007-09-26 Thread patrick o'leary
Might want to remove the *'s around that url http://www.nsshutdown.com/projects/lucene/whitepaper/locallucene.htm There's actually a download-able demo http://www.nsshutdown.com/solr-example_s1.3_ls0.2.tgz start it up as you would a normal solr example $ cd solr-example/apache-solr*/example $

Re: Geographical distance searching

2007-09-26 Thread Ian Holsman
Have you guys seen Local Lucene ? http://www.nsshutdown.com/projects/lucene/whitepaper/*locallucene*.htm no need for mysql if you don't want too. rgrds Ian Will Johnson wrote: With the new/improved value source functions it should be pretty easy to develop a new best practice. You should be a

RE: Geographical distance searching

2007-09-26 Thread Will Johnson
With the new/improved value source functions it should be pretty easy to develop a new best practice. You should be able to pull in the lat/lon values from valuesource fields and then do your greater circle calculation. - will -Original Message- From: Lance Norskog [mailto:[EMAIL PROTECT