Re: need distance in miles not in kilometers

2013-07-02 Thread irshad siddiqui
9 AM > To: solr-user@lucene.apache.org > Subject: need distance in miles not in kilometers > > > Hi, > > > I am suing solr 4.2 and my results are coming proper. > > but now i want to distance in miles and i am getting the distance > in kilometre. > > can anyone

Re: need distance in miles not in kilometers

2013-07-02 Thread Jack Krupansky
Simply multiply by the number of miles per kilometer, 0.621371: fl=_dist_:mul(geodist(),0.621371) -- Jack Krupansky -Original Message- From: irshad siddiqui Sent: Tuesday, July 02, 2013 5:19 AM To: solr-user@lucene.apache.org Subject: need distance in miles not in kilometers Hi, I

need distance in miles not in kilometers

2013-07-02 Thread irshad siddiqui
Hi, I am suing solr 4.2 and my results are coming proper. but now i want to distance in miles and i am getting the distance in kilometre. can anyone tell me how to get the distance in miles. example query &q=*:*&fq={!geofilt}&sfield=latlng&pt=18.9322453,72.8264378001&d=60&fl=_dist_:geod