Override _score


(YG) #1

Hello

When I run a regular geopoint query with sorting, it will use _geo_distance to sort. I am wondering is there a way I can override _score field by the value in _geo_distance?

Thanks!


(sandro) #2

This what you are after?function_score


(system) #3