IDOL Content Component 12.13

# Define a General Language

You can specify a General language, which the IDOL Content component uses for documents with an unconfigured language, but whose encoding is identified. Content categorizes documents as the General language when:

- Content cannot read the language type nor the encoding of a document from a specified field.

- automatic language detection is enabled.

If Content detects an unconfigured language type, it indexes to the equivalent `General` language type for that encoding, if it exists. It also logs a warning message in the index log so that you can add an appropriate language type to the configuration file. Content also indexes unknown languages to the `General` language type for the encoding, if it exists. If the encoding is unknown, Content indexes the document to the default language.

If you set `DiscardUnconfiguredLanguagesAtIndex` to `True`, Content does not index documents with unconfigured languages, even if a `General` language exists for that encoding.

To specify a General language category

1. Open the IDOL Content component configuration file in a text editor.

2. Add the appropriate encodings to the `[General]` section.

3. Save and close the configuration file.

4. Restart the IDOL Content component for your changes to take effect.

If the document has no identified language or encoding, Content indexes it to the `DefaultLanguageType`.

Related Topics

- Define Language Types

- Define a Default Language Type

© Copyright 2022 Micro Focus or one of its affiliates
Version 12.13 | Last updated October 2022

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 swpdl.idoldocsfeedback@microfocus.com.

We appreciate your feedback!

Product: IDOL IDOL Content Component 12.13

Topic Title: Define a General Language