DwSearchResultWeightCount
Version: - doubleSummary
Returns the relevance of the current result item expressed in count.
Settings
The value is generated automatically.
Examples
Outputting the template tag
@GetDouble("DwSearchResultWeightCount")
Check if tag has a value
@if(!double.IsNullOrWhiteSpace(GetDouble("DwSearchResultWeightCount"))) {
@* Tag has value, so let's do something useful here. *@
}
Assign tag to a value for later use
@{
double storedTag = GetDouble("DwSearchResultWeightCount");
}
Outputting the template tag
<!--@DwSearchResultWeightCount-->
Check if double has a value
<!--@If Defined(@DwSearchResultWeightCount)-->
Let's output this tag here: <strong><!--@DwSearchResultWeightCount--></strong>
<!--@EndIf(@DwSearchResultWeightCount)-->