About Vector Clocks

2011-01-24 Thread Kresten Krab Thorup
Still trying to grok vector clocks, here's a question. When riak realizes that two peers did successfully update the same key, those two riak_object's will have different (one not deriving from the other) vector clocks. This could happen when e.g. synchronizing using long-haul replication. Whe

Re: About Vector Clocks

2011-01-24 Thread Kresten Krab Thorup
OK, found it, ... if you want to follow my train of though, feel free to read along ... Turns out vector clocks can be merged, even if one is not derived from the other. A vector clock is a list of {agent-id, time} pairs, which has no duplicate agent-id's in the list. Merging is done by

Re: riak_kv_multi_backend + custom backend

2011-01-24 Thread Sean Cribbs
Anthony, Thanks for noticing that documentation error. If you would, please file an issue on the wiki's issue tracker: https://github.com/basho/riak_wiki/issues and we'll get it corrected. If you're feeling enterprising, you can also fork, fix and send a pull-request for the page. Sean Cribbs

Re: make doc fails on erlang client

2011-01-24 Thread David Smith
I have submitted a pull request with this fix -- thanks! https://github.com/basho/riak-erlang-client/pull/13 D. On Sun, Jan 23, 2011 at 7:45 AM, Jon Brisbin wrote: > Tried to do a make doc in a fresh checkout of riak-erlang-client and it > failed on unmatched specs. Here's a diff of the two twe

[ANN] Riak Search 0.14 Released

2011-01-24 Thread Rusty Klophaus
Hello Riak Users, We are excited to announce the release of Riak Search version 0.14! Pre-built installations and source tarballs are available at: http://downloads.basho.com/ Release notes are at (also copied below): https://github.com/basho/riak_search/raw/riak_search-0.14.0/releasenotes/riak_

Re: riak_kv_multi_backend + custom backend

2011-01-24 Thread Anthony Molinaro
Sean, I'll fork and submit a pull request sometime soon. Will things continue to be configured with binaries, or will it switch to atoms at some point? Also, Is there a way to configure specific buckets in the config, or to specify default bucket properties for a particular bucket type in the co

Re: Riak Search 0.14 Released

2011-01-24 Thread Scott Gonyea
One concern from me is calling it standard_analyzer_factory... That name is semi-in-use by Solr: http://wiki.apache.org/solr/AnalyzersTokenizersTokenFilters#solr.StandardTokenizerFactory And did not have the same behavior as the (previously) Default Tokenizer. That'll have a lot of potential

Re: riak_kv_multi_backend + custom backend

2011-01-24 Thread Sean Cribbs
Anthony, Default bucket properties are defined in riak_core, not riak_kv, so you can't really set the hash function as a result of setting something else. Furthermore, you really only have to set these once, so you could configure your application to check the bucket props on startup and set t

running erlang map phases via REST API

2011-01-24 Thread Brendan
is it possible to pass erlang anonymous funs via the REST API? i took a javascript query, replaced "language":"javascript" with "language":"erlang" and changed the source to an anonymous fun, but i end up getting an error from the REST API back.am i doing something wrong here, or can erlang functio

Re: running erlang map phases via REST API

2011-01-24 Thread Dan Reverri
Hi Brendan, Anonymous Erlang functions are not currently supported in map reduce phases. Is this a feature the community would find valuable? Thanks, Dan Daniel Reverri Developer Advocate Basho Technologies, Inc. d...@basho.com On Mon, Jan 24, 2011 at 12:14 PM, Brendan wrote: > is it possibl

Re: running erlang map phases via REST API

2011-01-24 Thread Eric Moritz
I would find this useful. It's easier to run an anonymous function than to deploy an erlang module to a cluster. On Jan 24, 2011 3:34 PM, "Dan Reverri" wrote: > Hi Brendan, > > Anonymous Erlang functions are not currently supported in map reduce phases. > Is this a feature the community would find

Re: running erlang map phases via REST API

2011-01-24 Thread Brendan
having an anonymous fun would seem useful on a larger cluster - you wouldn't need to distribute a new file/module to all machines in the cluster (as i think you must do now?). the docs around calling an erlang map phase are a bit confusing (http://wiki.basho.com/MapReduce.html): > Function source

[no subject]

2011-01-24 Thread Sebastjan Trepca
Hey, Congrats on new release! I'm considering porting our search engine to riak-search. We're currently using Solr and are quite happy with it except for indexing times where riak could probably be much faster. Our requirements: - faceting - float fields - multi-value fields - date fields

Re: Re: Search Indexing only specific content-types?

2011-01-24 Thread Mark Phillips
Indeed. contrib.basho.com doesn't have any Search-specific functions at the moment, but we definitely want to add some if people have anything to share. I'm sure a pre-commit hook that checks the content-type of to-be-indexed data would be hugely useful to a lot of users. Mark On Fri, Jan 21, 201

Re: Memory Requirements for Riak Search index (merge_index)

2011-01-24 Thread Rusty Klophaus
Hi Alexander and Gordon, merge_index is inspired by bitcask, but it's not a strict derivative. It does *not* keep the keydir structure in memory, however it keeps some hints in memory. The memory usage does grow with the number of terms, albeit slowly, since it is mostly keeping signatures and off

Re:

2011-01-24 Thread Rusty Klophaus
Hi Sebastjan, Thanks! To run down the list: - *Faceting:* Faceting is not supported at this time. - *Float Fields / Date Fields: *Riak Search treats all fields as text (comparisons happen lexicographically), so you would need to encode and/or pad Date and Float fields. ie: Transform a float of 7

Re:

2011-01-24 Thread Sebastjan Trepca
Cool. Thanks for a quick reply. Any estimates when faceting will be supported? Sebastjan On Monday, 24 January 2011 at 21:56, Rusty Klophaus wrote: > Hi Sebastjan, > > > Thanks! To run down the list: > > > - Faceting: Faceting is not supported at this time. > > > - Float Fields / Date Fi

Re: riak_kv_multi_backend + custom backend

2011-01-24 Thread Anthony Molinaro
On Mon, Jan 24, 2011 at 02:15:37PM -0500, Sean Cribbs wrote: > Default bucket properties are defined in riak_core, not riak_kv, so you can't > really set the hash function as a result of setting something else. > Furthermore, you really only have to set these once, so you could configure > you

Using Key Filters to fetch object keys efficiently

2011-01-24 Thread Gordon Tillman
Greetings All, I have a use case for our app where I need to fetch a list of keys that match some pattern and was hoping to be able to use key filters for that. In my test I defined a key filter for the input phase of mapred and then defined just a single map phase that returns the object key.

Riak Recap for Jan. 21 - 23

2011-01-24 Thread Mark Phillips
Evening, Afternoon, Morning to All, Here's a short Recap for the last few days. Enjoy. Mark Community Manager Basho Technologies wiki.basho.com twitter.com/pharkmillups Riak Recap for Jan. 21 - 23 1) Riak Search was officially released this morning (http://bit.ly/hGUtbr) and it looks li

solr interface faceting

2011-01-24 Thread Matthew Shaw
Hi Guys, any idea on when faceting via the solr interface will be available? Cheers, Matt. ___ riak-users mailing list riak-users@lists.basho.com http://lists.basho.com/mailman/listinfo/riak-users_lists.basho.com