IDOL Community Component 12.13

# Configure the IDOL Content component to Generate Query Summaries

Use the following procedure to enable query summary generation.

To configure the IDOL Content component to 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.

© 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 IDOL Community Component 12.13

Topic Title: Configure the IDOL Content component to Generate Query Summaries