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 found some code, where 
SortField is added to SimpleBindings, but
lucene 9.4.x API doesn't have this capability.

What is the proper way to do this?

thank you, Michal Hlavac



---------------------------------------------------------------------
To unsubscribe, e-mail: java-user-unsubscr...@lucene.apache.org
For additional commands, e-mail: java-user-h...@lucene.apache.org

Reply via email to