Define Statistical Criteria

You must define criteria for each of the statistics that you want to measure.

To configure statistics

  1. Open the Statistics Server configuration file in a text editor.
  2. In the [Statistics] section, list the statistics that you want Statistics Server to process. For example:

    [Statistics]
    0=count_queries
    1=topn_zerohits
    2=count_corrections_month
    3=topn_suggestions_day
  3. Create a section for each statistic, using the name defined in the previous step. 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]
    Operation=count
    Field=queryinfo/query
    Period=3600
    IDOLName=myIDOL
  4. Save the configuration file.