DC 5.9 Glossary
- Rasmus Hjelmberg Duemose Hansen
AĀ search ultimately has two sections:Ā Input andĀ Output
Input
TheĀ Input of aĀ search is a list ofĀ Filters, i.e. what parameters should be supplied to a search, and how should these parameters be used to filter the result.
Here is a brief explanation of various terms, which are relevant for a search'sĀ Input. Each term can be found on another page close to this, where there will be a more in-depth explanation and guide on how to apply it.
- Filter
- A FilterĀ is a condition, which is applied to the data in theĀ DAM CenterĀ during a search.Ā
- Group
- AĀ GroupĀ is a conditional collection of 1-many Filters, i.e. a set of if- and else-if statements.
- Comparison Type
- Determines how a given FilterĀ does its "filtering".
- Input Type
- Determines how any Visible filterĀ gets theĀ user's input, i.e.Ā Input TypeĀ can be used to gather aĀ search'sĀ parameters and therefore has no impact on theĀ searchĀ itself.
- Visible filter
- If a FilterĀ is visible, then parameters for thatĀ filterĀ can be supplied by theĀ userĀ inĀ Media ManagerĀ andĀ Video Portal.
- Predetermined values
- If the parameters for a FilterĀ are known in advance, predetermined values can be applied to the Filter.Ā If Predetermined valuesĀ are applied to a Filter,Ā any parameters supplied by theĀ userĀ or client code for the givenĀ filterĀ will be ignored.
Output
TheĀ OutputĀ of a search is a list ofĀ Value Fields, i.e. what data is output by a search.
Here is a brief explanation of various terms, which are relevant for a search'sĀ Output. Each term are discussed further in a pageĀ close to this, where there will be a more in-depth explanation and guide on how to apply it.
- Value Field
- AĀ Value FieldĀ is an element, which defines a property in theĀ search result.
- isArray
- Determines whether aĀ Value FieldĀ is ALWAYS output as an array.
- returnType
- Determines how aĀ Value FieldĀ is represented in theĀ search result.
- Tooltip
- Determines whether aĀ Value FieldĀ is used in the tooltip of anĀ asset
- Determines whether aĀ Value FieldĀ is used in the tooltip of anĀ asset
Input and Output
Some terms are used in both theĀ InputĀ andĀ OutputĀ of a search. As with the two previous paragraphs, here is a brief explanation of these terms as well as a link to a page with a more in-depth explanation.
- ID
- The ID has two different implications: one for Input, and one for Output
- Input: TheĀ IDĀ of a FilterĀ is the name of the parameter given to theĀ search.
- Output: TheĀ IDĀ of a Value FieldĀ is the name of the property in the JSON returned by theĀ search. It can also be the Constant of a label, which is used in the DAM Center,Ā Media Manager,Ā andĀ Video PortalĀ to display the output of a Value Field.
- The ID has two different implications: one for Input, and one for Output
- Custom attributes
- Custom attributesĀ are user-defined attributes of a Filter or Value Field.
- Field
- A FieldĀ is used in conjunction with aĀ MetadataĀ fieldĀ to specify a value other than the defaultĀ MetadataĀ fieldĀ value.
- Meta field group
- AĀ metadataĀ field belongs to aĀ meta field group. Many differentĀ meta fieldsĀ MAY have the same label, but belong to widely differentĀ meta field groups and used in very different context.
AĀ userĀ can add three different categories of Filters and Value Fields:
- Table and column
- This is aĀ filterĀ orĀ value field,Ā which acts upon a specific table and column in the database.
- Metadata field
- This is aĀ filterĀ orĀ value field,Ā which acts upon aĀ metadataĀ field, eg "Keywords", "Description",Ā or "Title".
- Predefined
- This is a specialĀ filterĀ orĀ value field,Ā which can be a Group, Value Field, Filter, any combination of these, or something else entirely. A Predefined FilterĀ or Value FieldĀ is an element, which represents functionality, that is not supported by either a Table and columnĀ element orĀ MetadataĀ field.
Translations
During the genesis of theĀ Search Editor a decision was made to rename certain concepts. This was done to help the user understand what these concepts do.Ā
This small section's purpose is to explain, that these concepts might be called something different elsewhere in the documentation.
"searchField"Ā ā Filter.
"searchFields"Ā ā Group.
"valueHandler"Ā ā "Comparison Type".Ā
"renderType" ā "Input Type".Ā
"operator"Ā ā "Condition"