Open topic with navigation

# AutoDetectLanguagesAtIndex

Set `AutoDetectLanguagesAtIndex` to `True` to automatically detect document languages and encodings during indexing.

For accurate language detection, documents must include several sentences. You can change the amount of text that HPE Content Component analyzes to detect languages by changing the MaxLanguageDetectTerms configuration parameter.

Use DiscardUnconfiguredLanguagesAtIndex and DiscardUnknownLanguagesAtIndex to configure how HPE Content Component handles documents when it cannot detect the language type because the language type is not defined in the configuration file, or is not recognized.

By default, if HPE Content Component detects a language type that is not configured, it indexes to the equivalent `General` language type for the 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.

Unknown languages are also indexed to the `General` language type for the encoding, if it exists. If the encoding is unknown, the document is indexed to the default language type.

Note: You can use `AutoDetectLanguagesAtIndex` only if it is included in your HPE Content Component license.

Type: | Boolean
Default: | False
Required: | No
Configuration Section: | Server
Example: | `AutoDetectLanguagesAtIndex=True`
See Also: | DiscardUnconfiguredLanguagesAtIndex DiscardUnknownLanguagesAtIndex LangDetectType LangDetectUTF8 MaxLanguageDetectTerms

© 2016 Hewlett Packard Enterprise Development LP | Send documentation feedback to HPE Close Send Documentation Feedback 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. We appreciate your feedback! Product: Topic Title: Help Topic: Feedback:

_HP_HTML5_bannerTitle.htm