meta.components.[component].weight

Background

This setting enables an administrator to set the relative importance of the different data sources that make up a search package. The importance of a data source is set by defining a value between 0.0 (less important) and 1.0 (more important) to each of the data sources. A data source has a 0.5 weight assigned by default.

This weighting is then combined with the cool.21 ranking setting which provides the overall influence of the relative data source importance within the wider ranking algorithm.

that when this value is modified via the value API, a search package update is automatically triggered to cause the search package’s index to be updated to reflect the changes.

If a change is made via the value-raw API, the configuration editor’s edit raw data screen the search package update must be manually triggered.

Setting the key

Set this configuration key in the search package or data source configuration.

Use the configuration key editor to add or edit the meta.components.[component].weight key, and set the value. This can be set to any valid Double value.

Default value

meta.components.component.weight=0.5

By default all components have a weight on 0.5.

Examples

To increase the weighting for a data source with the id fbu~ds-courses.

meta.components.fbu~ds-courses.weight=0.9

See also