Hi all,

I am trying to execute the following query, using java client:

http://<riak-IP>:<port>/types/default/buckets/testwindow1/index/$bucket/_

Where "testwindow1" is the name of the bucket.
This works fine via HTTP interface, but when I try it with the with java
client - nothing:

bucket = new Namespace("default", "testwindow1");
BinIndexQuery iq = new BinIndexQuery.Builder(bucket, "$bucket",
"_").build();
BinIndexQuery.Response response = client.execute(iq);

response.getEntries(); - returns 0

Riak - 2.0.2, built from source
riak-client - 2.0.0

Could anyone help?

Best regards,
Vasco
_______________________________________________
riak-users mailing list
[email protected]
http://lists.basho.com/mailman/listinfo/riak-users_lists.basho.com

Reply via email to