basho / riak-nodejs-client

The Riak client for Node.js.
Apache License 2.0
72 stars 28 forks source link

boost the score in geospatial search [JIRA: CLIENTS-834] #154

Open zhaohanweng opened 8 years ago

zhaohanweng commented 8 years ago

Currently the default score returned in a geospatial geofilt search is the distance between the points. so high score equals further away. How can I do this in riak yokoruna?

I can do this solr api: https://wiki.apache.org/solr/SpatialSearch#How_to_boost_closest_results or https://cwiki.apache.org/confluence/display/solr/Spatial+Search under the Boost Nearest Results section

But now sure how to pass in these parameters in nodejs client?