Re: SpatialSearch: sorting by distance

2010-08-02 Thread Chris Hostetter
: sort=dist(2,lat,lon,55.755786,37.617633) asc : : In general results are sorted, but some documents are not in right order. : I'm using DistanceUtils.getDistanceMi(...) from lucene spatial to calculate : real distance after reading documents from Solr. according ot the wiki for hte "dist" funct

Re: SpatialSearch: sorting by distance

2010-07-28 Thread Pavel Minchenkov
Does anybody know if this feature works correctly? Or I'm doing something wrong? 2010/7/27 Pavel Minchenkov > Hi, > > I'm trying to sort by distance like this: > > sort=dist(2,lat,lon,55.755786,37.617633) asc > > In general results are sorted, but some documents are not in right order. > I'm usi

SpatialSearch: sorting by distance

2010-07-27 Thread Pavel Minchenkov
Hi, I'm trying to sort by distance like this: sort=dist(2,lat,lon,55.755786,37.617633) asc In general results are sorted, but some documents are not in right order. I'm using DistanceUtils.getDistanceMi(...) from lucene spatial to calculate real distance after reading documents from Solr. Solr