Hello!
I'm trying to sort objects in riak by secondary index. Is it possible?
I've read some sources and understood, that standard map-reduce function
for key-sort (reduce_sort in riak_kv_mapreduce.erl) orders list in memory.
Such approach can be applied to ids, but not the best way for sorting
Thanks Sean for the hint .. sure, you right, that wildcard syntax was too
short !
Still like this, the main issue remains. The search function is not yet
activated at the server side, even having the parameter set to true in
the /etc/app.config file.Whatever syntax sent to the server is
Hey!
I'm just about wrapping up the changes and new content for the upcoming update
of the Riak Handbook. To make sure what I wrote makes (mostly) sense, I'm
looking for one or two technical reviewers of the new content. The focus is
more on whether everything makes sense, so not necessarily o
I am looking for recommendation for limiting no of records in M/R or 2i
queries. MR might return 1000s of object but I just want 10 of them.
___
riak-users mailing list
riak-users@lists.basho.com
http://lists.basho.com/mailman/listinfo/riak-users_lists.ba
Yes. You have to do search-cmd install bucketname I believe
Shuhao
On May 23, 2012 11:20 AM, wrote:
> Thanks Sean for the hint .. sure, you right, that wildcard syntax was too
> short !
>
> Still like this, the main issue remains. The search function is not yet
> activated at the server side, ev
I need to write a a reduce_slice function in erlang that I'll load into
riak, I'm doing this so I don't need to use the javascript one which has
already once maxed out the js_thread_stack memory.
This is my function so far:
reduce_slice(WList,{Page,PageSize}) ->
lager:info("Page and PageSize ~
Dear Shuhao Wu,
Thanks so much, that was the key to the solution!
rel/riak/bin/search-cmd install ramtest
:: Installing Riak Search <--> KV hook on bucket 'ramtest'.
I also needed to exclude all key/data from the bucket and reinsert them
again to make use of the pre-commit hook feature. Once
I'm seeing this pretty consistently and have no explanation for it. I
delete a large number of keys (20k to 100k), but when I then search on the
keys ($key/0/g) anywhere from 0-200 or so of the deleted keys show up in
the results. It doesn't matter how long I wait after completing the
deletion step
Riak is eventually consistent. Deleting it doesn't show up immediately.
There is an option like delete_immediate
Shuhao
On May 23, 2012 4:08 PM, "Steve Warren" wrote:
> I'm seeing this pretty consistently and have no explanation for it. I
> delete a large number of keys (20k to 100k), but when I
On 05/23/2012 01:08 PM, Steve Warren wrote:
I'm seeing this pretty consistently and have no explanation for it. I
delete a large number of keys (20k to 100k), but when I then search on
the keys ($key/0/g) anywhere from 0-200 or so of the deleted keys show
up in the results. It doesn't matter how
I have a 5 node cluster and given a successful delete call, I expect to get
the latest data back given the bucket properties (as shown below)...
Bucket properties:
{"props":{"name":"mybucket","allow_mult":false,"basic_quorum":false,"big_vclock":50,"chash_keyfun":{"mod":"riak_core_util","fun":"cha
Whew! I was afraid I was the only one!
On Wed, May 23, 2012 at 1:37 PM, Kyle Kingsbury wrote:
> On 05/23/2012 01:08 PM, Steve Warren wrote:
>
>> I'm seeing this pretty consistently and have no explanation for it. I
>> delete a large number of keys (20k to 100k), but when I then search on
>> the
Steve, Kyle,
In order to track it down, I'd like to be able to reproduce this issue.
Can you provide some minimal Java code to reproduce, from an empty
Riak cluster? Please include any changes to the Riak app.config as well.
Some things to think about in writing code to reproduce:
* Are you conn
13 matches
Mail list logo