Unfortunately this wouldn’t have worked in earlier versions of lucene where you
could pass a SortField to the bindings API either, as that only understood
certain types of sort - part of the reason we removed it in favour of the more
explicit DoubleValuesSource API.
You have a few options here:
Hi,
I would like to influence the score using geographical distance. More distant
documents lower the score.
I have sort field:
SortField geoSort = LatLonDocValuesField.newDistanceSort("location",
pos.getLatitude(), pos.getLongitude());
Then I tried add this sort field to SimpleBindings. I've f