Open topic with navigation

# Documents that Contain Field Data that can Identify Language

Use the following procedure to set up languages if all the documents that you want to index into IDOL Server contain a field that contains data that you can use to identify the language type.

To configure IDOL Server to identify languages from field data

1. Use the `[FieldProcessing]` section of the IDOL Server configuration file to define each language property that you want IDOL Server to be able to detect.

   For example:

       [FieldProcessing]
       0=DetectArabic
       1=DetectEnglish
       2=DetectChSimplified
       3=DetectChTraditional
       4=DetectFrench

2. Define a section with the name of the respective language type for each of the languages that you defined in the `[FieldProcessing]` section. In this section, specify the fields that IDOL Server must look for and the values that those fields must have to recognize the document as a particular language type.

   For example:

       [DetectArabic]
       Property=SetArabicProperty
       PropertyFieldCSVs=*/DRELANGUAGETYPE,*/LANG
       PropertyMatch=arabic

       [DetectEnglish]
       Property=SetEnglishProperty
       PropertyFieldCSVs=*/DRELANGUAGETYPE,*/LANG
       PropertyMatch=*eng*,uk,*british

       [DetectChSimplified]
       Property=SetChSimplifiedProperty
       PropertyFieldCSVs=*/DRELANGUAGETYPE,*/LANG
       PropertyMatch=*ChSimp*,ChineseSimp*

       [DetectChTraditonal]
       Property=SetChTraditionalProperty
       PropertyFieldCSVs=*/DRELANGUAGETYPE,*/LANG
       PropertyMatch=*ChTrad*,ChineseTrad*

       [DetectFrench]
       Property=SetFrenchProperty
       PropertyFieldCSVs=*/DRELANGUAGETYPE, */DRELANGAGETYPE,*/LANG
       PropertyMatch=*fre*,fran*

3. Define a section with the same value as the respective property for each `Property` that you defined in the `[FieldProcessing]` subsections. In this section, you can then specify the language type (which you must also list in the `[LanguageTypes]` section where you define how you want IDOL Server to handle the individual languages).

   For example:

       [SetArabicProperty]
       LanguageType=Arabic
       HiddenType=True

       [SetEnglishProperty]
       LanguageType=English
       HiddenType=True

       [SetChSimplifiedProperty]
       LanguageType=ChSimplified
       HiddenType=True

       [SetChTraditionalProperty]
       LanguageType=ChTraditional
       HiddenType=True

       [SetFrenchProperty]
       LanguageType=French
       HiddenType=True

4. Save the configuration file and start IDOL Server.

5. You can now index documents into IDOL Server.

Related Topics

- Index Data

© 2016 Hewlett Packard Enterprise Development LP | Send documentation feedback to HPE Close We welcome your comments! To open the configured email client on this computer, open an email window. Otherwise, copy the information below to a web mail client, and send this email to AutonomyTPFeedback@hpe.com. Product: Topic Title: Help Topic: Feedback:

_HP_HTML5_bannerTitle.htm