Edited answer to add an example added to the question:
What you need to know about Voldemort is a very simple key store. As far as I know about this, the only thing you can do is save the value under the key and then extract these values โโusing the key. So, for your example, if you really want to use Voldemort, you have several options.
So, for example, you said that you store data for users. So you might have something like this:
Key = user-Chad Value = Name:Chad Birch, Age:26, Sex:Male
Now, if I want to post a new blog post, you also need to save this under the key. So you can do something like this:
Key = blog-Chad1 Value = Here is my very first blog post.
Now your problem is that you need to somehow view all the blog posts made by users with Sex: Male, but there is no way to directly get this data. At this point you need to either:
- Pull out each user, check to see if they are men, and if they are, pull out your blog posts.
- Start storing more things in other key-value pairs so you can watch it.
To implement # 2, you could add a couple more such as:
Key = search-Sex:Male Value = Chad1 Chad2 Steve1 ...
Then, when someone searches for Sex: Male, you pull out the value for it, separate it, and then post all the blog posts.
It makes sense? Using kv store is a little different from the database because you are losing all of these relational features.