Release 1.3 - ...
<weights> element
The weights element contains several attributes and (optional) one or more field child-elements, which can be used to adjust the ranking of the search results.
Example
XML |
Copy Code
|
<weights default="1" agefactor="0.05" seopriority="200"
contenttypeweight="200" popularityweight="300" />
|
Attributes
Attribute name |
Required |
Description |
default |
Yes |
The default weight value/factor which must be used as default. |
agefactor |
No |
The multiplier which must be used on the "age in days" ranking factor. |
seopriority |
No |
The seopriority ranking (relative) weight to apply. The specified value is multiplied with the seopriority-value of the item(s) itself (which defaults to 0.5) and then added to the rank value. |
contenttypeweight |
No |
The contenttype ranking (relative) weight to apply. The specified value is multiplied with the contenttype-specific weight factor as defined within the TsContentTypeWeights table and is then added to the rank value. |
popularityweight |
No |
The popularity ranking (relative) weight to apply. With this weight factor you can "push up" popular items within the ranking, because it takes the number of visits of each item into account (using a logarithmic scale). |
Parent element
Element name |
Description |
<searchbase> |
Defines the configuration for a searchbase. |
Child elements
Element name |
Description |
<field> |
Field element is used to define weights for specific fields. |