Configure the Content component to Generate Query Summaries
Use the following procedure to enable query summary generation.
-
Open the Content component configuration file in a text editor.
-
In the
[Server]section, set the following parameters:QuerySummaryLengthSet this parameter to the number of query summaries to return when you perform an action that includes the
QuerySummaryparameter.For example, if you set
QuerySummaryLengthto5, 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
10QuerySummaryAdvancedSet this parameter to
Trueto use an advanced algorithm to generate the specifiedQuerySummaryLengthnumber 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
Falseif you want query summaries without first clustering the results.The default value is
False.QuerySummaryTermsIf you set
QuerySummaryAdvancedtoTrue,QuerySummaryTermsallows 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 setQuerySummaryTermsto0, Content uses the specified value ofTermsPerDoc, which in turn defaults to 50.The default value is
0.TIP: You can also set these parameters in the
Queryaction so that you can test different values without reconfiguring the Content component, or tuneQuerySummaryfunctionality for different uses.