Re: Lucene 5.3.0 GeoPointDistanceQuery

2015-09-21 Thread Pablo Mincz
Thanks for the response. Someone has an example on how to use a FunctionQuery in a CustomScoreQuery with the haversin function? Thanks! Regards, Pablo. On Mon, Aug 24, 2015 at 7:40 PM, Uwe Schindler wrote: > Hi, > > you can use the lucene-expressions module and use the distance function there

RE: Lucene 5.3.0 GeoPointDistanceQuery

2015-08-24 Thread Uwe Schindler
Hi, you can use the lucene-expressions module and use the distance function there as part of the score. In general, just sorting by distance brings bad user experience, because you would ignore the score completely. So you should just "tune" the score by taking the distance into account, e.g. n