Cheshire3 Objects: Record Store |
A persistent storage mechanism for Records. It allows such operations as create, update, fetch and delete. It also allows fast retrieval of the record's size for use with computing relevance ranking.
Function | Parameters | Returns | Description |
---|---|---|---|
__init__ | config, parent | ||
fetch_record | session, id | Record | Return the record with the given identifier |
delete_record | session, id | Delete the record with the given identifier | |
create_record | session, record | id | Create a new record with a new identifier |
store_record | session, record | id | Store an existing record |
get_recordSize | session, id | int | Return the 'size' of a record (number of words) |
close | session | Ensure data is commited to disk |