lucene-solr-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Emad Mushtaq <>
Subject Problems with variable geo_distance
Date Wed, 03 Mar 2010 11:48:25 GMT

I am having a very strange problem, related to local solr. In my documents
there is a record for location called "Gujranwala" which is a city in
Pakistan. I try to get search results with respect to coordinates of
"Lahore" (another city of Pakistan). When I do a search within 100 miles,
there are no results. When I do a search of 200 miles, it gives me
Gujranwala in the end results. However the problem over here is that the
geo_distance it gives is 48.112120348665925. This result should had been in
the search within 100 miles since the geo_distance is 48.112.  Here is the
query that I was making:


The coordinates of Gujranwala is :
<double name="latitude">32.168652</double>
<double name="longitude">74.173981</double>

I would appreciate any help on this.


Muhammad Emad Mushtaq

  • Unnamed multipart/alternative (inline, None, 0 bytes)
View raw message