Hi everyone -
Version 2.5.3 of the Riak Erlang client is available from both GitHub
and hex.pm. This is the first version published to hex.pm from Basho,
and I'd like to thank Drew Kerrigan for his assistance in getting that
set up.
https://hex.pm/packages/riakc
https://github.com/basho
;> bucket-type datasource equated to 'set'. Unfortunately though, from the
>> documentation, I'm not able to ascertain how to associate a created set
>> with an existing bucket and a new key reference if I use the Erlang client.
>> This seems possible for other lang
ket-type datasource equated to 'set'. Unfortunately though, from the
> documentation, I'm not able to ascertain how to associate a created set
> with an existing bucket and a new key reference if I use the Erlang client.
> This seems possible for other languages but not for E
#x27;m not able to ascertain how to associate a created set
with an existing bucket and a new key reference if I use the Erlang client.
This seems possible for other languages but not for Erlang, with the Basho
doc mentioning "%% Sets in the Erlang client are opaque data structures
that colle
t; the erlang client in erl. I didn’t see in the documentation how to do a map
> reduce with a bucket type. I have the bucket type and the bucket. I want to
> map reduce to basically filter out any documents whose createTime(which is
> just int/number) is less then 24 hours and return those. I
So I am trying to figure out how to do a map reduce on a bucket type with the
erlang client in erl. I didn’t see in the documentation how to do a map reduce
with a bucket type. I have the bucket type and the bucket. I want to map reduce
to basically filter out any documents whose createTime
Hi everyone -
I just released version 2.4.1 of the Erlang client. The main feature
is support for OTP 19 in the client itself and its dependencies.
Dialyzer appears to be making erroneous warnings at this point that
will be addressed in the future.
https://github.com/basho/riak-erlang-client
w00t
On Friday, July 8, 2016, Luke Bakken wrote:
> Hi everyone -
>
> I just released version 2.4.0 of the Erlang client. The main feature
> is support for both Riak KV and Riak TS.
>
> https://github.com/basho/riak-erlang-client/releases/tag/2.4.0
>
> https://github.com/
Hi everyone -
I just released version 2.4.0 of the Erlang client. The main feature
is support for both Riak KV and Riak TS.
https://github.com/basho/riak-erlang-client/releases/tag/2.4.0
https://github.com/basho/riak-erlang-client/blob/master/RELNOTES.md
https://github.com/basho/riak-erlang
Thank you for the quick answer.
On Wed, May 25, 2016 at 4:13 PM, Nick Marino wrote:
> Hi Richard,
>
> Yes, sharing a riak-erlang-client connection process among multiple Erlang
> processes should not cause any problems. The riak_pb_socket processes are
> implemented using a gen_s
Hi Richard,
Yes, sharing a riak-erlang-client connection process among multiple Erlang
processes should not cause any problems. The riak_pb_socket processes are
implemented using a gen_server, and they use a queuing mechanism to handle
concurrent requests. If process A has sent a request and is
Guys,
most of the examples I can see that riak erlang client processes cannot be
shared with multiple processes. Is it safe if more processes use the same
riak connection? So in other words: is riak erlang client thread-safe?
Thanks
--
Richard Jonas
Erlang Solutions Hungary Kft
Address
ty maintained PBC pooling libraries in the
> > Erlang sub-section of this page:
> >
> > http://docs.basho.com/riak/latest/dev/using/libraries/#Community-Libraries
> > <http://docs.basho.com/riak/latest/dev/using/libraries/#Community-Libraries>
> >
> > II was
gt;
> > You can find a list of community maintained PBC pooling libraries in
> the Erlang sub-section of this page:
> >
> >
> http://docs.basho.com/riak/latest/dev/using/libraries/#Community-Libraries
> >
> > II was under the impression that Riak Erlang
n Thu, Dec 31, 2015 at 5:21 PM, Luke Bakken wrote:
> Hi Paulo,
>
> Why are you considering this? Are you running into issues or
> limitations using the current Erlang client?
>
> --
> Luke Bakken
> Engineer
> lbak...@basho.com
>
> On Thu, Dec 31, 2015 at 1
Hi Paulo,
Why are you considering this? Are you running into issues or
limitations using the current Erlang client?
--
Luke Bakken
Engineer
lbak...@basho.com
On Thu, Dec 31, 2015 at 12:47 AM, Paulo Almeida
wrote:
>
> Hi,
>
> A poolboy or other connection pool based solution still
f this page:
>
> http://docs.basho.com/riak/latest/dev/using/libraries/#Community-Libraries
>
> II was under the impression that Riak Erlang client ships with poolboy so
> I'm uncertain of the distinction between the different libraries listed.
>
> Perhaps someone cou
Community-Libraries
>
> II was under the impression that Riak Erlang client ships with poolboy so
> I'm uncertain of the distinction between the different libraries listed.
>
> Perhaps someone could comment to clarify?
>
> Bryan
>
>
>
> *From: *Paulo Almeida
&g
Hi Paulo,
Riak-erlang-client does not support multiplexing. In fact I believe there would
be some work needed on the riak protocol buffers server code to support
multiplexing.
Riak-erlang-clinet does not use a pool (like poolboy) either.
Cheers
Russell
On 31 Dec 2015, at 01:59, Bryan Hunt
: http://docs.basho.com/riak/latest/dev/using/libraries/#Community-LibrariesII was under the impression that Riak Erlang client ships with poolboy so I'm uncertain of the distinction between the different libraries listed.Perhaps someone could comment to cl
Hi,
Does the Erlang Riak client support multiplexing multiple concurrent calls
in a single TCP connection? Specifically when using the PB interface
(riakc_pb_socket:start_link).
Thanks.
Regards,
Paulo
___
riak-users mailing list
riak-users@lists.basho
Hi,
It’s a long story.
The short answer is: you can’t with that client, it has strong opinions so the
best thing to do is this: have your app interpret the absence of a flag as
false (the bottom/default value for a flag.)
The long story: the semantic for the flag is “observed remove” or “add-wi
When I try this in Erlang:(saving a new Map object to a bucket through )
Map = riakc_map:new(),
Map1 = riakc_map:update({<<"published_b">>, flag},
fun(F) -> riakc_flag:disable(F) end, Map);
I got context_required. How could I create a false flag? I tried ena
Hello, I'm working on a little e2 application that needs to put/get data
to/from riak. I apparently have a misunderstanding
about some things.
I can successfully put and get key-value pairs to a bucket using the
erlang client. However, when I try to curl the
data out, I get nothing. In
ussell Brown
> wrote:
>> Have you included the deps/riak_pb/ebin in your erlang path?
>>
>> On 29 Sep 2014, at 17:18, Jon Brisbin wrote:
>>
>> I’m trying to use the riak-erlang-client from master to talk to Riak 2.0
>> and
>> I’m getting an error when I use the
included the deps/riak_pb/ebin in your erlang path?
>
> On 29 Sep 2014, at 17:18, Jon Brisbin wrote:
>
> I’m trying to use the riak-erlang-client from master to talk to Riak 2.0 and
> I’m getting an error when I use the test commands found in the README:
>
>
in your erlang path?
>
> On 29 Sep 2014, at 17:18, Jon Brisbin wrote:
>
> I’m trying to use the riak-erlang-client from master to talk to Riak 2.0 and
> I’m getting an error when I use the test commands found in the README:
>
> (rabbit@localhost)1> {ok, Pid} = riakc_pb_socke
Have you included the deps/riak_pb/ebin in your erlang path?
On 29 Sep 2014, at 17:18, Jon Brisbin wrote:
> I’m trying to use the riak-erlang-client from master to talk to Riak 2.0 and
> I’m getting an error when I use the test commands found in the README:
>
> (rabbit@localhost
I’m trying to use the riak-erlang-client from master to talk to Riak 2.0 and
I’m getting an error when I use the test commands found in the README:
(rabbit@localhost)1> {ok, Pid} = riakc_pb_socket:start_link("127.0.0.1", 8087).
{ok,<0.685.0>}
(rabbit@localhost)2> ri
tion of this doc has Erlang samples, including
> an example for how to stream:
>
> http://docs.basho.com/riak/2.0.0/dev/using/2i/#Querying
>
> Luc
>
>
> On Thu, Aug 21, 2014 at 10:38 AM, István wrote:
>
>> Let me answer my own question, yes all of these are supporte
:
> Let me answer my own question, yes all of these are supported in the
> Erlang client.
>
> The function I was looking for is get_index_eq:
>
>
> http://basho.github.io/riak-erlang-client/riakc_pb_socket.html#get_index_eq-5
>
> Regards,
> Istvan
>
>
> O
Let me answer my own question, yes all of these are supported in the Erlang
client.
The function I was looking for is get_index_eq:
http://basho.github.io/riak-erlang-client/riakc_pb_socket.html#get_index_eq-5
Regards,
Istvan
On Thu, Aug 21, 2014 at 10:32 AM, István wrote:
> Hi guys,
&g
max_results
Is any of these available in the Erlang client?
Thank you in advance,
Istvan
--
the sun shines for all
___
riak-users mailing list
riak-users@lists.basho.com
http://lists.basho.com/mailman/listinfo/riak-users_lists.basho.com
This is caused by a pattern mismatch in your shell. Your left-hand side of
the assignment is
{ok, [{0, [S]}]}
which indicates that the list returned inside the inner tuple is going to
have only a single element, S. If you change it to:
{ok, [{0, S}]}
it will work, assuming S is not already prev
Hi,
I got it. very much thanks,one more doubt please clarify it.
same thing i have done for another bucket called "test" which contains data
in the form of key, value.
but when i do map reduce i am getting the following:
{ok, [{0,[S]}]} =
riakc_pb_socket:mapred(Pid,<<"test">>,[{map,{qfun,Maps},
On Sat, May 17, 2014 at 10:04 AM, Gopi Krishna wrote:
> Hi,
>
> I am getting the following , don't know what was happening could you
> please elaborate and explain the solution to this.
>
> I am working on erlang-riak-client.
>
>
> 1> {ok, Pid} = riakc_pb_socket:start_link('127.0.0.1',10017).
> {
Hi,
I am getting the following , don't know what was happening could you please
elaborate and explain the solution to this.
I am working on erlang-riak-client.
1> {ok, Pid} = riakc_pb_socket:start_link('127.0.0.1',10017).
{ok,<0.34.0>}
2>
2>
2> Object = riakc_obj:new(<<"test_age">>, <<"test1">>
3.nabble.com/Problem-with-r-object-and-riak-erlang-client-compatibility-tp4031118.html
Sent from the Riak Users mailing list archive at Nabble.com.
___
riak-users mailing list
riak-users@lists.basho.com
http://lists.basho.com/mailman/listinfo/riak-users_lists.basho.com
want to save buckets through riak-erlang-client.
>
> If I save a bucket through HTTP API, I get search results (search-cmd and
> solr interface), but, If I save through riak-erlang-client, I don't have any
> results.
>
> I tried to save the same bucket/key/value through
Hi everybody!
I'm using riakc, branch 1.4 and riak-1.4.7.
I want to save buckets through riak-erlang-client.
If I save a bucket through HTTP API, I get search results (search-cmd and solr
interface), but, If I save through riak-erlang-client, I don't have any results.
I tried to sav
9:44 AM, Buri Arslon wrote:
>
>> Hi guys!
>>
>> I'm playing with Riak 2.0 pre15. I also updated riakc-erlang-client to
>> the latest. I'm getting an error. Any hints? Thanks!
>>
>>
>> ERROR:
>>
>>
Buri,
riak_pb_messages is a module generated by rebar at build time. Do you have
the latest riak_pb dependency? How did you build the client?
On Fri, Mar 21, 2014 at 9:44 AM, Buri Arslon wrote:
> Hi guys!
>
> I'm playing with Riak 2.0 pre15. I also updated riakc-erlang-client t
Hi guys!
I'm playing with Riak 2.0 pre15. I also updated riakc-erlang-client to the
latest. I'm getting an error. Any hints? Thanks!
ERROR:
---
(main@abc)5> {ok, Pid} = riakc_pb_socket:start_link("127.0.0.1", 8087).
{ok,
m/riak/2.0.0pre11/dev/using/search/
>
> On Thu, Mar 20, 2014 at 10:28 AM, Buri Arslon wrote:
> > Hi guys!
> >
> > In yokozuna github page, I see only http examples. Do you have any docs
> for
> > erlang client?
> >
> > thanks,
> > Buriwoy
>
see only http examples. Do you have any docs for
> erlang client?
>
> thanks,
> Buriwoy
>
> ___
> riak-users mailing list
> riak-users@lists.basho.com
> http://lists.basho.com/mailman
Hi guys!
In yokozuna github page, I see only http examples. Do you have any docs for
erlang client?
thanks,
Buriwoy
___
riak-users mailing list
riak-users@lists.basho.com
http://lists.basho.com/mailman/listinfo/riak-users_lists.basho.com
To Konstantin Kalin:
This is not a good place to start discussion about NIFS, but check this
http://ferd.ca/rtb-where-erlang-blooms.html especially last passage.
--
View this message in context:
http://riak-users.197444.n3.nabble.com/Storing-JSON-via-Erlang-Client-tp4029489p4029509.html
Sent
;, <<"my_key">>,
>> <<"{\"key\":\"\val\"}">>,
>> <<"application/json">>),
>> ok = riakc_pb_socket:put(Worker, Obj),
>> ok = riakc_pb_socket:stop(Worker).
>>
>>
>>
>
w(<<"my_bucket">>, <<"my_key">>, <<"{\"key\":\"\val\"}">>,
> > <<"application/json">>),
> > ok = riakc_pb_socket:put(Worker, Obj),
> > ok = riakc_pb_socket:stop(Worker).
> >
> >
&
y_key">>,
> <<"{\"key\":\"\val\"}">>,
> <<"application/json">>),
> ok = riakc_pb_socket:put(Worker, Obj),
> ok = riakc_pb_socket:stop(Worker).
>
>
>
>
> --
> View this message in c
pb_socket:put(Worker, Obj),
ok = riakc_pb_socket:stop(Worker).
--
View this message in context:
http://riak-users.197444.n3.nabble.com/Storing-JSON-via-Erlang-Client-tp4029489p4029491.html
Sent from the Riak Users mailing list archive at Nabble.com.
_
Hi,
Does anyone know of any examples illustrating how to store json values via
the erlang client? I've recently started learning riak & erlang, so
straight forward/simple examples would be appreciated. Thanks.
-Ari
___
riak-users mailing
aialble in erlang client and how it is to be used
correctly?
According to online documentation from here:
http://docs.basho.com/riak/latest/dev/using/keyfilters/#Constructing-key-filters
call is to be done like this (docs for 1.2 through 1.4 have the same example):
: riakc_pb_socket:
Hi Michal,
Sorry for the delay, it has just been updated.
On Mon, Aug 19, 2013 at 3:04 PM, Michał Ptaszek wrote:
> Hi,
>
> are there any plans for keeping the Erlang edoc page up-to-date with the
> current state of the library (http://basho.github.io/riak-erlang-client/)?
>
Hi,
are there any plans for keeping the Erlang edoc page up-to-date with the
current state of the library (http://basho.github.io/riak-erlang-client/)?
Current version seems to be pretty old (Generated by EDoc, Nov 1 2012,
15:19:50): the latest API is not in sync with what we have in 1.4.1 tag
Hi Riak Users,
It seems I have failed to mention that we tagged 1.4.0 of the
riak-erlang-client a few weeks ago! This includes support for all Riak 1.4
features and some other niceties that were picked up along the way.
https://github.com/basho/riak-erlang-client/releases/tag/1.4.0
--
Sean
You can also list all the dependencies explicitly, with tags or refs, in
top-level rebar.config. Of course, if dependencies list changes for
whatever reason (it happened to Riak's Erlang client once), you'll still be
in trouble.
On Tue, Apr 9, 2013 at 10:48 AM, Daniil Churikov wrote
recursively lock all
deps on same commit.
--
View this message in context:
http://riak-users.197444.n3.nabble.com/A-story-about-unexpected-changes-in-riak-erlang-client-dependencies-tp4027582p4027594.html
Sent from the Riak Users mailing list archive at Nabble.com
In regards to 3rd parties, we've generally had good luck asking the
developer to make a tag for us or to merge a branch that has fixed
dependencies. I do agree it is a problem, but it is one that can be fixed.
Sorry you ran into problems in any of our repos, we are working to fix our
process a bi
Glad to hear you are moving away from master dependencies. Would be
great if all of us follow this way. It's sad that even if you
completely sorted out your own deps and rebar.conig's, it does not
solve the problem in general. You may still want to use third-party
deps which are not necessary good
Yuri,
You're certainly not the only one dealing with this. Sorry about that. It's bit
us here at Basho a few times too. As you saw, we're moving toward not having
master dependencies, at least for tagged versions of repos. Especially for
projects that are likely to be dependencies in other proj
Hi,
To begin with, I almost fucked up production servers with these
changes in riak_pb:
https://github.com/basho/riak_pb/commit/2505ff1fa3975b93150d7445b6f7b91940ecb970
Well, this issue boils down to commonly known rebar-related problem. I
was even hesitating which mailing list I should've sent t
It's not automatic, but you can use the memory backend, and add the
{test, true} setting to the riak_kv section of app.config. Then when
you want to clear them, riak_kv_memory_backend:reset(). (From your
test suite you might need to rpc:call/4 that).
On Tue, Feb 5, 2013 at 7:16 AM, Pablo Vieytes
Hi
I've implemented a riak search using riak-erlang-client like this:
First I put an object into Riak using erlang:
$ erl -pa
> ObjUser1 = riakc_obj:new(<<”users”>>, <<”user_one”>>, [{name, mario},
{age, 10}]).
>
netstat:
# netstat -nlt
[1] http://docs.basho.com/riak/latest/references/Configuration-Files/#app-config
Olav
2012/12/12 Pablo Vieytes :
> Hi,
> I'm new with Riak. I'm trying to use riak-erlang-client but I have some
> problems.
>
> I can connect with the browser t
You're pinging the protocol buffer port 8091. HTTP is on another port, check
your app.config setting.
Eric
On Dec 12, 2012, at 6:23 AM, Pablo Vieytes wrote:
> Hi,
> I'm new with Riak. I'm trying to use riak-erlang-client but I have some
> problems.
>
> I c
solved
I just had to connect to the Protobuf Port instead of http port.
2012/12/12 Pablo Vieytes
> Hi,
> I'm new with Riak. I'm trying to use riak-erlang-client but I have some
> problems.
>
> I can connect with the browser to localhost:8091
>
> http://loca
Hi,
I'm new with Riak. I'm trying to use riak-erlang-client but I have some
problems.
I can connect with the browser to localhost:8091
http://localhost:8091/ping -> ok
But I can do a ping with the erlang client.
1> {ok, Pid} = riakc_pb_socket:start_link("127.0.0.1&quo
On Tue, Nov 27, 2012 at 11:41 AM, Alex Rønne Petersen
wrote:
>> In short, the proper way to replace an object is to first fetch the
>> existing object, then update the value of what you fetched, then use
>> riakc_pb_socket:put to write the new value. The reason for doing this
>> is to comply with
new object)?
>
> This one is answered in the "Modifying Data" section of the README:
>
> https://github.com/basho/riak-erlang-client/blob/master/README.md#modifying-data
I don't know how I managed to miss that. Thanks!
>
> In short, the proper way to replace an object
y to replace the object associated with a bucket/key
> pair to simply do a riakc_pb_socket:put/2 with the same bucket/key
> pair (with a new object)?
This one is answered in the "Modifying Data" section of the README:
https://github.com/basho/riak-erlang-client/blob/master/README.md#m
(with a new object)?
* What exactly is the purpose of riakc_obj:update_value/2 (with
regards to the above question)?
* How does one associate a secondary index with an object? Is this
done via riakc_obj:update_metadata/2?
* Is there any particular reason the Erlang client doesn't yet support
Hi Dave
Thanks for the reply. The warnings you posted on the gist do indeed match
those we see.
We're building Riak against R15B01 but the Erlang client against R15B02 as
this is embedded in our own Erlang app running on a separate server. I
don't think the errors reported agains
Hello Martin -
Yes, riak-erlang-client 1.3.1 is the latest tag that you should be
using to build from Github. The protobuffs implementation produces
several warnings during compilation.
I attached the output of 'make' and 'rebar eunit' using Erlang R15B01
to the gist [1]
Hi
We're in the process of upgrading Riak to 1.2.1 and have a question
regarding the correct stable version of the riak-erlang-client to use
within our Erlang app against this version of Riak. It seems that we should
be cloning riak-erlang-client from github and using the state of the co
Julian,
On Thu, Aug 16, 2012 at 6:51 PM, Julian wrote:
>
>
> One of the intriguing things I find is that the exception is listed as
> occuring in one of my own processes that is doing json decoding, however I
> have checked the json by saving it to a file and it does not contain the
> data shown
I have pushed to the gh-pages branch a newly-generated edoc, which
includes the changes Dave mentioned. They should be live now at
http://basho.github.com/riak-erlang-client
On Wed, Aug 29, 2012 at 10:54 PM, Dave Parfitt wrote:
> Hi Julian -
>The riak-erlang-client docs definitely need
s is related to indexing or something like that?
Unfortunately, I did not configure our Riak search and can't say
definitively whether I have secondary indices on those or not.
Thanks
Julian
On Wed, Aug 29, 2012 at 12:54 PM, Dave Parfitt wrote:
> Hi Julian -
>The riak-erlang-client
Hi Julian -
The riak-erlang-client docs definitely need to be updated for search, index,
and map/reduce.
In the meantime, if you notice on this line:
https://github.com/basho/riak-erlang-client/blob/master/src/riakc_pb_socket.erl#L635
you'll see that the type for Options is "sear
s now.
>
> The Map/Reduce functions are available here:
> https://github.com/basho/riak-erlang-client/blob/master/src/riakc_pb_socket.erl#L454
>
> and the Search functions are available here:
> https://github.com/basho/riak-erlang-client/blob/master/src/riakc_pb_socket.erl#L618
>
>
basho/riak-erlang-client/blob/master/src/riakc_pb_socket.erl#L454
and the Search functions are available here:
https://github.com/basho/riak-erlang-client/blob/master/src/riakc_pb_socket.erl#L618
Cheers -
Dave
On Aug 28, 2012, at 3:06 PM, Julian wrote:
> Hi Dave,
>
> I don't see
id:o.account_id,
account_type_id:o.account_type_id, deleted:o.deleted, status:o.status,
hidden:o.hidden, currency:o.currency};
return [JSON.stringify(p)]
}
On Fri, Aug 17, 2012 at 6:22 AM, Dave Parfitt wrote:
>
> Hello Julian -
>
> A new version of the riak-erlang-client [1] was recently released that
>
Hello Julian -
A new version of the riak-erlang-client [1] was recently released that
changes riakc_pb_socket:search/* to use protobuffs instead of map/reduce. Give
that a shot first and let us know if it works for you.
Cheers -
Dave
[1] https://github.com/basho/riak-erlang-client/
On
Hi,
Recently, we upgraded our Riak cluster to 1.2. I hear that one of our
buckets has been wiped and reloaded, but our index (Riak search is enabled)
may not be in a consistent state. This has led to an error in code using
riak-erlang-client 1.2, shown below.
One of the intriguing things I find
You misunderstand. That is *already* in the tagged 1.3.0 version of
riak-erlang-client; I meant the documentation.
On Wed, Aug 15, 2012 at 1:46 PM, Anthony Molinaro <
antho...@alumni.caltech.edu> wrote:
>
> Hi Sean,
>
> How soon is "soon"? In other words when can w
Hi Sean,
How soon is "soon"? In other words when can we expect a new
riak-erlang-client with this fix? Will it be tied to a release
of riak or can the client be released separately? Or is it in
the last tagged version (1.3.0), but undocumented?
Thanks,
-Anthony
On Tue, Aug 14,
That item will be updated soon since it now has native. The difference is
whether it can send/receive the new Protocol Buffers messages to perform search
queries, or if it performs them through MapReduce.
Sean Cribbs
On Aug 14, 2012, at 7:10 PM, Gregory de Souza wrote:
> Hi folks,
> The wiki
Hi folks,
The wiki on client libs (http://wiki.basho.com/Client-Libraries.html) indicates
that the protocol buffer-based erlang library (riakc) only supports
emulated (and not native) search.
Can someone explain the difference between 'emulated' and 'native'?
Thanks!
--
Gregory
_
umber of results
}).
Cheers -
Dave
On Aug 2, 2012, at 11:08 PM, Andrew Berman wrote:
> The more fields the better. I like this change.
>
> Andrew
>
> On Aug 2, 2012 8:17 AM, "Dave Parfitt" wrote:
> Hello -
> We're considering some changes to the Ri
The more fields the better. I like this change.
Andrew
On Aug 2, 2012 8:17 AM, "Dave Parfitt" wrote:
> Hello -
>
> We're considering some changes to the Riak Search functionality in
> riak-erlang-client for the upcoming Riak 1.2 release. The current behavior of
&
Hello -
We're considering some changes to the Riak Search functionality in
riak-erlang-client for the upcoming Riak 1.2 release. The current behavior of
the riakc_pb_socket:search/* functions return a list in the form: [[Index,
Id],[Index2,Id2],...]
With the new Riak Search protobuffs mes
Thanks guys,
I'm more inclined to have an API like get_original_metadata and
get_metadata. The get_metadata in this case always returns whatever
metadata is set on the object, new or original. In the current API, if
calling get_update_metadata will return the original metadata if there are
no ch
Reid,
I do understand why update_metadata exists. I guess what I'm
suggesting is a better default behavior, especially for users who
don't explicitly set any metadata values. (Or even if they do, for
when all the metadatas are equivalent.)
I.e., something like this for riakc_obj:get_update_metada
On Jun 12, 2012, at 2:56 PM, Michael Radford wrote:
> get_metadata returns the metadata that was read from riak. But if
> allow_mult is true, and there is more than one sibling, then
> get_metadata throws the exception 'siblings'. You have to call
> get_metadatas to get a list with metadata for e
get_metadata returns the metadata that was read from riak. But if
allow_mult is true, and there is more than one sibling, then
get_metadata throws the exception 'siblings'. You have to call
get_metadatas to get a list with metadata for each sibling in that
case.
get_update_metadata returns the met
Can someone explain the difference between the get_update_metadata and
get_metadata functions in the Erlang PB Client for Riak? It's very
confusing...
Thanks,
Andrew
___
riak-users mailing list
riak-users@lists.basho.com
http://lists.basho.com/mailman/
w.infoq.com/interviews/hickey-datomic .
>> Worth the 30min.
>>
>> -Alexander Sicular
>>
>> @siculars
>>
>> On Apr 5, 2012, at 3:30 PM, Ryan Zezeski wrote:
>>
>> Mike,
>>
>> The native Erlang client was never designed to
q.com/interviews/hickey-datomic .
> Worth the 30min.
>
> -Alexander Sicular
>
> @siculars
>
> On Apr 5, 2012, at 3:30 PM, Ryan Zezeski wrote:
>
> Mike,
>
> The native Erlang client was never designed to be used in this fashion, as
> you are finding out first hand.
ich Hickey discussing similar concepts employed in his new
system, Datomic, here, http://www.infoq.com/interviews/hickey-datomic . Worth
the 30min.
-Alexander Sicular
@siculars
On Apr 5, 2012, at 3:30 PM, Ryan Zezeski wrote:
> Mike,
>
> The native Erlang client was never designed to be used
Mike,
The native Erlang client was never designed to be used in this fashion, as
you are finding out first hand. You are correct in that some operations
assume they are running on the Riak VM, e.g. mapred_dynamic_inputs_stream.
Normally I would say not to establish a Erlang dist connection to
1 - 100 of 201 matches
Mail list logo