2007-07-25 16:04:36 +02:00
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd">
< html xmlns = "http://www.w3.org/1999/xhtml" >
< 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
<!-- Dependencies for the Slider UI component -->
< link media = "screen" type = "text/css" href = "jquery/themes/start/jquery-ui-1.8.16.custom.css" rel = "stylesheet" / >
< script src = "jquery/js/jquery-1.7.min.js" type = "text/javascript" > < / script >
< script src = "jquery/js/jquery-ui-1.8.16.custom.min.js" type = "text/javascript" > < / script >
2012-01-09 22:43:55 +01:00
< script >
$(function() {
$("select").each(function(){
var name = $(this).attr("name");
2016-11-22 09:40:22 +01:00
$("< div style = 'width:280px; margin-left: 10px; float:left; display: inline;' name = '"+name+"' id = 'slider_"+name+"' > < / div > ").insertAfter($(this)).slider({
2012-01-09 22:43:55 +01:00
min: 0,
max: 15,
range: "min",
value: $(this).val(),
slide: function(event, ui) {
select = $(ui.handle).parents("dd").children("select");
select.val(ui.value);
}
});
$(this).change(function(event) {
$(event.target).next().slider("value", this.selectedIndex);
});
});
});
< / 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}#
2014-02-10 21:40:42 +01:00
< dt style = "width:260px" > < label for = "#[nameorg]#" > #[name]#< / label > < span class = "info" style = "float:right" > < img src = "env/grafics/i16.gif" width = "16" height = "16" alt = "info" / > < span > #[info]#< / span > < / span > < / dt >
2012-09-28 22:45:16 +02:00
< dd style = "width:360px; float:left; display:inline;" id = "#[nameorg]#" >
< select style = "float:left; display:inline;" name = "#[nameorg]#" > #{select}#
2012-01-09 22:43:55 +01:00
< option value = "#[value]#" # ( checked ) # :: selected = "selected" # ( / checked ) # > #[value]#< / option > #{/select}#
< / select >
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}#
2014-02-10 21:40:42 +01:00
< dt style = "width:260px" > < label for = "#[nameorg]#" > #[name]#< / label > < span class = "info" style = "float:right" > < img src = "env/grafics/i16.gif" width = "16" height = "16" alt = "info" / > < span > #[info]#< / span > < / span > < / dt >
2012-01-09 22:43:55 +01:00
< dd style = "width:360px" id = "#[nameorg]#" >
< select name = "#[nameorg]#" > #{select}#
< option value = "#[value]#" # ( checked ) # :: selected = "selected" # ( / checked ) # > #[value]#< / option > #{/select}#
< / select >
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 >