Field Definitions
Field definitions have the following properties which must adhere to certain Field Definition Restrictions.
Property | Description | Since |
---|---|---|
Family | Describes the family to which the field belongs → Metadata Families |
|
Key |
|
|
Dotted Key |
The dotted key is the reference format for the MediaHaven REST API 2.0 |
|
Parent dotted key |
|
|
Top |
|
|
Sub / Child |
|
|
Flattened Key | A sub field cannot be uniquely determined by its own key because the key for sub fields is not unique across all fields. By concatenating the key of the parent field(s) with the key of the sub field, you obtain a unique flattened key. For example the field Deprecated: The flattened key is allowed in the MediaHaven REST API 2.0 but the dotted key is the preferred format |
|
Lucene Key |
Obsoleted: The Lucene key is no longer allowed in the MediaHaven REST API 2.0 |
|
Required | If true, this field will always be present for every record with a non empty value. |
|
Read Only | The value of this field cannot be changed using metadata updates. |
|
Write Once |
|
|
Index |
|
|
Global | When using the standard search, it searches in a hidden virtual field which contains as value a join of all fields marked as global |
|
Advanced Search | If true, make it available in the advanced search. Requires the field to be indexed. |
|
Tokenized | Informally speaking, tokenizing means splitting the string value of the field on white space in tokens. Requires the field to be indexed. For example the field Description with value "Alice Bob Cedric" is split into the ordered tokens "Alice", "Bob" and "Cedric". The file can matched in the index:
The tokenizing goes further by additionally removing stop words (the, and, of, etc) and performing stemming (the words runs, run, running, ran all match). |
|
Sortable |
|
|
Type | Describe the type of the field definition → Metadata Field Types |
|
Regex | Regular expression used to validate the value of the when saving a record. Only applies to Simple Fields. |
|