Record Metadata Context Set

Introduction

This context set was created to address the need for record metadata searches as opposed to searches within the records themselves.

The identifier for the Record Metadata context set is: http://srw.cheshire3.org/contextSets/rec/1.0/
The recommended prefix for the Record Metadata context set is: rec

Indexes

Index NameDescriptionZ39.50 Attributes
sizeThe length of the record in bytes -
idA unique local identifier for the record within the database[util 1=4]
langThe two letter code for the language the record is written in[util 1=3]
withinThe record is contained within a given structure (1) -
createdTimestamp for when the record was created[util 1=1, util 12="creation"]
modifiedTimestamp for when the record was created or ever modified[util 1=1]
lastModifiedTimestamp for when the record was last modified[util 1=1, util 12="modification"]
createdByThe agent that created the record[util 1=2, util 12="creation"]
modifiedByAn agent that created or ever modified the record[util 1=2]
lastModifiedByThe agent that last modified the record[util 1=2, util 12="modification"]
modifiableByMatches if given agent is able to modify the record -

Notes

  1. The 'within' index is database specific. A database in SQL might accept the name of a table for the record to be within. A file system based database might accept the name of a directory or file containing multiple records.

Examples

  1. If your client is only able to display records under 50 kilobytes, you might have a query like:
    dc.title any fish and rec.size < 51200
    to retrieve only files with a title that includes 'fish' and are less than the client's maximum size.
  2. If you wanted to find records that were have been recently updated by a user, you might send a query like:
    rec.lastModified > "2002-12-05T18:00:00" and rec.lastModifiedBy="azaroth"