How to add a secondary index with the Java client

Jeff Peck jeffp at
Mon Apr 8 16:56:50 EDT 2013


I have been looking through the documentation for an example of how to add a secondary index in Riak, using the Java client.

I am currently storing my object (which is a HashMap) like this:, docHashMap).execute();

What would I need to do to add an index to that object before it gets stored?


More information about the riak-users mailing list