Why does Riak Search find one thing and then tell me there were two?

Ryan Zezeski rzezeski at basho.com
Mon Apr 22 19:35:59 EDT 2013


Rob,

>>> riak.solr.search('test_riak-search', 'terms:plasma\|en', count=10)
> {'max_score': 0.353553, 'num_found': 2, 'docs': []}
>
> How is this happening? Is 'num_found' supposed to be an accurate count?
>

Can you try the same query without the count param.  I would imagine count
maps to 'rows' but if it is by some chance mapping to 'start' then it would
explain the behavior.  A 'start' > 'numFound' would produce an empty list
of docs.

-Z
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.basho.com/pipermail/riak-users_lists.basho.com/attachments/20130422/19022ff0/attachment.html>


More information about the riak-users mailing list