Re: How do you choose riak search over map reduce vice versa?

2011-01-29 Thread Joshua Partogi
Hi all, Thank you for sharing. Really appreciate it. I think I would use search over map-reduce now and reserve map-reduce only for special case. I also found it easier to write and maintain a search query rather than map-reduce query. Kind regards, Joshua On Sun, Jan 30, 2011 at 2:58 PM, Jeremi

Is it possible to do geolocation query with riak?

2011-01-29 Thread Joshua Partogi
Hi all, Is it possible to do geolocation querying with riak? For instance find something/someone near Lat, Long ? Has anyone done this before and willing to share? Thanks heaps. Kind regards, Joshua. -- http://twitter.com/jpartogi ___

Re: How do you choose riak search over map reduce vice versa?

2011-01-29 Thread Jeremiah Peschka
Following on what others have said: I would use Riak Search when I need to do searching and querying. I would use MapReduce when I have distributed functionality that I need to perform (aggregations, complex data manipulation) or when the conditions of my query are complex enough that I cannot fea

Re: How do you choose riak search over map reduce vice versa?

2011-01-29 Thread Xiaopong Tran
I'd say use search whenever you can, and mapred only when the search functionality can't handle it (e.g. in a distributed system). It's much simpler, and I find mapred is not always the most optimized way to get results. Best Xiaopong On Sun, 2011-01-30 at 02:05 +1100, Joshua Partogi wrote: > Ho

Re: How do you choose riak search over map reduce vice versa?

2011-01-29 Thread Ryan Zezeski
Joshua, I recently switched from using riak to riak-search in order to index my data without requiring a map-reduce each time I wanted to query. For example, my application needs the ability to filter a set of file objects based on various attributes such as type and creation time. Using riak I

Re: indexing tags with Riak Search

2011-01-29 Thread Eric Moritz
That makes sense. Thanks! On Jan 29, 2011 11:59 AM, "Gordon Tillman" wrote: > Hi Eric, > > Yes you can do this, but you need to "encode" your information appropriately. Using the example that you provided, you would store your JSON object as follows: > > { > "title": "Hello, World!" > "tags": "gre

How do you choose riak search over map reduce vice versa?

2011-01-29 Thread Joshua Partogi
How do you choose whether to use one over the other? What are the criterias I should look at? Thanks heaps -- http://twitter.com/jpartogi ___ riak-users mailing list riak-users@lists.basho.com http://lists.basho.com/mailman