Skip to content

Operators

Rincy Mathew edited this page Apr 13, 2022 · 19 revisions

Operators

SAGE's Operators are used to manipulate the data contained in Solr fields during a Job to ensure the desired values are written to the target Solr Core.

Operator management is handled on the "Operator Management" tab of the administration second of CAP's user interface.

Mapping Operator

The Mapping Operator is useful for transforming a list of initial values in a field into a list of corresponding mapped values.

An example scenario would be if a field contained months of the year in a abbreviated form and you would like to convert them into full months.

Initial Value Mapped Value
Jan January
Feb February
Mar March
Apr April
May May
Jun June
Jul July
Aug August
Sep September
Oct October
Nov November
Dec December

Creation

To create a new Mapping Operator, open the "Create Operator Modal" by clicking the "New" button while on the Operators tab of the management view.

Example: Translating ISO language code to plain English

SAGE_ISO_LANG_OP
Clone this wiki locally