Open topic with navigation
You can combine multiple languages in one IDOL Content component. Use the outline below to determine what you have to do.
Before you index your documents, ensure that the IDOL Content component configuration file contains the languages that you want to use. See Determine the Languages that are Enabled.
If the configuration file does not contain all the languages that you want to use, add the missing languages. Set up a field process that enables Content to associate these languages with documents. See Define Language Types and Associate Language Types with Documents.
Check the documents that you want to index into Content:
Content can read the language type (that is, language and encoding) from a document field. If some of your documents do not contain these fields, Content applies the default language type. See Add LanguageType Fields to Documents and Define a Default Language Type.
If you do not want to associate the default language type with your documents, enable automatic language detection. See Enable Automatic Language Detection.
Alternatively, you can manually index your documents into Content, adding the language type of the documents to each index action. In this case, you must index documents in batches, where each batch must have the same language type. See Index Data.
Content automatically processes documents that contain fields that specify the language type. You must add any missing languages to the IDOL Content component configuration file.
When you query Content, by default Content returns only documents that have the same language as the language type (that is, language and encoding) of the query. You can change this behavior in the following ways:
To use a language type in the query text that is not the default language type, add the
LanguageType parameter to your query.
To return results in a specific encoding, add the
OutputEncoding parameter to your query. You can return only encodings that are compatible with the query language.
To return documents in multiple languages, add the
AnyLanguage parameter to your query.
To return documents in a specific language, add the
MatchLanguage parameters to your query.