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.
-
Open the IDOL Content component configuration file in a text editor.
-
Add the appropriate encodings to the
[General]
section. -
Save and close the configuration file.
-
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
.