There is data type concept for secondary index in Riak, I am not sure why we need this data type? Because the index looks just like kind of categories for stored data object.
I did not find any document for this.
There is data type concept for secondary index in Riak, I am not sure why we need this data type? Because the index looks just like kind of categories for stored data object.
I did not find any document for this.
2i (secondary indexes) allows you to reference an object in Riak via ... an index. Meaning something other than your key. You can also perform range queries using a secondary index.
See: How to query nested keys in Riak?
And our documentation at: http://wiki.basho.com/Secondary-Indexes.html
More specifically, Secondary Index objects allow you to model one-to-one, one-to-many and many-to-many relationships in Riak, in a fairly efficient manner.
Take a look at the following discussions about data modeling relationships in Riak, to help shed light on secondary indexes: