Open topic with navigation

# Text Queries

When you send a query action to HPE IDOL Server, by default it returns results that use the same language and encoding as the query text. This language type can be:

- the language and encoding specified in the `LanguageType` parameter sent with the query.

- the language type specified in the `DefaultLanguageType` configuration parameter if the query does not include a `LanguageType` parameter.

To return query results in a specific encoding, add the `OutputEncoding` parameter to your query action. This parameter converts the results of a query to any type of encoding that is compatible with the query language. If you specify an encoding that is not compatible with the query language, HPE IDOL Server returns an appropriate message.

You can specify a default value for the `OutputEncoding` parameter in the `DefaultEncoding` configuration parameter.

For example:

    http://12.3.4.56:4000/action=Query&Text=Neurologia i Neurochirurgia&LanguageType=PolishEASTERNEUROPEAN&OutputEncoding=EASTERNEUROPEAN_ISO

In this example, HPE IDOL Server converts all query results to `EASTERNEUROPEAN_ISO`.

Related Topics

- Supported Languages and Common Encodings

© 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