Add LanguageType Fields to Documents
You can configure any of the IDOL connectors to add fields to documents from which the IDOL Content component can read the language type of the documents.
-
Open the configuration file of your IDOL connector in a text editor.
-
In the
[TaskName]
or[Ingestion]
section, set theIngestActions
parameter toMETA:FieldName=FieldValue
.For example:
IngestActions=META:DRELanguage=englishUTF8
NOTE: If you add this setting to a
[TaskName]
section, it applies only to the connector task defined in that section. If you add the setting to the[Ingestion]
section, it applies to all connector tasks. -
Save the configuration file.
Alternatively, you can use a Lua script to add a field in a Connector Framework Server (CFS) task. In a setup with a single CFS for multiple connectors, and documents in a single language, this method allows you to process all documents in one task, rather than setting up the ingest action for each connector.