Score for each search

Archana Bhattarai ABhattarai at
Thu Aug 4 15:27:29 EDT 2011

Hi Rusty,

Thanks a lot for the answer. We could get some data in the keydata  as follows:


But couldn't exactly interpret what it's representing. I believe p is giving positional information. But why is it two dimensional when the word we searched only occurred once in the document. Does the position ignore stopword positions and just count other words? Also why are there two scores ? Isn't the score normalized ? Or am I doing something wrong to get these scores ?

Thanks a lot in advance,

On Jul 22, 2011, at 11:09 AM, Rusty Klophaus wrote:

Hi Archana,

Yes. When you use a search query to initiate a map/reduce job, the scores are fed into the first phase as keydata, along with other metadata about the search result including positional information and any inline fields.

More information in the links below:

 * (search for "keydata")


On Fri, Jul 22, 2011 at 10:53 AM, Archana Bhattarai <ABhattarai at<mailto:ABhattarai at>> wrote:

Is there a way to get back the score while querying via solr interface or ideally mapreduce over search ? It looks like solr interface only supports sorting.

Thanks in advance,
riak-users mailing list
riak-users at<mailto:riak-users at>

Rusty Klophaus

Basho Technologies, Inc.
11921 Freedom Drive, Suite 550
Reston, VA 20190<>

-------------- next part --------------
An HTML attachment was scrubbed...
URL: <>

More information about the riak-users mailing list