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
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