Yeah it's hard coded to use miles, 5 years in the US gets to you..
But the functionality doesn't change radius is double so you just need to
convert km to miles
for the DistanceQueryBuilder and just convert back from miles to km to
display.

On Mon, Apr 20, 2009 at 8:14 AM, Wouter Heijke <whei...@xs4all.nl> wrote:

>
> I'm working on local search functionality and am about to use the spatial
> code in contrib.
> I managed to have a proof of concept running using LatLongDistanceFilter.
> The only problem I have with this filter is that it is hardcoded to use
> Miles!
>
> Basically my question is what are the plans for the spatial code? Is it
> going to stay the way it is?
>
> Wouter
>
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: java-dev-unsubscr...@lucene.apache.org
> For additional commands, e-mail: java-dev-h...@lucene.apache.org
>
>

Reply via email to