Introduction
Field definitions are sent to our search platform Apache Solr and hence must adhere to certain requirements in addition to our own business logic.
Key Restrictions
Creating field definitions having a certain key, or saving metadata with a dynamic key, has the following restrictions on that key.
Forbidden patterns (case insensitive): Global
, searchtextplaceholder
, *_lc
, *_thesaurus
, *_original
, *_index
Trying to create or save a record with one or more invalid key names will also throw an error.
Changing Standard Field Definitions
Changing the standard field definitions from Metadata Fields has been restricted to only the following operations
Setting global to
true
(setting to false is not allowed)Setting index to
true
(setting to false is not allowed)Adding or removing a field from the advanced search.Obsolete from version24.2
due Profilesof type advanced searchChanging the scheme name on limited categories.
Adding child fields under the following fields
Authors, Relations, ReferenceCodes, ReferenceTitles, Profiles, UserContact
Changes to children in these fields are allowed
To further prevent these keys from being used, the metadata validation has been made stricter. Trying to create or save a record with one or more invalid key names will throw an error.
For existing records with invalid keys, a standard migration has been provided that deletes such fields.
Child field definitions Restrictions
The following properties are for child field definitions always the same as the top field definition
Index name
Family