Re: Riak secondary indexing 'Unknown field type for field' error

2012-10-24 Thread Hrishikesh More
Hi Brian, I got this problem fixed as there was a special character in index name. I have some follow-up queries related to secondary indexing: 1. I stored IRiakObject ( with RiakIndexes) using RiakBucket (Strongly typed for IRiakObject) . Secondary indexes are created and object is

Re: Riak secondary indexing 'Unknown field type for field' error

2012-10-23 Thread Brian Roach
Without knowing exactly what you're doing, it's hard to tell. When you're using an IRiakObject with StoreObject.store() without specifying a Converter, there's not any JSON serialization/deserialization occurring. It's simply storing whatever you pass to withValue() in Riak. If you can provide a s

Re: Riak secondary indexing 'Unknown field type for field' error

2012-10-23 Thread Brian Roach
How, exactly, are you creating 'indexes' ? A secondary index in Riak has to be an integer or a string. Thanks, Brian Roach On Tue, Oct 23, 2012 at 2:42 PM, Hrishikesh More wrote: > Hi, > > Using following JSON I am trying to create secondary indexes in Riak. > > { > “Id” :

Riak secondary indexing 'Unknown field type for field' error

2012-10-23 Thread Hrishikesh More
Hi, Using following JSON I am trying to create secondary indexes in Riak. { “Id” : “”, “login” : “xxx”, “context” : “xxx”, “creationDate” : “”, ... ... “sku1” : {

Re: FYI: How to do secondary indexing with Riak behind Nginx

2011-10-07 Thread Jeff Kirkell
tp 1.1 support. For that reason I front Riak >> with haproxy. >> >> Thoughts? >> >> @siculars >> http://siculars.posterous.com >> >> Sent from my rotary phone. >> On Oct 6, 2011 9:32 AM, "Mårten Gustafson" >> wrote: >> >

Re: FYI: How to do secondary indexing with Riak behind Nginx

2011-10-07 Thread Jonathan Langevin
Thoughts? > > @siculars > http://siculars.posterous.com > > Sent from my rotary phone. > On Oct 6, 2011 9:32 AM, "Mårten Gustafson" > wrote: > > Howdy, > > > > = Background > > > > During the Riak 1.0 webinar I played around with Nginx and encount

Re: FYI: How to do secondary indexing with Riak behind Nginx

2011-10-06 Thread Alexander Sicular
e: > Howdy, > > = Background > > During the Riak 1.0 webinar I played around with Nginx and encountered > a problem with secondary indexing when accessing Riak (over HTTP) > through Nginx. I had a quick chat with Sean about it on IRC[1] and > then I forgot it. The problem is th

FYI: How to do secondary indexing with Riak behind Nginx

2011-10-06 Thread Mårten Gustafson
Howdy, = Background During the Riak 1.0 webinar I played around with Nginx and encountered a problem with secondary indexing when accessing Riak (over HTTP) through Nginx. I had a quick chat with Sean about it on IRC[1] and then I forgot it. The problem is that Nginx won't handle header

Re: Secondary indexing

2011-08-04 Thread Eric Moritz
I've been told that there is going to be a map reduce input function,much like how Riak search can serve as the input for a mapreduce query. On Aug 4, 2011 11:26 AM, "Craig Muth" wrote: > Switching to the riak_kv_index_backend backend worked like a charm. > Interestingly the objects that were ther

Secondary indexing

2011-08-04 Thread Craig Muth
Switching to the riak_kv_index_backend backend worked like a charm. Interestingly the objects that were there from bitcask still exist and work fine. This is a pretty amazing feature. Will probably result in some pretty awesome press for you guys. Can you (or are there plans to) return the obje

Re: Secondary indexing

2011-04-25 Thread Bryan O'Sullivan
On Sat, Apr 23, 2011 at 2:28 AM, Kresten Krab Thorup wrote: > My colleague Erik is working on something that sounds like a solution for > your problem, > http://polymorphictypist.blogspot.com/2011/04/multi-version-collections-in-riak.html > > In combination with a set of commit hooks like riak_lin

Re: Secondary indexing

2011-04-23 Thread Kresten Krab Thorup
My colleague Erik is working on something that sounds like a solution for your problem, http://polymorphictypist.blogspot.com/2011/04/multi-version-collections-in-riak.html In combination with a set of commit hooks like riak_link_index, it may be just what you're looking for. I believe that h

Re: Secondary indexing

2011-04-22 Thread Jason J. W. Williams
We implemented a scheme for maintaining secondary indexes using MapReduce and KeyFilters. It's written in Python but there's a description of how the design works and a test script for validating other implementations: https://github.com/williamsjj/txriakidx Nor sure if that will help...it's reas

Secondary indexing

2011-04-22 Thread Bryan O'Sullivan
In my application, I have a frequent need to store collections of data where I rarely access the items individually, but much more commonly in aggregate form. In principle, the mapreduce feature is well suited to this, but it must be fed a set of {bucket,key} pairs to consume, and maintaining these