You are viewing a plain text version of this content. The canonical link for it is here.
Posted to solr-user@lucene.apache.org by PORTO aLET <po...@gmail.com> on 2012/10/22 16:31:21 UTC
solr 4.0 point type distance unit
Hi forum,
What is the default distance unit for "point" type ?
Reading solr wiki http://wiki.apache.org/solr/SpatialSearch
it implies that the distance unit is kilometers,
however based on my testing, it seems like the distance unit is in "degree"
How do I make sure if it's in "degree" or "kilometers" ?
I also posted similar question at
http://stackoverflow.com/questions/12999915/solr-4-0-default-distance-unit
Thanks
Re: solr 4.0 point type distance unit
Posted by Erick Erickson <er...@gmail.com>.
Not quite sure what you're asking here. In bold, on the page
you mentioned is:
"NOTE: Unless otherwise specified, all units of distance are
kilometers and points are in degrees of latitude,longitude."
Asking "default distance for point type" is meaningless, it's a lat/lon
coordinate for a spot on the earth's surface. Distance _between_
two points is kilometers, as is, say, the radius with a point at its
center.
Best
Erick
On Mon, Oct 22, 2012 at 10:31 AM, PORTO aLET <po...@gmail.com> wrote:
> Hi forum,
>
> What is the default distance unit for "point" type ?
>
> Reading solr wiki http://wiki.apache.org/solr/SpatialSearch
> it implies that the distance unit is kilometers,
> however based on my testing, it seems like the distance unit is in "degree"
>
> How do I make sure if it's in "degree" or "kilometers" ?
>
> I also posted similar question at
> http://stackoverflow.com/questions/12999915/solr-4-0-default-distance-unit
>
> Thanks