Re: Indexes on 64 bit values

2012-12-09 Thread Deepak Balasubramanyam
That would work too. You could always introduce a new method on the interface that can accommodate a long and deprecate the existing one. That would not break backward compatibility. I doubt the database would break since it already supports 64 bit indexes. Converting the long to its hex equivale

Re: Indexes on 64 bit values

2012-12-09 Thread Jeremiah Peschka
If you need an index on a 64-bit value, you can get creative and store the 64-bit number as the hex representation of your 64-bit value in a binary index. Seems to me that a bit of lateral thinking is easier than a breaking change in either a database client or, worse, a database itself. Example:

Re: Indexes on 64 bit values

2012-12-09 Thread Deepak Balasubramanyam
Bumping this thread back up. Can someone from Basho take a shot at this ? Thanks -Deepak On Wed, Dec 5, 2012 at 6:10 PM, Deepak Balasubramanyam < deepak.b...@gmail.com> wrote: > Hi folks, > > I have a query regarding riak indexes. My current understanding is that > riak cannot index numbers who