Are integer indexes in 2i 64-bit or 32-bit?

Guido Medina lic_gma at hotmail.com
Thu Jun 7 17:55:27 EDT 2012


All points to 32 bits, at least for the Java client side (indexes can be of type Integer, not Long which is the 64 bits) Look for RiakIndex.java, that will give you some answers.

I don’t know the exact answer though.

Regards,

Guido.

From: Alexander Sicular 
Sent: Thursday, June 07, 2012 10:43 PM
To: Berend Ozceri 
Cc: riak-users at lists.basho.com 
Subject: Re: Are integer indexes in 2i 64-bit or 32-bit?

I would say yes... Probably, if you're on a 64bit system. . Unless you're shifting stuff through JavaScript in which case I doubt it. Cause last I checked, js don't speak 64bit int. 




@siculars on twitter
http://siculars.posterous.com

Sent from my iRotaryPhone

On Jun 7, 2012, at 17:08, Berend Ozceri <berend at eye.fi> wrote:


  I apologize for asking this question if it's an FAQ or is documented somewhere, but I don't see anything specific mentioned about the size of integer indexes in 2i: 

  http://wiki.basho.com/Secondary-Indexes.html

  I certainly could dive into to source code to answer this question, but in case someone here knows, what's the size of an integer index in 2i? I'm hoping that the answer will be that it's 64 bits…

  Thanks,

  Berend

  _______________________________________________
  riak-users mailing list
  riak-users at lists.basho.com
  http://lists.basho.com/mailman/listinfo/riak-users_lists.basho.com



--------------------------------------------------------------------------------
_______________________________________________
riak-users mailing list
riak-users at lists.basho.com
http://lists.basho.com/mailman/listinfo/riak-users_lists.basho.com
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.basho.com/pipermail/riak-users_lists.basho.com/attachments/20120607/9de567df/attachment.html>


More information about the riak-users mailing list