Riak Precommit Hooks for Creating Secondary Indeces
I wanted to create a secondary index on a field so that when I want to look up the data, it doesn't require a full M/R to do. The great Riak Handbook showed a couple of examples of creating a secondary index, and it looked simple enough. It actually is pretty simple, but the documentation and examples are few and far between, so I'm going to share my experience. […] Whenever an item is created in this bucket, I want a secondary index based on the app. I never update items in this bucket, only create. In fact, I never delete these items either, but figured my code should handle that case.
tags:riak,secondary indexe
via NoSQL databases
Post a Comment