Riak Search 2.0 Tagging

2015-04-02 Thread Antonio Teixeira
Hello,

I've been using Riak as my main database for a few months, now I've been
experimenting with Riak Search 2.0 and for what I read in your
documentation there is no way to insert a object and tag it in the same
operation.
Right now we have an opaque object and we query them through secondary
indexes, this is becoming unbearable.
 What we need is to store an object and tag(
https://github.com/basho/yokozuna/blob/develop/docs/TAGGING.md) it all in
one step.
Our objects consist of erlang dictionaries and it would be a bit expensive
(performance wise) to convert the Dictionary to a list and then to json in
every database related operation.
We are using Riak 2.0.5, Erlang 17.0 and the PB Driver.

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


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 
order to update an object the meta information could be useful. As a disclaimer 
here, I should mention that I have been using riak-js to access riak 1.4. Now 
I'd like to transition to riak 2.0 and I am looking for the right tools. 

Overall, where can one find more documentation and more concrete examples about 
how to manipulate riak with this client. 
Thanks  regards,
Jose

Sent from my iPad

 On Apr 2, 2015, at 2:36 AM, Brian Roach ro...@basho.com wrote:
 
 Greetings Riak Users!
 
 Today we released the official Node.js client for Riak.
 
 It's available via npm:
 
 https://www.npmjs.com/package/basho-riak-client
 
 The github repo can be found here:
 
 https://github.com/basho/riak-nodejs-client
 
 API docs are published here:
 
 http://basho.github.io/riak-nodejs-client/classes/Client.html
 
 Thanks!
 - Brian Roach
 
 ___
 riak-users mailing list
 riak-users@lists.basho.com
 http://lists.basho.com/mailman/listinfo/riak-users_lists.basho.com

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


[Announcement] Official Riak .NET client released.

2015-04-02 Thread Alex Moore
Greetings Riak Users!

We've released the official .NET client for Riak.
It is a 2.0 compatible evolution of the Corrugated Iron .NET client.

It's available via nuget:

https://www.nuget.org/packages/RiakClient/

The github repo can be found here:

*https://github.com/basho/riak-dotnet-client
https://github.com/basho/riak-dotnet-client*

API docs are published here:

*http://basho.github.io/riak-dotnet-client-api/
http://basho.github.io/riak-dotnet-client-api/*

We would like to give special thanks to Jeremiah Peschka and OJ Reeves for
their hard work on CorrugatedIron, and for passing on CI's stewardship to
Basho so we could continue its story.

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


Re: Riak Search 2.0 Tagging

2015-04-02 Thread Zeeshan Lakhani
Hello Antonio, 

You can insert an object and tag in the same operation, and you can query on 
that tag via Riak Search.

Before writing the object, just apply/set the metadata accordingly. Here’s an 
example in the Erlang client: 
https://github.com/basho/riak-erlang-client/blob/7487c90275c88dbe8ef4c2fed6540864364ca3d4/src/riakc_pb_socket.erl#L3348
 
https://github.com/basho/riak-erlang-client/blob/7487c90275c88dbe8ef4c2fed6540864364ca3d4/src/riakc_pb_socket.erl#L3348.
 

Also, this can be done via http: 
https://github.com/basho/yokozuna/blob/5868266b11f131d14c85495e50f899f3fe8158ba/riak_test/yokozuna_essential.erl#L281
 
https://github.com/basho/yokozuna/blob/5868266b11f131d14c85495e50f899f3fe8158ba/riak_test/yokozuna_essential.erl#L281.

Thanks.

Zeeshan Lakhani
programmer | 
software engineer at @basho | 
org. member/founder of @papers_we_love | paperswelove.org
twitter = @zeeshanlakhani

 On Apr 2, 2015, at 5:24 AM, Antonio Teixeira eagle.anto...@gmail.com wrote:
 
 I've been using Riak as my main database for a few months, now I've been 
 experimenting with Riak Search 2.0 and for what I read in your documentation 
 there is no way to insert a object and tag it in the same operation.
 Right now we have an opaque object and we query them through secondary 
 indexes, this is becoming unbearable.
  What we need is to store an object and 
 tag(https://github.com/basho/yokozuna/blob/develop/docs/TAGGING.md 
 https://github.com/basho/yokozuna/blob/develop/docs/TAGGING.md) it all in 
 one step.
 Our objects consist of erlang dictionaries and it would be a bit expensive 
 (performance wise) to convert the Dictionary to a list and then to json in 
 every database related operation.
 We are using Riak 2.0.5, Erlang 17.0 and the PB Driver.

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


Re: Packagecloud.io issue

2015-04-02 Thread Alex De la rosa
Awesome, I just re-run the aptitude update and aptitude safe-upgrade
and riak didn't come again : )

Thanks!
Alex

On Wed, Apr 1, 2015 at 10:25 PM, Greg Cymbalski gcymbal...@basho.com
wrote:

 Alex-
   Turns out that there was an indexing issue with Packagecloud, which
 should be resolved now. Good news, no need to respin packages :)

   Thanks,
 —Greg

 On Apr 1, 2015, at 11:38 AM, Greg Cymbalski gcymbal...@basho.com wrote:

 Alex-
   We’ve managed to reproduce that issue and are researching it now. It
 does appear to be something in the package itself; not sure how that didn’t
 turn up until now.

   We’ll keep you updated. Thanks!
 —Greg

 On Mar 30, 2015, at 9:00 AM, riak-users-requ...@lists.basho.com wrote:

 Date: Mon, 30 Mar 2015 11:55:41 +0200
 From: Alex De la rosa alex.rosa@gmail.com
 To: riak-users riak-users@lists.basho.com
 Subject: Packagecloud.io issue
 Message-ID:
 CAPphDGoinadFe+qBSaLPzf5z_8XJx1kAfXcGfc=o4t1aea6...@mail.gmail.com
 Content-Type: text/plain; charset=utf-8

 Hi there,

 I want to report again a problem I have with packagecloud.io; everytime I
 do aptitude update I get a hit as if a new version of Riak is available
 (that is not)... and I have to re-install Riak to a version I already have.

 I just did an aptitude safe-upgrade and upgraded Riak to version 2.0.5
 (latest):

 # aptitude safe-upgrade
 The following packages will be upgraded:
  ... ... ... riak ... ... ... ... ... ...
 [...]
 Unpacking riak (2.0.5-1) over (2.0.1) ...
 [...]

 # riak version
 2.0.5

 # aptitude update
 Hit https://packagecloud.io trusty InRelease
 Hit https://packagecloud.io trusty/main Sources
 Hit https://packagecloud.io trusty/main amd64 Packages
 Hit https://packagecloud.io trusty/main i386 Packages

 # aptitude safe-upgrade
 The following packages will be upgraded:
  riak
 1 packages upgraded, 0 newly installed, 0 to remove and 0 not upgraded.
 Need to get 0 B/55.4 MB of archives. After unpacking 0 B will be used.
 Do you want to continue? [Y/n/?]

 if i select Y i get the following:

 Unpacking riak (2.0.5-1) over (2.0.5-1) ...

 and everytime I check for updates, riak comes as requiring an update
 although is not true. How to fix that? makes no sense it continues coming
 as needing to be upgraded when is the same exact version.

 Thanks,
 Alex
 -- next part --
 An HTML attachment was scrubbed...
 URL: 
 http://lists.basho.com/pipermail/riak-users_lists.basho.com/attachments/20150330/b2e2620c/attachment-0001.html
 




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


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


Re: Packagecloud.io issue

2015-04-02 Thread Greg Cymbalski
Alex-
  Turns out that there was an indexing issue with Packagecloud, which should be 
resolved now. Good news, no need to respin packages :)

  Thanks,
—Greg

On Apr 1, 2015, at 11:38 AM, Greg Cymbalski gcymbal...@basho.com wrote:

 Alex-
   We’ve managed to reproduce that issue and are researching it now. It does 
 appear to be something in the package itself; not sure how that didn’t turn 
 up until now.
 
   We’ll keep you updated. Thanks!
 —Greg
 
 On Mar 30, 2015, at 9:00 AM, riak-users-requ...@lists.basho.com wrote:
 
 Date: Mon, 30 Mar 2015 11:55:41 +0200
 From: Alex De la rosa alex.rosa@gmail.com
 To: riak-users riak-users@lists.basho.com
 Subject: Packagecloud.io issue
 Message-ID:
  CAPphDGoinadFe+qBSaLPzf5z_8XJx1kAfXcGfc=o4t1aea6...@mail.gmail.com
 Content-Type: text/plain; charset=utf-8
 
 Hi there,
 
 I want to report again a problem I have with packagecloud.io; everytime I
 do aptitude update I get a hit as if a new version of Riak is available
 (that is not)... and I have to re-install Riak to a version I already have.
 
 I just did an aptitude safe-upgrade and upgraded Riak to version 2.0.5
 (latest):
 
 # aptitude safe-upgrade
 The following packages will be upgraded:
  ... ... ... riak ... ... ... ... ... ...
 [...]
 Unpacking riak (2.0.5-1) over (2.0.1) ...
 [...]
 
 # riak version
 2.0.5
 
 # aptitude update
 Hit https://packagecloud.io trusty InRelease
 Hit https://packagecloud.io trusty/main Sources
 Hit https://packagecloud.io trusty/main amd64 Packages
 Hit https://packagecloud.io trusty/main i386 Packages
 
 # aptitude safe-upgrade
 The following packages will be upgraded:
  riak
 1 packages upgraded, 0 newly installed, 0 to remove and 0 not upgraded.
 Need to get 0 B/55.4 MB of archives. After unpacking 0 B will be used.
 Do you want to continue? [Y/n/?]
 
 if i select Y i get the following:
 
 Unpacking riak (2.0.5-1) over (2.0.5-1) ...
 
 and everytime I check for updates, riak comes as requiring an update
 although is not true. How to fix that? makes no sense it continues coming
 as needing to be upgraded when is the same exact version.
 
 Thanks,
 Alex
 -- next part --
 An HTML attachment was scrubbed...
 URL: 
 http://lists.basho.com/pipermail/riak-users_lists.basho.com/attachments/20150330/b2e2620c/attachment-0001.html
 

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


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

2015-04-02 Thread Brian Roach
Jose,

See: http://basho.github.io/riak-nodejs-client/classes/RiakObject.html

As noted in the docs for StoreValue and FetchValue, you can use
RiakObject instead of a plain string or JS object, and metadata is the
specific reason.

That said, it would appear I forgot about links as link walking is a
deprecated feature in Riak 2.0. I apologize for the oversight and will
add them.

As for explicit examples beyond the normal API docs, our various pages
on docs.bacho.com are being updated to include node.js and will be
done soon.

Thanks!
- Brian Roach





On Thu, Apr 2, 2015 at 5:47 AM, Jose G. Quenum
jose.que...@googlemail.com wrote:
 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 order to update an object the meta information could be useful. As a 
 disclaimer here, I should mention that I have been using riak-js to access 
 riak 1.4. Now I'd like to transition to riak 2.0 and I am looking for the 
 right tools.

 Overall, where can one find more documentation and more concrete examples 
 about how to manipulate riak with this client.
 Thanks  regards,
 Jose

 Sent from my iPad

 On Apr 2, 2015, at 2:36 AM, Brian Roach ro...@basho.com wrote:

 Greetings Riak Users!

 Today we released the official Node.js client for Riak.

 It's available via npm:

 https://www.npmjs.com/package/basho-riak-client

 The github repo can be found here:

 https://github.com/basho/riak-nodejs-client

 API docs are published here:

 http://basho.github.io/riak-nodejs-client/classes/Client.html

 Thanks!
 - Brian Roach

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

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


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

2015-04-02 Thread Brian Roach
Jose,

https://github.com/basho/riak-nodejs-client/pull/35

We'll get that merged pronto.  Will be included in v1.0.2

Thanks!
- Brian Roach

On Thu, Apr 2, 2015 at 7:18 AM, Brian Roach ro...@basho.com wrote:
 Jose,

 See: http://basho.github.io/riak-nodejs-client/classes/RiakObject.html

 As noted in the docs for StoreValue and FetchValue, you can use
 RiakObject instead of a plain string or JS object, and metadata is the
 specific reason.

 That said, it would appear I forgot about links as link walking is a
 deprecated feature in Riak 2.0. I apologize for the oversight and will
 add them.

 As for explicit examples beyond the normal API docs, our various pages
 on docs.bacho.com are being updated to include node.js and will be
 done soon.

 Thanks!
 - Brian Roach





 On Thu, Apr 2, 2015 at 5:47 AM, Jose G. Quenum
 jose.que...@googlemail.com wrote:
 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 order to update an object the meta information could be useful. As a 
 disclaimer here, I should mention that I have been using riak-js to access 
 riak 1.4. Now I'd like to transition to riak 2.0 and I am looking for the 
 right tools.

 Overall, where can one find more documentation and more concrete examples 
 about how to manipulate riak with this client.
 Thanks  regards,
 Jose

 Sent from my iPad

 On Apr 2, 2015, at 2:36 AM, Brian Roach ro...@basho.com wrote:

 Greetings Riak Users!

 Today we released the official Node.js client for Riak.

 It's available via npm:

 https://www.npmjs.com/package/basho-riak-client

 The github repo can be found here:

 https://github.com/basho/riak-nodejs-client

 API docs are published here:

 http://basho.github.io/riak-nodejs-client/classes/Client.html

 Thanks!
 - Brian Roach

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

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