Category Component 25.2
Category Component Help

# Perform an Action with the QuerySummary Parameter

To perform an action with the `QuerySummary` parameter, you can add the following parameters to your `Query`, `Suggest`, or `SuggestOnText` action:

``QuerySummary`=True` | Content identifies the most relevant terms and phrases that the query result documents contain, and returns them in an `<autn:querysummary>` field. You can use each term or phrase in this field as an alternative query suggestion.
``Combine`=Simple` | If multiple sections in a result document match the query, Content displays only the section with the highest conceptual similarity (rather than returning different sections of the same result document). This option increases the relevance of the final phrases.
``Print`=NoResults` | The purpose of the query is to generate query summaries but not return results at the same time. Printing the results slows Content component performance.
``MaxResults`=N` | Enter the number of results from which you want to generate the query summaries. Content can produce good query summaries only if it has enough result documents available from which it can identify sufficiently different phrases. However, setting `MaxResults` too high might slow the query performance (a sensible value might be 50–500).

For example:

    action=Query&Text=Date&QuerySummary=True&Combine=Simple&Print=NoResults&MaxResults=100

In this example, if you have set `QuerySummaryLength` to `5` in the configuration file, Content finds the top five phrases or terms in results that match the specified `Text` value, and returns them in a comma-separated list in the `<autn:querysummary>` field:

    <autn:querysummary>Date conversion, rendezvous, stuffed dates, appointment, go steady</autn:querysummary>

It can use each of these terms and phrases as an alternative query.

Copyright 2025 Open Text
Version 25.2 | Last updated April 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 Category Component 25.2

Topic Title: Perform an Action with the QuerySummary Parameter