Slide 169
Slide 169 text
Redis and Riak examples
{
database number: {
"key 1": "value",
"key 2": [ "value", "value",
"value" ],
"key 3": [
{ "value": "value", "score":
score },
{ "value": "value", "score":
score },
...
],
"key 4": {
"property 1": "value",
"property 2": "value",
"property 3": "value", ...
}, ...
}
}
{
"bucket 1": {
"key 1": document + content-type,
"key 2": document + content-type,
"link to another object 1": URI of
other bucket/key,
"link to another object 2": URI of
other bucket/key,
},
"bucket 2": {
"key 3": document + content-type,
"key 4": document + content-type,
"key 5": document + content-type
...
}, ...
}
Source: Frank Denis, used with permission