Category Component 26.1
Category Component Help

# Text Queries

When you send a query action to the Content component, 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, Content 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, Content converts all query results to `EASTERNEUROPEAN_ISO`.

Related Topics

- Supported Languages and Common Encodings

Copyright 2025 Open Text
Version 26.1 | Last updated January 2026

Send documentation feedback

Close

Send documentation feedback

To send feedback using your default email client, open an email window.

Otherwise, send your feedback and the information below to MFI-swpdl.idoldocsfeedback@opentext.com.

We appreciate your feedback!

Product: Knowledge Discovery Category Component 26.1

Topic Title: Text Queries