Enable Automatic Query Guidance
Use the following procedure to enable automatic query guidance.
-
Open the Content component configuration file in a text editor.
-
In the
[Server]section, configure the following parameters:QuerySummaryAdvancedSet this parameter to Trueto enable the advanced algorithm that Content requires to provide query guidance. This algorithm clusters the best terms and phrases in the query results, and uses the phrases of the top clusters as query summaries. The default value isFalse.QuerySummaryLengthSet this parameter to the number of cluster phrases to generate. To provide good query guidance phrases, enter a number that is large enough to allow Content to generate high-quality clusters. However, setting QuerySummaryLengthtoo high might slow the query performance (a sensible maximum value might be 25–100). The default value is10.QuerySummaryTermsSet this parameter to the number of terms that the algorithm for QuerySummaryLengthcan use to generate the query summaries (a sensible value might be 50–500). The default value is 0. In this case, Content uses the specifiedTermsPerDocnumber, which in turn defaults to 50.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.