NoSQL Benchmarks NoSQL use cases NoSQL Videos NoSQL Hybrid Solutions NoSQL Presentations Big Data Hadoop MapReduce Pig Hive Flume Oozie Sqoop HDFS ZooKeeper Cascading Cascalog BigTable Cassandra HBase Hypertable Couchbase CouchDB MongoDB OrientDB RavenDB Jackrabbit Terrastore Amazon DynamoDB Redis Riak Project Voldemort Tokyo Cabinet Kyoto Cabinet memcached Amazon SimpleDB Datomic MemcacheDB M/DB GT.M Amazon Dynamo Dynomite Mnesia Yahoo! PNUTS/Sherpa Neo4j InfoGrid Sones GraphDB InfiniteGraph AllegroGraph MarkLogic Clustrix CouchDB Case Studies MongoDB Case Studies NoSQL at Adobe NoSQL at Facebook NoSQL at Twitter



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.

Erlang code included.

Original title and link: Riak Precommit Hooks for Creating Secondary Indeces (NoSQL database©myNoSQL)