Strange wildcard behavior

2011-11-10 Thread Elias Levy
I am seeing some strange someone behavior that maybe someone can explain. Using a modified default search schema, so that these fields are tokenized using the noop analyzer, if I index something like: {"i":{"bg":[{"dnm":"generic"},{"dnm":"onlinegamesfva"},{"dnm":"8ffa6"}]}} and I try searching

Re: Problem installing Riak Python client

2011-11-10 Thread Greg Stein
On Nov 10, 2011 4:26 PM, "Nate Lawson" wrote: > > > On Nov 10, 2011, at 4:04 PM, Greg Stein wrote: > > > On Thu, Nov 10, 2011 at 11:51, Nate Lawson wrote: > >> ... > >> BTW, are there any plans for the Riak python client to use the protobuf C library directly via ctypes? The pure python implement

Re: Problem installing Riak Python client

2011-11-10 Thread Nate Lawson
On Nov 10, 2011, at 4:04 PM, Greg Stein wrote: > On Thu, Nov 10, 2011 at 11:51, Nate Lawson wrote: >> ... >> BTW, are there any plans for the Riak python client to use the protobuf C >> library directly via ctypes? The pure python implementation of protobuf >> seems a little slow. > > Not tha

Re: Problem installing Riak Python client

2011-11-10 Thread Greg Stein
On Thu, Nov 10, 2011 at 11:51, Nate Lawson wrote: >... > BTW, are there any plans for the Riak python client to use the protobuf C > library directly via ctypes? The pure python implementation of protobuf seems > a little slow. Not that I've seen. I plan to use the HTTP interface because I can

Re: Cleaning up buckets

2011-11-10 Thread Mark Phillips
Stefan, There is an open feature request for this. You're not the only one who would like it to be more efficient :) Upvotes, comments, etc., are encouraged. http://features.basho.com/entries/20516763-simplify-bucket-deletion Mark On Thu, Nov 10, 2011 at 10:55 AM, Alexander Sicular wrote: > t

Re: Cleaning up buckets

2011-11-10 Thread Alexander Sicular
there is no equivalent to drop table / drop bucket. you need to list all keys via streaming and issue a delete on each key. even then , the delete is a write , so mind your disk (at least in bitcask). If this is a test environment just do a "rm -r riak/data/*" and start over. cheers, -Alexand

Re: Cleaning up buckets

2011-11-10 Thread Jeremiah Peschka
--- Jeremiah Peschka - Founder, Brent Ozar PLF, LLC Microsoft SQL Server MVP On Nov 10, 2011, at 10:00 AM, Stefan Gebhardt wrote: > Hi > > I just started playing around with riak. > For the purpose of testing i uploaded 1 million random generated items(using > uuid for keys) to a single bucket

Cleaning up buckets

2011-11-10 Thread Stefan Gebhardt
Hi I just started playing around with riak. For the purpose of testing i uploaded 1 million random generated items(using uuid for keys) to a single bucket via the python API. Now i like to clean/remove this bucket and run the upload again. At the moment i am looking for smth. like DROP Bucket.

Re: Riak search KV, encoding

2011-11-10 Thread sergey
Riak Search KV create index http://localhost:8098/riak/_rsid_tests/test1 application/x-erlang-binary �hd riak_idx_docmtestsmtest1lhmfield1mvalue1lhmvalue1kjhmfield2mзначение2lhmзначение2kjhmполе3mvalue3lhmvalue3kjhmполе4mзначение4lhmзначение4kdtrue

Re: Problem installing Riak Python client

2011-11-10 Thread Nate Lawson
On Nov 10, 2011, at 8:25 AM, Nitish Sharma wrote: Hi, > I am trying to install Riak's python client library using Pip. But it throws > an IOError while installing: IOError: [Errno 2] No such file or directory: > 'protobuf/setup.py'. Apparently, a lot of guys are facing the same problem. > The pr

Problem installing Riak Python client

2011-11-10 Thread Nitish Sharma
Hi, I am trying to install Riak's python client library using Pip. But it throws an IOError while installing: IOError: [Errno 2] No such file or directory: 'protobuf/setup.py'. Apparently, a lot of guys are facing the same problem. The problem is that the latest version of Protobuf (2.4.1) has move

Re: ETags vs Vectorclocks

2011-11-10 Thread Sean Cribbs
Yes, you should always send the vector clock. Our official clients do this for you if you fetch the object before storing it, so it's mostly not an issue. The ETag is an MD5 hash of the vector clock, but cannot be turned back into it because MD5 is a one-way hash function. The vector clock is abso

ETags vs Vectorclocks

2011-11-10 Thread Piyush Purang
Hi Riak Team, I am a bit confused over etags and vector-clocks usage. If I can do conditional gets and puts using etags, why do I need Vector clocks or to ask it another way around if I am doing conditional gets and puts using etags then should I still be sending in the vector clock? What is the