Thanks Bill, Actually i have to return the distances for every results that
how far it is from the searched location thats why i am calculating the
distance using  geodist separately and then using that distance for passing
to fl as well as in boosting for 250km.
*.....&distance=geodist($lat,$lon,latlon)&fl=title,$distance&boost=map($distance,0,250,10,1)*

Thanks
Aman Tandon


On Thu, Apr 10, 2014 at 8:35 AM, Bill Bell <billnb...@gmail.com> wrote:

> Just take geodist and use the map function and send to bf or boost
>
> Bill Bell
> Sent from mobile
>
>
> > On Apr 9, 2014, at 8:26 AM, Erick Erickson <erickerick...@gmail.com>
> wrote:
> >
> > Why do you want to do this? This sounds like an XY problem, you're
> > asking how to do something specific without explaining why you care,
> > perhaps there are other ways to do this.
> >
> > Best,
> > Erick
> >
> >> On Tue, Apr 8, 2014 at 11:30 PM, Aman Tandon <amantandon...@gmail.com>
> wrote:
> >> How can i gave the more boost to the results within 250km than others
> >> without using result filtering.
>

Reply via email to