Previous: , Up: Bucket   [Contents][Index]


3.4 Metabucket

The metabucket is a bucket-like key/value store separate from the data bucket.5 It should be used to save data that should be accessible only to the server, but never the client.

Data must still be formatted as a vector, but unlike the data Bucket, vector values are sometimes structured data instead of strings.

A standard still needs to be devised to provide guidance for when storing structured data is appropriate, rather than a vector of strings.

The client has no means by which to access the metabucket. Custom fields can be populated by server-side DataAPIs (see Server-Side Data API Calls).

Any fields prefixed with the string ‘liza_’ are reserved and are populated automatically by the Server. They are shown in Table 3.1.

liza_timestamp_initial_rated

A Unix timestamp representing the first time a document was acted upon by a rating service. This value is set once and is never updated or cleared.

Table 3.1: Metabucket fields populated automatically by the Server


Footnotes

(5)

It is stored in the meta field on the Mongo document.