Re: using g-counter for sequence number synchronization

2015-02-04 Thread Bryce Kerley
On Mon, Jan 26, 2015 at 12:56 AM, Christopher Meiklejohn < cmeiklej...@basho.com> wrote: > > Using the sum of the integers of a G-Counter (or a G-Counter built on > Riak’s set data structure) does not guarantee a globally unique number; > given these counters are designed (and therefore allowed) t

Re: Riak client returnTerm and regexp

2015-02-04 Thread Sean Cribbs
Hi Daniel, Have a look at this page: http://docs.basho.com/riak/latest/dev/references/protocol-buffers/secondary-indexes/ 'return_terms' is a flag you can pass true or false for. It ensures that you get the value of the index as well as the associated key with your result set, which can make it e

Riak client returnTerm and regexp

2015-02-04 Thread Daniel Iwan
I watched Ricon2014 video from Martin @NHS. Before the end of his talk he briefly mentions returnTerm option and also something about regular expression matching (2i ?) https://www.youtube.com/watch?v=5Plsj6Zl-kM http://basho.github.io/riak-java-client/1.4.4/com/basho/riak/pbc/IndexRequest.html#r