SearchRankingOptions
|
Type |
Interface |
|
Import path |
|
The ranking parameter of the search widget item. Used to configure search result ranking.
Signature
Properties
|
Name |
Type |
Description |
Value |
|---|---|---|---|
|
|
|
Required. The name of the attribute to use for ranking. The attribute must be enabled for search ranking. To check that the attribute is enabled for search ranking in Sitecore Search, click Administration > Domain Settings > Attributes > the attribute of your choice > Use For Features > Search Ranking. |
|
|
|
|
Optional. Weight to apply to this ranking attribute. We recommend that you pass a low value to minimize the impact of a single component on the overall scoring system. If you rank by a timestamp attribute such as
For example, you send a request on Friday, May 26 at 1:30 p.m. with a ranking Default: Minimum: Maximum: |
|