2018-08-28 08:34:23 +02:00
<!DOCTYPE html>
< html lang = "en" >
2007-07-25 16:04:36 +02:00
< head >
2012-12-03 17:01:19 +01:00
< title > YaCy '#[clientname]#': RWI Ranking Configuration< / title >
2007-07-25 16:04:36 +02:00
#%env/templates/metas.template%#
2016-11-22 09:40:22 +01:00
2018-08-28 08:34:23 +02:00
< script >
/**
* Apply the new selected value to the bound slider.
*/
function handleSelectChange(event) {
var selectElem = event.target || event.srcElement;
if(selectElem != null & & selectElem.id != null & & selectElem.id.length > 7) {
var rangeElem = document.getElementById("slider_" + selectElem.id.substring(7));
if(rangeElem != null) {
rangeElem.value = selectElem.value;
}
}
}
/**
* Apply the new slider value to the bound select.
*/
function handleSliderChange(event) {
var rangeElem = event.target || event.srcElement;
if(rangeElem != null & & rangeElem.id != null & & rangeElem.id.length > 7) {
var selectElem = document.getElementById("select_" + rangeElem.id.substring(7));
if(selectElem != null) {
selectElem.value = rangeElem.value;
}
}
}
2012-01-09 22:43:55 +01:00
< / script >
2007-07-25 16:04:36 +02:00
< / head >
2012-12-03 00:01:41 +01:00
< body id = "RankingRWI_p" >
2007-07-25 16:04:36 +02:00
#%env/templates/header.template%#
2014-03-31 03:18:38 +02:00
#%env/templates/submenuRanking.template%#
2012-12-03 17:01:19 +01:00
< h2 > RWI Ranking Configuration< / h2 >
2010-07-26 12:08:21 +02:00
< p > The document ranking influences the order of the search result entities.
A ranking is computed using a number of attributes from the documents that match with the search word.
2014-03-02 23:46:24 +01:00
The attributes are first normalized over all search results and then the normalized attribute is multiplied with the ranking coefficient computed from this list.
2010-07-26 12:08:21 +02:00
The ranking coefficient grows exponentially with the ranking levels given in the following table. If you increase a single value by one, then the strength of the parameter doubles.
< / p >
2012-12-03 00:01:41 +01:00
< form class = "dsearch" action = "RankingRWI_p.html" method = "post" enctype = "multipart/form-data" >
2007-07-25 16:04:36 +02:00
< fieldset >
< legend > Pre-Ranking< / legend >
< dl > #{attrPre}#
2018-08-28 08:34:23 +02:00
< dt style = "width:260px" > < label id = "label_#[nameorg]#" for = "select_#[nameorg]#" > #[name]#< / label > < span class = "info" style = "float:right" > < img src = "env/grafics/i16.gif" width = "16" height = "16" alt = "info" / > < span id = "info_#[nameorg]#" > #[info]#< / span > < / span > < / dt >
2012-09-28 22:45:16 +02:00
< dd style = "width:360px; float:left; display:inline;" id = "#[nameorg]#" >
2018-08-28 08:34:23 +02:00
< select id = "select_#[nameorg]#" aria-describedby = "info_#[nameorg]#" style = "float:left; display:inline;" name = "#[nameorg]#" onchange = "handleSelectChange(event)" > #{select}#
2012-01-09 22:43:55 +01:00
< option value = "#[value]#" # ( checked ) # :: selected = "selected" # ( / checked ) # > #[value]#< / option > #{/select}#
< / select >
2018-08-28 08:34:23 +02:00
< div style = "width:280px; margin-left: 10px; float:left; display: inline;" >
< input id = "slider_#[nameorg]#" aria-labelledby = "label_#[nameorg]#" aria-describedby = "info_#[nameorg]#" type = "range" min = "0" max = "15" value = "#[value]#" onchange = "handleSliderChange(event)" / >
< / div >
2007-07-25 16:04:36 +02:00
< / dd > #{/attrPre}#
< / dl >
< / fieldset >
2010-07-26 12:08:21 +02:00
< p > There are two ranking stages: first all results are ranked using the pre-ranking and from the resulting list the documents are ranked again with a post-ranking.
The two stages are separated because they need statistical information from the result of the pre-ranking.
< / p >
2007-07-25 16:04:36 +02:00
< fieldset >
< legend > Post-Ranking< / legend >
< dl > #{attrPost}#
2018-08-28 08:34:23 +02:00
< dt style = "width:260px" > < label id = "label_#[nameorg]#" for = "select_#[nameorg]#" > #[name]#< / label > < span class = "info" style = "float:right" > < img src = "env/grafics/i16.gif" width = "16" height = "16" alt = "info" / > < span id = "info_#[nameorg]#" > #[info]#< / span > < / span > < / dt >
2012-01-09 22:43:55 +01:00
< dd style = "width:360px" id = "#[nameorg]#" >
2018-08-28 08:34:23 +02:00
< select id = "select_#[nameorg]#" aria-describedby = "info_#[nameorg]#" style = "float:left; display:inline;" name = "#[nameorg]#" onchange = "handleSelectChange(event)" > #{select}#
2012-01-09 22:43:55 +01:00
< option value = "#[value]#" # ( checked ) # :: selected = "selected" # ( / checked ) # > #[value]#< / option > #{/select}#
< / select >
2018-08-28 08:34:23 +02:00
< div style = "width:280px; margin-left: 10px; float:left; display: inline;" >
< input id = "slider_#[nameorg]#" aria-labelledby = "label_#[nameorg]#" aria-describedby = "info_#[nameorg]#" type = "range" min = "0" max = "15" value = "#[value]#" onchange = "handleSliderChange(event)" / >
< / div >
2007-07-25 16:04:36 +02:00
< / dd > #{/attrPost}#
< / dl >
< / fieldset >
< fieldset >
2015-12-25 01:08:51 +01:00
< input type = "submit" name = "EnterRanking" class = "btn btn-primary" value = "Set as Default Ranking" / >
< input type = "submit" name = "ResetRanking" class = "btn btn-primary" value = "Re-Set to Built-In Ranking" / >
2007-07-25 16:04:36 +02:00
< / fieldset >
< / form >
#%env/templates/footer.template%#
< / body >
< / html >