Hi, Riak users,
I am trying to index my data with the Java API I saw on the basho site (http://basho.com/index-for-fun-and-for-profit/) the following code, The first part of creating the index works fine. My problem here is that under riakClient I do not have any mothod called fetchIndex. Can anyone assist here (I tried both http and pbc clients)? Bucket userBucket *=* riakClient*.*fetchBucket*(*"users"*).*execute*();* IRiakObject userObject *=* userBucket*.*fetch*(*"thevegan3000"*).*execute *();* userObject*.*addIndex*(*"user_group_bin"*,* "administrator"*);* userBucket*.*store*(*userObject*).*execute*();* BinIndex binIndex *=* BinIndex*.*named*(*"user_group_bin"*);* BinValueQuery indexQuery *=* *new* BinValueQuery*(*binIndex*,* "users"*,* "administrator"*);* *List**<**String**>** adminUserKeys **=** riakClient**.**fetchIndex**(* *indexQuery**);* Thanks, Shimon
_______________________________________________ riak-users mailing list riak-users@lists.basho.com http://lists.basho.com/mailman/listinfo/riak-users_lists.basho.com