IDOL Server 12.13

# Return Documents in Multiple Languages

When you send a query action to the IDOL 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 documents in any language for your query rather than in the query language, set the `AnyLanguage` parameter to `True` to your query.

When Content receives the query, it applies the stemming algorithm and stop word list that is appropriate for the query language type. It returns only documents that contain words which match the stopped and stemmed terms in the query (that is, the words in result documents must stem to the same root as the words in the query text).

For example:

    http://12.3.4.56:4000/action=Query&Text=Innovative internet marketing solutions in Baghdad&AnyLanguage=True

In this example, Content returns documents in multiple languages that contain terms that match terms in the specified `Text`.

The query returns documents in multiple languages only if they contain terms that match terms in the query (for example, query text that contains the term Baghdad might return documents in English, French, German, and so on).

© Copyright 2022 Micro Focus or one of its affiliates
Version 12.13 | Last updated October 2022

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 swpdl.idoldocsfeedback@microfocus.com.

We appreciate your feedback!

Product: IDOL Server 12.13

Topic Title: Return Documents in Multiple Languages