Format bug on Riak Search PBC Response

2014-03-14 Thread EmiNarcissus
It was a old bug but I get around it with http request instead. Still want to 
confirm.

message RpbSearchQueryResp {
  repeated RpbSearchDoc docs      = 1; // Result documents
  optional float        max_score = 2; // Maximum score
  optional uint32       num_found = 3; // Number of results
}

num_found should better be uint64, uint32 may restrict the number can be found 
by the query.

--  
Best Regards  
Tim Lee


___
riak-users mailing list
riak-users@lists.basho.com
http://lists.basho.com/mailman/listinfo/riak-users_lists.basho.com


Re: Format bug on Riak Search PBC Response

2014-03-14 Thread Sean Cribbs
I would not be concerned that Solr or Riak Search will ever match
4,294,967,296 (2^32) results. uint32 is plenty large for this use.


On Fri, Mar 14, 2014 at 2:45 AM, EmiNarcissus  wrote:

> It was a old bug but I get around it with http request instead. Still want
> to confirm.
>
> message RpbSearchQueryResp {
>   repeated RpbSearchDoc docs  = 1; // Result documents
>   optional floatmax_score = 2; // Maximum score
>   optional uint32   num_found = 3; // Number of results
> }
>
> num_found should better be uint64, uint32 may restrict the number can be
> found by the query.
>
> --
> Best Regards
> Tim Lee
>
>
> ___
> riak-users mailing list
> riak-users@lists.basho.com
> http://lists.basho.com/mailman/listinfo/riak-users_lists.basho.com
>



-- 
Sean Cribbs 
Software Engineer
Basho Technologies, Inc.
http://basho.com/
___
riak-users mailing list
riak-users@lists.basho.com
http://lists.basho.com/mailman/listinfo/riak-users_lists.basho.com