-
Notifications
You must be signed in to change notification settings - Fork 10
Open
Description
Hi, I am using Riak KV 2.1.1 with Java client. While applying index to name space I am getting some no suitable method error.
Following the instruction from this link.
http://docs.basho.com/riak/kv/2.2.3/developing/usage/search/
My code is below:
YokozunaIndex famousIndex = new YokozunaIndex("famous", "_yz_default");
StoreIndex storeIndex = new StoreIndex.Builder(famousIndex)
.build();
client.execute(storeIndex);
Namespace streets=new Namespace("streets");
StoreBucketPropsOperation storePropsOp = new StoreBucketPropsOperation.Builder(streets)
.withSearchIndex("famous")
.build();
client.execute(storePropsOp);
Metadata
Metadata
Assignees
Labels
No labels
