View Component 25.1
View Component Help

# Add LanguageType Fields to Documents

You can configure any of the Knowledge Discovery connectors to add fields to documents from which the Content component can read the language type of the documents.

To add a language type field to documents in the connector

1. Open the configuration file of your connector in a text editor.

2. In the `[TaskName]` or `[Ingestion]` section, set the `IngestActions` parameter to `META: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.

3. 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.

Copyright 2024 Open Text
Version 25.1 | Last updated January 2025

Send documentation feedback

Close

Send documentation feedback

To send feedback using your default email client, open an email window.

Otherwise, send your feedback and the information below to MFI-swpdl.idoldocsfeedback@opentext.com.

We appreciate your feedback!

Product: Knowledge Discovery View Component 25.1

Topic Title: Add LanguageType Fields to Documents