Configure the Trending Visualizer

The Trending visualization displays a chart of document rate against time for the values in a particular field, to show how particular topics change in popularity. The document rate is the number of documents added in the specified time unit (second, minute, hour, day, or year, as labeled on the chart). The appropriate time unit is chosen according to the document rates in your data.

You can configure the date field to use to specify the date and time for your documents, and you can set the number of field values and date values to display on the chart.

Configure the Date Field

The Trending visualizer uses the value of the specified date field as the document date when it creates the chart. By default, Find uses the AUTN_DATE field as the date field, but you can modify this field in the config.json configuration file.

To configure the date field to use for the Trending visualizer

  1. Go to the Find home directory.

  2. Open config.json in a text editor.

  3. Find the trending section, or create one if it does not exist.

  4. Set the dateField property to the name of the field to use. You can use any date field, as long as it was configured as a date field in your IDOL Content component before you indexed the data.

    For example:

    "trending" : {
    "dateField" : "DOCUMENTDATE", "numberOfValues": 10, "defaultNumberOfBuckets": 20
    }
  5. Save the file, and restart Find to apply your configuration changes.

Configure the Number of Field Values to Display

By default, the Trending visualizer displays the trends for ten values in the selected parametric field. You can modify this value in the config.json configuration file.

To configure the number of values to display in the Trending visualizer

  1. Go to the Find home directory.

  2. Open config.json in a text editor.

  3. Find the trending section, or create one if it does not exist.

  4. Set the numberOfValues property to the number of values to include in the visualization.

    For example:

    "trending" : {
    "dateField" : "DOCUMENTDATE", "numberOfValues": 5, "defaultNumberOfBuckets": 20
    }
    NOTE:

    In the visualization, each value has a line with a different color. There are ten possible colors, so if you set numberOfValues higher than ten, some values share a color.

  5. Save the file, and restart Find to apply your configuration changes.

Configure the Number of Date Ranges to Use

The Trending visualizer displays document rate against time. It selects date values from your documents and organizes the available dates into the specified number of ranges.

By default, the visualizer divides the total range of dates into 20 equal-sized buckets. Users can modify this number by using a slider, which by default allows them to change the number of buckets between three and 100.

You can modify the default number of buckets to display in the config.json configuration file, and the maximum and minimum values to add on the slider.

To configure the number of values to display in the Trending visualizer

  1. Go to the Find home directory.

  2. Open config.json in a text editor.

  3. Find the trending section, or create one if it does not exist.

  4. Set the defaultNumberOfBuckets property to the number of date ranges to include in the visualization. Set minNumberOfBuckets and maxNumberOfBuckets to the minimum and maximum values to use in the UI slider, respectively.

    For example:

    "trending" : {
    "dateField" : "DOCUMENTDATE", "numberOfValues": 5, "defaultNumberOfBuckets": 30, "minNumberOfBuckets": 5, "maxNumberOfBuckets": 40
    }
  5. Save the file, and restart Find to apply your configuration changes.


_HP_HTML5_bannerTitle.htm