Re: Score for each search

2011-08-05 Thread Archana Bhattarai
Hi Rusty, Thanks for the answer. We have indexed the following json object: { "@class": "com.starsite.data.Answer", "answer_text": "momo is the best nepalese food", "keywords": null, "metaDescription": null, "post_date": null, "id": "202ba4ac-0fd3-4709-ba84-463e0caa413c"

Re: Score for each search

2011-08-05 Thread Rusty Klophaus
Hi Archana, Yes, the 'p' attribute is positional information. That list is indicating that the term occurs on the 0th and 43rd positions in the document, and is 0-indexed. Not sure why you are getting two positions if the word only occurred once. What was the original query? The scoring informati

Re: Score for each search

2011-08-04 Thread Archana Bhattarai
Hi Rusty, Thanks a lot for the answer. We could get some data in the keydata as follows: [{"p":[43,0],"score":[5.3669048584479,1.7201627119528418]} 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

Re: Score for each search

2011-07-22 Thread Rusty Klophaus
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: - http://wiki.basho

Score for each search

2011-07-22 Thread Archana Bhattarai
Hi, 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, Archana ___ riak-users mailing list riak-users@lists.basho.com http