Yokozuna and Spatial Search

2013-09-07 Thread Vincenzo Vitale
Hi, I'm trying to make SpatialSearch in my application working with Yokozuna. (develop branch, hash 601560bf9ea0859e598957c13733fbbb0e656e17 of the 6th september) The json object looks like this: {"where":{"latitude":7430019,"longitude":4210023,"geolocation_p":"7.430019,4.210023"},"timestamp":"2

Re: Yokozuna and Spatial Search

2013-09-08 Thread Vincenzo Vitale
I got it working with this change to the default conf: https://github.com/basho/yokozuna/pull/169 Before doing this, I first tried creating my own schema but put was hanging. V. On Sun, Sep 8, 2013 at 3:56 AM, Vincenzo Vitale wrote: > Hi, > > I'm trying to make Spati

Should content-type not be required?

2013-09-10 Thread Vincenzo Vitale
Suppose I want to just store keys in a bucket without any body, this make sense in scenarios where the key completely identify the entity. Is it possible to use the riak http api without including the content-type header? Looking at the http specifications, content–type is not mandatory or suggest

Re: Should content-type not be required?

2013-09-10 Thread Vincenzo Vitale
but it is used by > riak and riak clients, so that's why we require it. > > -- > Sam Elliott > Engineer > sam.elli...@basho.com > -- > > > On Tuesday, 10 September 2013 at 5:03PM, Vincenzo Vitale wrote: > > > Suppose I want to just store keys in a bucket without

Re: Should content-type not be required?

2013-09-11 Thread Vincenzo Vitale
store an empty body in Riak. > Surely just don't even make the request to Riak? I guess I could be > overlooking something obvious. > > Sam > -- > Sam Elliott > Engineer > sam.elli...@basho.com > -- > > > On Tuesday, 10 September 2013 at 6:29PM, Vincenzo Vit

Re: Should content-type not be required?

2013-09-12 Thread Vincenzo Vitale
isn't an ideal use-case for riak. Eventual > consistency means that existence checking under partition is always > going to be a bit fraught. > > On Tue, Sep 10, 2013 at 2:03 PM, Vincenzo Vitale > wrote: > > Suppose I want to just store keys in a bucket without any bod

Re: 2i at large scale?

2013-09-25 Thread Vincenzo Vitale
Basho people will know if this is normal or not, but keep in mind that in this way you are storing three copies of the data in the same machine, where you have all the default 64 vnodes of your ring. I think riak is designed for a cluster setup. Are you planning to run the same benchmark with more