After you configure the Statistics Server information, you must define criteria for each of the statistics that you want to measure.
Open the QMS configuration file in a text editor.
Find the [Statistics]
section, and list the statistics that you want Statistics Server to process.
For example:
[Statistics] 0=count_queries_hour 1=topn_zerohits_week 2=count_corrections_month 3=topn_suggestions_day
For each statistic that you are using, create a section using the name of the statistic.
In this section, specify the criteria that define the statistic. For details on the configuration parameters that you can use, see Statistical Criteria Parameters.
You must add the Field
, Operation
, and Period
parameters to each section. If you are recording statistics from multiple IDOL components, you must also set the IDOLName
parameter.
For example:
[count_queries_hour] Operation=count Field=queryinfo/terms/term Period=3600 IDOLName=myIDOL
Save the configuration file.
|