# Configure the IDOL Content component to Generate Query Summaries

Use the following procedure to enable query summary generation.

To configure the IDOL Content componentto generate query summaries

1. Open the IDOL Content component configuration file in a text editor.

2. In the `[Server]` section, set the following parameters:

   `QuerySummaryLength` | Set this parameter to the number of query summaries to return when you perform an action that includes the `QuerySummary` parameter. For example, if you set `QuerySummaryLength` to `5`, Content identifies the five top phrases or terms that the result documents contain, and returns them in a comma-separated list. If Content cannot find your requested number of relevant phrases or terms, it returns fewer. The default value is `10`
   `QuerySummaryAdvanced` | Set this parameter to `True` to use an advanced algorithm to generate the specified `QuerySummaryLength` number of query summaries. This algorithm clusters the results and uses the phrases of the top clusters as query summaries. This process produces better query summaries, but is more system intensive. Set this parameter to `False` if you want query summaries without first clustering the results. The default value is `False`.
   `QuerySummaryTerms` | If you set `QuerySummaryAdvanced` to `True`, `QuerySummaryTerms` allows you to specify the number of terms that the algorithm uses to generate the query summaries (a sensible value might be 50–500). If you set `QuerySummaryTerms` to `0`, Content uses the specified value of `TermsPerDoc`, which in turn defaults to 50. The default value is `0`.

   TIP: You can also set these parameters in the `Query` action so that you can test different values without reconfiguring the IDOL Content component, or tune `QuerySummary` functionality for different uses.

_FT_HTML5_bannerTitle.htm