I have an index describing clinical trials. Often a clinical trial has
multiple locations that a patient can receive care at. Ideally, I would
like to compute the distance from a user's current geolocation to each of
the trial locations, so that I can display the distance to the closest
location pertaining to the trial.
I attempted to used a script_field in order to do this.
I created a gist that creates my simple index and populates some data and
then attempts to calculate the shortest distance from current location.
Any insight as to what I can do to resolve this issue is greatly
You received this message because you are subscribed to the Google Groups "elasticsearch" group.
To unsubscribe from this group and stop receiving emails from it, send an email to firstname.lastname@example.org.
For more options, visit https://groups.google.com/groups/opt_out.