Appendixes > Record Statistics with Statistics Server > Configuration > Define Statistical Criteria

Define Statistical Criteria
After the Statistics server information is configured, you must define criteria for each of the statistics you want to measure.
To configure statistics
1.
2.
Find the [Statistics] section and list the statistics 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
3.
In this section, specify the criteria that define the statistic. For details on the configuration parameters you can use, see Statistical Criteria Parameters.
4.
You must add the Field, Operation, and Period parameters to each section. If you are recording statistics from multiple IDOL servers, you must also set the IDOLName parameter.
For example:
[count_queries_hour]
operation=count
field=queryinfo/terms/term
period=3600
IDOLName=myIDOL
5.