Open topic with navigation

# Configure IDOL Server to Generate Query Summaries

Use the following procedure to enable query summary generation.

To configure HPE IDOL Server to generate query summaries

1. Open the HPE IDOL Server 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`, HPE IDOL Server identifies the five top phrases or terms that the result documents contain, and returns them in a comma-separated list. If HPE IDOL Server 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`, HPE IDOL Server 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 HPE IDOL Server, or tune `QuerySummary` functionality for different uses.

© 2016 Hewlett Packard Enterprise Development LP | Send documentation feedback to HPE Close Send Documentation Feedback To open the configured email client on this computer, open an email window. Otherwise, copy the information below to a web mail client, and send this email to AutonomyTPFeedback@hpe.com. We appreciate your feedback! Product: Topic Title: Help Topic: Feedback:

_HP_HTML5_bannerTitle.htm