Secondary index in riak

2015-02-19 Thread Jose G. Quenum
Hi all, I'm getting into a scenario where I'd like to use a secondary index on a particular field in my riak object/data. However the value of the field might change albeit very very rarely. So I was thinking I could just reindex using the new value. What's the right syntax to delete and add a n

Re: Secondary index in riak

2015-02-20 Thread Jose G. Quenum
Thanks to all. I'll take that option. Will let you guys know if I get any strange behavior. Sent from my iPad > On Feb 19, 2015, at 4:50 PM, Christopher Meiklejohn > wrote: > > >> On Feb 19, 2015, at 9:47 AM, Daniel Iwan wrote: >> >> My ideas: >> 1. Rewrite (read-write) object with new va

Re: [Announcement] Official Riak Node.js client released.

2015-04-02 Thread Jose G. Quenum
Dear Brian, Thank you very much for sharing this link. I have been looking for a riak client for node.js that is compatible with riak 2.0. However, having glanced at it I noticed that there was no method to access the meta information. This is good for link manipulation, for example. As well in

Re: Object metadata via NodeJS client

2015-04-08 Thread Jose G. Quenum
Thanks a bunch Luke. It's now getting clear. However the links manipulation is not available yet on the API docs. I guess it's just a matter of update. I will now start re implementing my riak data access with this client. When I get questions I will turn to you guys. Regards Jose Sent from my

Re: Object metadata via NodeJS client

2015-04-09 Thread Jose G. Quenum
setLinks() > > -- > Luke Bakken > Engineer > lbak...@basho.com > > > On Wed, Apr 8, 2015 at 8:56 AM, Jose G. Quenum > wrote: >> Thanks a bunch Luke. It's now getting clear. However the links manipulation >> is not available yet on the API docs. I gu

Re: Object metadata via NodeJS client

2015-04-17 Thread Jose G. Quenum
te: > > José, > > Check out the following methods in the document: > > http://basho.github.io/riak-nodejs-client/classes/RiakObject.html > > hasLinks() > getLinks() > setLinks() > > -- > Luke Bakken > Engineer > lbak...@basho.com > > > On Wed,

Re: Node.js client addIndex() and map/reduce questions (Was: Object metadata via NodeJS client)

2015-04-17 Thread Jose G. Quenum
Thanks! Will peruse through these links Sent from my iPad On Apr 17, 2015, at 7:15 PM, Luke Bakken wrote: >> 1 - when I have several indices to add to an object can I just chain them to >> the riakObject, ie, call successive addIndex methods to a riakObject? > > Source code is available as pa