Use the following procedure to set up languages if all the documents that you want to index into Content contain a field that specifies the language type.
Set up a process for looking up the language of a document in the [FieldProcessing]
section.
For example:
[FieldProcessing] 0=LookForLanguage
Create a section for the process. Create a Property
for the process and identify the field that you want the process to apply to.
For example:
[LookForLanguage] Property=SetLanguage PropertyFieldCSVs=*/DRELANGUAGE,*/myLanguageType
Create a section for this property. Set the LanguageType
parameter to True
to map the values of the */DRELANGUAGE
fields to the equivalent language type in the [LanguageTypes]
section.
For example:
[SetLanguage] LanguageType=True [LanguageTypes] 0=russian [russian] Encodings=CYRILLIC:russianCYRILLIC,CYRILLIC_ISO:russianCYRILLIC_ISO,CYRILLIC_KOI8:russianCYRILLIC_KOI8,UTF8:russianUTF8 Stoplist=russian.dat IndexNumbers=1
Save and close the configuration file.
Restart the IDOL Content component for your changes to take effect.
You can now index documents into Content.