Results > Customize Results > Generate Query Summaries (Dynamic Thesaurus) > Execute an Action with the QuerySummary Parameter

Execute an Action with the QuerySummary Parameter
To execute an action with the QuerySummary parameter, you can add these parameters to your Query, Suggest or SuggestOnText action:
IDOL server identifies the most relevant terms and phrases that the query result documents contain, and returns them in an <autn:querysummary> field. It can use each term or phrase in this field as an alternative query suggestion.
If multiple sections in a result document match the query, IDOL server 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.
The purpose of the query is to generate query summaries but not return results at the same time. Printing the results slows IDOL server performance.
Enter the number of results from which you want to generate the query summaries. IDOL server 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 may slow the query performance (a sensible value may be 50–500).
For example:
In this example, if QuerySummaryLength is set to 5 in the configuration file, IDOL server 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.