incubator-zeta-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From David Rekowski <david.rekow...@gmx.de>
Subject Re: [zeta-dev] ezcSearch: support for geo distance search
Date Tue, 11 Oct 2011 10:48:16 GMT
Henri,

Henri Bergius schrieb:
> Hi,
> 
> On Tue, Oct 11, 2011 at 1:15 PM, David Rekowski <david.rekowski@gmx.de> wrote:
>> Please find attached, a proposal for geo distance search support of solr.
>> 2) I added a struct for the search value, i.e. a geoposition (lat,lng)
>> and a distance (km). Search field and value are stored in the query
>> object in eq().
> 
> Looks useful!
> 
> However, instead of using your own class for locations, how about
> using the more full-featured one from my location library?
> https://github.com/bergie/midgardmvc_helper_location/blob/master/spot.php
> (I know, LGPL and not in Zeta yet. I should really finish the porting)

surely useful in itself, but since we don't do anything other than
storing and retrieving the properties, I don't see, how we could benefit
from the functionality it provides. I will keep that in mind though, for
other uses.

- David

-- 
David Rekowski
mailto:david.rekowski@gmx.de


Mime
View raw message