Retrieve Score - MapReduce over Search

Barron Logan blogan at
Wed Aug 3 13:55:24 EDT 2011


we are using riak search in our project via the riak-java client.

using mapreduce over search; we are getting back bucket-key pairs but need to get the search-related scores for each returned object as well.

we believe that the score may be in KeyData parameter but are unsure of how to retrieve it? 

can someone give an example of how to write a custom map function (js?) to retrieve the score, or give some additional guidance please?



More information about the riak-users mailing list