Proxy Component 25.4
Proxy Component Help

# Specify the Language Type of a Query

When you send a query to the Content component, by default it reads the query language type as the `DefaultLanguageType` defined in the Content component configuration file.

You must correctly set the language type of any query text so that Content can handle the query text correctly (for example, stemming correctly). If you want to send a query that does not use the default language type, you must add the `LanguageType` parameter to your query action. This parameter specifies that the query uses the language and encoding set in the Content component configuration file for the specified `LanguageType`.

For example:

The following query uses the language and encoding specified for the `DefaultLanguageType`, so you can send it to Content without adding the `LanguageType` parameter:

    http://12.3.4.56:4000/action=Query&Text=The Bayes theory of probability

The following query uses the language and encoding specified for the `German` language type:

    http://12.3.4.56:4000/action=Query&Text=Einsteins Relativitätstheorie&LanguageType=German

Related Topics

- Define a Default Language Type

Copyright 2025 Open Text
Version 25.4 | Last updated October 2025

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 Proxy Component 25.4

Topic Title: Specify the Language Type of a Query